Ticket UUID: | b67996c1e6d0e38827a61ca17e176dfc5f864ea2 | ||
Title: | Fossil can no longer find files in open checkouts with non-ascii chars in directory | ||
Status: | Closed | Type: | Code_Defect |
Severity: | Important | Priority: | |
Subsystem: | Resolution: | Fixed | |
Last Modified: | 2011-05-26 12:28:30 | ||
Version Found In: | fossil version [d8221b9863] 2011-05-12 14:56:52 UTC | ||
Description & Comments: | |||
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 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: anonymous claiming to be tsul added on 2011-05-26 05:51:43 UTC: anonymous claiming to be Martijn Coppoolse added on 2011-05-26 12:28:30 UTC: I hadn't noticed that there was a new release already. Thanks! |