View Ticket
Not logged in
Ticket UUID: c7c36ef52edabdfc29c113082a54709522e9baa9
Title: recent fossil on non English variant of winXP fails to create new repo
Status: Fixed Type: Code_Defect
Severity: Severe Priority:
Subsystem: Resolution: Fixed
Last Modified: 2009-08-15 22:36:42
Version Found In: [137bff8294]
Description & Comments:
c:\soft\bin>fossil ve
This is fossil version [137bff8294] 2009-08-15 17:45:28 UTC

c:\soft\bin>fossil new qqq.foss
fossil: unable to open database file
Older versions on fossil were creating new repos on non English win XP just fine:
log of successful acces to _fossil database while executing "fossil new qqq.foss" with fossil version [1b0c251575]
22:23:38.812	fossil.exe:1468	OPEN	C:\Documents and Settings\usr\Data aplikací\	SUCCESS	Options: Open Directory  Access: All	
22:23:38.812	fossil.exe:1468	DIRECTORY	C:\Documents and Settings\usr\Data aplikací\	SUCCESS	FileBothDirectoryInformation: _fossil	
22:23:38.812	fossil.exe:1468	CLOSE	C:\Documents and Settings\usr\Data aplikací\	SUCCESS		
22:23:38.812	fossil.exe:1468	OPEN	C:\Documents and Settings\usr\Data aplikací\_fossil	SUCCESS	Options: OpenIf  Access: All	

while recent version fails:

log of failed acces to _fossil database while executing "fossil new qqq.foss" with fossil version [137bff8294]
22:27:00.863	fossil.exe:3780	DIRECTORY	C:\Documents and Settings\usr\Data aplikací\	SUCCESS	FileBothDirectoryInformation: _fossil	
22:27:00.863	fossil.exe:3780	CLOSE	C:\Documents and Settings\usr\Data aplikací\	SUCCESS		
22:27:00.863	fossil.exe:3780	OPEN	C:\Documents and Settings\usr\Data aplikac\_fossil	PATH NOT FOUND	Options: OpenIf  Access: All	
22:27:00.863	fossil.exe:3780	OPEN	C:\Documents and Settings\usr\Data aplikac\_fossil	PATH NOT FOUND	Options: OpenIf  Access: All	

I would guess, problem was introduced with check in 6b0196aeb8

The problem seems to be stripped "í" character
(http://www.fileformat.info/info/unicode/char/00ed/index.htm)
from the localised path to the location where _fossil file is.

OK
C:\Documents and Settings\usr\Data aplikací\_fossil
Wrong
C:\Documents and Settings\usr\Data aplikac\_fossil


drh added on 2009-08-15 21:41:16:
Check-in 00ac7945a9ead seems a more likely cause than check-in 6b0196aeb874f, in which case check-in a25092b14ca should fix the problem. Please try a25092b14ca and mark this ticket as "fixed" if it works. Thanks.


anonymous claiming to be PF added on 2009-08-15 22:36:42:
Check in a25092b14ca helped and new repos are created OK. Thanks for your fix.