<div dir="ltr"><div><font face="monospace, monospace">Hi - </font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">SUMMARY:</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">When initially trying to compile UPO, I am getting compile errors (the following line, printed 3 times):</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">/home/scott/wrk/urweb/upo/ui.ur:125:40: (to 125:48) Invalid URL /style.css passed to 'bless'</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">It seems that there may either be a file missing, or a file in the wrong location.</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">DETAILS:</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">File sources and locations:</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">(1) I obtained UPO and bootstrap 3 from these locations:</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"><a href="https://github.com/achlipala/upo">https://github.com/achlipala/upo</a><br></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"><a href="http://hg.impredicative.com/bootstrap">http://hg.impredicative.com/bootstrap</a><br></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">(I'm not sure if I'm using hg correctly - as I am more familiar with github. On hg, I simply used the 'raw' command to download bootstrap3.ur and bootstrap3.urp.)</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">(2) On my machine, UPO is in /home/scott/wrk/urweb/upo, and bootstrap3 is here:</font></div><div><font face="monospace, monospace"><br></font></div><div><div><font face="monospace, monospace">scott@debian:/usr/local/lib/urweb/ur/bootstrap$ ls -l</font></div><div><font face="monospace, monospace">total 16</font></div><div><font face="monospace, monospace">-rw-r--r-- 1 root staff 11859 Jul 16 03:10 bootstrap3.ur</font></div><div><font face="monospace, monospace">-rw-r--r-- 1 root staff    73 Jul 16 09:26 bootstrap3.urp</font></div><div><font face="monospace, monospace">$ </font></div></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">Initial compile attempt:</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">Now, when I enter:</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">scott@debian:~/wrk/urweb/upo/examples$ urweb -dbms postgres -db "host=localhost port=5432 user=scott password='XXXXXX' dbname=jfac" jfac</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">the compiler says:</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">/home/scott/wrk/urweb/upo/ui.ur:125:40: (to 125:48) Invalid URL /style.css passed to 'bless'</font></div><div><font face="monospace, monospace">/home/scott/wrk/urweb/upo/ui.ur:125:40: (to 125:48) Invalid URL /style.css passed to 'bless'</font></div><div><font face="monospace, monospace">/home/scott/wrk/urweb/upo/ui.ur:125:40: (to 125:48) Invalid URL /style.css passed to 'bless'</font></div><div><font face="monospace, monospace">$ </font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">Examining the directory layout, I do see a file 'style.css' - but it is one directory "deeper", here:</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">/home/scott/wrk/urweb/upo/examples/style.css</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">Observations:</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">(1) The file 'style.css' which the compiler is looking for might not necessarily be the one at '/home/scott/wrk/urweb/upo/examples/style.css'.</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">Indications suggesting that the above pathname might *not* be the desired file include:</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">(a) The file /home/scott/wrk/urweb/upo/examples/style.css is rather short, it only contains:</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">body {</font></div><div><font face="monospace, monospace">    padding-top: 60px</font></div><div><font face="monospace, monospace">}</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">.MeetingGrid_meeting_default {</font></div><div><font face="monospace, monospace">    border-style: double;</font></div><div><font face="monospace, monospace">    cursor: move</font></div><div><font face="monospace, monospace">}</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">.MeetingGrid_meeting_selected {</font></div><div><font face="monospace, monospace">    border-style: double;</font></div><div><font face="monospace, monospace">    cursor: move;</font></div><div><font face="monospace, monospace">    background-color: green</font></div><div><font face="monospace, monospace">}</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">.MeetingGrid_meeting_conflict {</font></div><div><font face="monospace, monospace">    border-style: double;</font></div><div><font face="monospace, monospace">    cursor: move;</font></div><div><font face="monospace, monospace">    background-color: red</font></div><div><font face="monospace, monospace">}</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">(b) And after those lines, there is a a lot of layout involving *other* classes such as 'navbar', 'icon-bar', etc.</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">So I am hesitant to simply move or copy /home/scott/wrk/urweb/upo/examples/style.css - because it seems that the 'missing' file 'style.css' might be a more general one, relating to boostrap3, and not to this specific UPO example which I am attempting to compile (jfac).</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">(c) The string 'meeting' does not occur in the file /home/scott/wrk/urweb/upo/ui.ur where the compiler stumbled.</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">(2) Notwithstanding (1) above... as a test, did try copying 'style.css' (or changing the code referencing it), 3 different ways, as follows:</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">(a) cp ~/wrk/urweb/upo/examples/style.css ~/wrk/urweb/upo/style.css</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">But the compiler gave the same error messages in this case:</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">/home/scott/wrk/urweb/upo/ui.ur:125:40: (to 125:48) Invalid URL /style.css passed to 'bless'</font></div><div><font face="monospace, monospace">/home/scott/wrk/urweb/upo/ui.ur:125:40: (to 125:48) Invalid URL /style.css passed to 'bless'</font></div><div><font face="monospace, monospace">/home/scott/wrk/urweb/upo/ui.ur:125:40: (to 125:48) Invalid URL /style.css passed to 'bless'</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">(b) I then undid (2)(a) and tried changing line 125 in file ui.ur, to now read:</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">        <link rel="stylesheet" href="examples/style.css"/></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">However, the compiler again gave similar error messages:</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">/home/scott/wrk/urweb/upo/ui.ur:125:40: (to 125:56) Invalid URL examples/style.css passed to 'bless'</font></div><div><font face="monospace, monospace">/home/scott/wrk/urweb/upo/ui.ur:125:40: (to 125:56) Invalid URL examples/style.css passed to 'bless'</font></div><div><font face="monospace, monospace">/home/scott/wrk/urweb/upo/ui.ur:125:40: (to 125:56) Invalid URL examples/style.css passed to 'bless'</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">(c) Finally, on line 125 in ui.ur, I tried adding a '/' at the beginning</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">        <link rel="stylesheet" href="examples/style.css"/></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">but the compiler still gave similar error messages:</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">/home/scott/wrk/urweb/upo/ui.ur:125:40: (to 125:57) Invalid URL /examples/style.css passed to 'bless'</font></div><div><font face="monospace, monospace">/home/scott/wrk/urweb/upo/ui.ur:125:40: (to 125:57) Invalid URL /examples/style.css passed to 'bless'</font></div><div><font face="monospace, monospace">/home/scott/wrk/urweb/upo/ui.ur:125:40: (to 125:57) Invalid URL /examples/style.css passed to 'bless'</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">Thanks for any help!</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">- Scott</font></div></div>