Fossil SCM

recent fossil on non English variant of winXP fails to create new repo

Fixed

c7c36ef52edabdf… · opened 16 years, 7 months ago

Type
Code_Defect
Priority
Severity
Severe
Resolution
Fixed
Subsystem
Created
Aug. 15, 2009 9:12 p.m.

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.

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button