Artifact bec94342684c689a90f41f6b56ee4d29c76e8934
Wiki page
[Windows XP]
by
anonymous on
2008-07-14 21:13:52.
D 2008-07-14T21:13:52
L Windows\sXP
P 17f2df18e4a31533d4f7272bfcaa937c0858bfca
U anonymous
W 4663
When following the tutorial at [http://www.fossil-scm.org/fossil/doc/tip/www/quickstart.wiki], already in the second step (fossil ui <rep>) I can't see anything in any browser.
Here come the server console printouts:
<pre>
Fossil version no such variable: manifest_version no such variable: manifest_date
Status: 200 OK
Cache-control: private
Content-Type: text/html; charset=ISO-8859-1
Content-Length: 87
<p><font color="red">no such repository: (null)</font></p><div class="content"></div><div class="footer">
Fossil version no such variable: manifest_version no such variable: manifest_date
<hr><p><font color="red"><b>ERROR: no such variable: manifest_date</b></font></p>
</pre>
<hr>
<i>DRH replies:</i><br>
I think this problem has been fixed in more recent versions of fossil.
However, I am away from my office and cannot rebuild until this weekend.
If you can download the latest code and recompile yourself, it might
solve your problem.
<hr>
<hr><i>On 2008-06-08 05:08:53 UTC anonymous added:</i><br />
While using mingw compilled Fossil (version [3f706b92a5] from 2008-06-06) on Win XP SP2, server console printout produces similar output.
It spawn empty browser window.
<verbatim>
c:\soft\bin>fossil new myrep
fossil: unable to open database file
[sqlite table myrep is created anyway]
c:\soft\bin>fossil ui myrep
Listening for HTTP requests on TCP port 8080
Launch webbrowser: start http://127.0.0.1:8080/
Type Ctrl-C to stop the HTTP server
Status: 200 OK
Cache-control: private
Content-Type: text/html; charset=ISO-8859-1
Content-Length: 311
<p><font color="red">repository does not exists or is in an unreadable directory
: (null)</font></p>
Fossil version no such variable: manifest_version no such variable: manifest_dat
e<hr><p><font color="red"><b>ERROR: no such variable: manifest_date</b></font></
p>
</verbatim>
<hr><i>On 2008-06-08 15:53:08 UTC drh added:</i><br />
This problem should now be fixed. Either recompile using the latest
source code or else download the latest precompiled binary. Thanks for the
bug report. Please let me know if you find any other issues.
<hr>
<hr><i>On 2008-06-08 21:30:57 UTC anonymous (claiming to be PF) added:</i><br />
Thank you for prompt fix, your precompiled binary works nicely. (it was little intriguing to get past login page, till I figured out that I can update user table in my repository with login and pw values) Since then it seems to be working fine.
Maybe another issue would be with clone command. It seems not to clone and still complain about being not able to open database.
<verbatim>
c:\soft\bin>fossil clone http://www.fossil-scm.org/ myclone.fossil
fossil: unable to open database file
c:\soft\bin>fossil new myclone.fossil
fossil: unable to open database file
c:\soft\bin>fossil new myclone.fossil
fossil: table blob already exists
c:\soft\bin>fossil clone http://www.fossil-scm.org/ myclone.fossil
fossil: unable to open database file
<\verbatim>
<hr>
<hr><i>On 2008-07-08 21:22:43 UTC anonymous added:</i><br />
<nowiki><pre>
c:\soft\bin>fossil.exe info myrep
fossil.exe: unable to open database: C:\Documents and Settings\myuser\Data aplikacÝ/_fossil
ATTACH DATABASE 'C:\Documents and Settings\myuser\Data aplikacÝ/_fossil' AS configdb
profiling:C:\soft\msys\home\myuser\fossil/merge.gcda:Invocation mismatch - some dat
a files may have been removed or concurrent update without locking support
<hr>
<hr><i>On 2008-07-14 21:13:52 UTC anonymous added:</i><br />
<nowiki><pre>
By modifying line 576 in file db.c to:
zDbName = mprintf("%s\\_fossil", zHome); /* fills zDbName with C:\\Documents and Settings\\user\\Data aplikací\\_fossil instead of C:\\Documents and Settings\\user\\Data aplikací/_fossil */
AND
creating directory on C: drive "C:\Documents and Settings\user\Data aplikac" (please note one ascended character (0xa1) short from original path)
I can get this output:
c:\soft\bin>fossil.exe new rep01
project-id: 3cf63a764197eaa7f82c0704bcc5cf035d65d9f2
server-id: 9ea3a39a51325ed2212ab2ad35b2fbdc6b9979bb
admin-user: user (no password set yet!)
baseline: ef6859b040afc1987a09b3c53d75b6c7eaf398f6
</pre></nowiki>
(if i dont create such directory, fossil still fails with fossil.exe: unable to open database file)
I can trace it to line 515 in db_.c:
rc = sqlite3_open(zFileName, &db);
where it either creates database file _fossil in doctored directory of fails with error message.
Where to take from here? Thanks.
Z 2acf4ffa30e82c417cccde393e3a727c