Fossil SCM

Fossil can no longer find files in open checkouts with non-ascii chars in directory

Closed

b67996c1e6d0e38… · opened 14 years, 10 months ago

Type
Code_Defect
Priority
Severity
Important
Resolution
Fixed
Subsystem
Created
May 25, 2011 8:20 a.m.

Fossil version [d8221b9863] 2011-05-12 14:56:52 UTC on Windows 7, 64-bits.

I upgraded to the latest version (mentioned above), and did an all rebuild. But now, fossil can no longer find any file in the current directory or below it if that directory's path contains a non-ASCII character (which it does in my main source tree). My previous version, from about a month ago (April 2011), worked fine in that identical setup.

Here's a command line session illustrating the problem. Notice that "Voronwë" gets mangled to "Voronw´┐¢", which looks suspiciously like converting Ansi to UTF8 once too often (topped with a CharToOem if I’m not mistaken; but hey, that's the Windows console for you).

C:>cd C:\MC\Code\Projects\Voronwë\GUI\Applications\Presence
C:\MC\Code\Projects\Voronwë\GUI\Applications\Presence>fossil changes
C:\MC\Run\Prog\Fossil\fossil.exe: SQLITE_CANTOPEN: os_win.c:33310: (3) winOpen(C:\MC\Code\Projects\Voronw´┐¢\GUI\Applications\Presence\_FOSSIL_) - The system cannot find the path specified.
C:\MC\Run\Prog\Fossil\fossil.exe: SQLITE_CANTOPEN: os_win.c:33310: (3) winOpen(C:\MC\Code\Projects\Voronw´┐¢\GUI\Applications\Presence\_FOSSIL_) - The system cannot find the path specified.
C:\MC\Run\Prog\Fossil\fossil.exe: SQLITE_CANTOPEN: cannot open file at line 33316 of [f55156c519]
C:\MC\Run\Prog\Fossil\fossil.exe: unable to open database file

If you have recently updated your fossil executable, you might
need to run "fossil all rebuild" to bring the repository
schemas up to date.

C:\MC\Code\Projects\Voronwë\GUI\Applications\Presence>cd C:\MC\Code\Projects\VORONW~1\GUI\APPLIC~1\Presence

C:\MC\Code\Projects\VORONW~1\GUI\APPLIC~1\Presence>fossil changes
DELETED    src/SQL.rc
EDITED     src/UI/F_Server.dfm
EDITED     src/UI/F_Server.pas
EDITED     src/prj/D2009/PresenceServer.dproj
EDITED     src/prj/D2009/PresenceServer.res

C:\MC\Code\Projects\VORONW~1\GUI\APPLIC~1\Presence>

I've set the severity to 'important' because while I can get it to work by using this workaround, this only works when using fossil from command-line. I've integrated fossil in my IDE's tools menu, which always passes the long path. This issue breaks this integration with my IDE.


drh added on 2011-05-25 14:12:15 UTC: Please try again with the 2011-05-23 release.


anonymous claiming to be tsul added on 2011-05-26 05:51:43 UTC: Fell into the same situation on fossil version [d8221b9863] 2011-05-12 14:56:52, problem's not arised on version [474850cff5] 2011-05-23 15:11:12.


anonymous claiming to be Martijn Coppoolse added on 2011-05-26 12:28:30 UTC: It appears to have been fixed in fossil version [474850cff5] 2011-05-23 15:11:12 UTC.

I hadn't noticed that there was a new release already. Thanks!




Keyboard Shortcuts

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