Ticket Change Details
Not logged in
Overview

Artifact ID: 9c7560735598680cb55bb2391bc563502e5af4ab
Ticket: b67996c1e6d0e38827a61ca17e176dfc5f864ea2
Fossil can no longer find files in open checkouts with non-ascii chars in directory
User & Date: anonymous 2011-05-25 08:20:36
Changes

  1. comment changed to:
    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 <tt>all rebuild</tt>.  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).
    
    <pre>
    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>
    </pre>
    
    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.
    
  2. foundin changed to:
    fossil version [d8221b9863] 2011-05-12 14:56:52 UTC
    
  3. private_contact changed to: "9d51a8b06966fd2ab0f28ccfb14200a7623c7eed"
  4. severity changed to: "Important"
  5. status changed to: "Open"
  6. title changed to:
    Fossil can no longer find files in open checkouts with non-ascii chars in directory
    
  7. type changed to: "Code_Defect"