#3 Error "C:\Dokumente: can't open file 'und'"

closed-fixed
nobody
None
5
2007-01-02
2006-12-30
Anonymous
No

I have downloaded the windows-version of this nice game (I think it's even better than the original!).
I stored it to my desktop. But when I want to start it there cames this error: "C:\Dokumente: can't open file 'und'" (I've a German windows).

I think this is because of the space in the path to the exe-file: "C:\Dokumente und Einstellungen\Franz\Desktop\bubbros-1.5-win\BubBob.exe" (in english: c:\documents and settings\...). When I copy the files to c:\bubbros-1.5-win\" it works fine.

Discussion

  • Armin Rigo

    Armin Rigo - 2006-12-31

    Logged In: YES
    user_id=4771
    Originator: NO

    Can you attach the complete output to this bug
    report? I need to see the whole traceback to
    know where the problem is.

     
  • Franz Seidl

    Franz Seidl - 2007-01-02

    Logged In: YES
    user_id=1681539
    Originator: NO

    "C:\Dokumente: can't open file 'und'" is all what's displayed in the DOS-window. After 15 seconds the window disappears.

    I've also found out that, when I execute the BubBob.exe from the DOS-Window (cmd) that there's another error:
    C:\Dokumente und Einstellungen\Franz>"C:\Dokumente und Einstellungen\Franz\Desktop\bubbros-1.5-win\BubBob.exe"
    C:\Dokumente und Einstellungen\Franz\Desktop\bubbros-1.5-win\BubBob.exe: can't open file 'BubBob.py'

    When I change into the directory then the first error-message is displayed.

    Hey, I was able to produce an Traceback (with Strg+C), I hope that I was fast enougth:
    C:\Dokumente und Einstellungen\Franz\Desktop\bubbros-1.5-win>bubbob.exe
    C:\Dokumente: can't open file 'und'
    Traceback (most recent call last):
    File "BubBob.py", line 124, in ?
    time.sleep(0.5)
    KeyboardInterrupt

     
  • Armin Rigo

    Armin Rigo - 2007-01-02

    Logged In: YES
    user_id=4771
    Originator: NO

    Ok, I think I fixed this (see the CVS version).
    Quoting of command arguments on Windows is
    completely insane, and mostly impossible to do
    right. I worked around the issue by passing
    relative paths to sub-commands instead of
    absolute ones...

     
  • Armin Rigo

    Armin Rigo - 2007-01-02
    • status: open --> closed-fixed
     
  • Franz Seidl

    Franz Seidl - 2007-01-02

    Logged In: YES
    user_id=1681539
    Originator: NO

    I've tested it: yes it works!
    Thank you very much!

     
  • Franz Seidl

    Franz Seidl - 2007-01-02

    Logged In: YES
    user_id=1681539
    Originator: NO

    Oh... I was too fast...

    Now, when I join a game the same error is displayed: "C:\Dokumente: can't open file 'und'"

    Traceback (most recent call last):
    File "C:\bubbros-1.5-win\common\httpserver.py", line 125, in send_head
    f, ctype = loader(headers=hdr, **kwds)
    File "C:\bubbros-1.5-win\http2\httppages.py", line 357, in joinloader
    while gamesrv.recursiveloop(endtime, []):
    File "C:\bubbros-1.5-win\common\gamesrv.py", line 1232, in recursiveloop
    iwtd, owtd, ewtd = select(iwtd, [], iwtd, min(delay, timediff))
    KeyboardInterrupt

    Mh, perhaps it is better when you write anywhere that bubbros should be copyed to "c:\" in windows...

     
  • Armin Rigo

    Armin Rigo - 2007-01-02

    Logged In: YES
    user_id=4771
    Originator: NO

    It's already written in the "download" page
    that I know about problems on XP with spaces
    in file names...

    I've tested the changes, they seem to work for
    me. I wouldn't be surprized if various Windows
    versions are inconsistent, but are you sure you
    are testing the correct version? The latest
    traceback you pasted mentions file names in
    c:\bubbros-1.5-win\ which should not cause
    error messages with c:\Dokumente in them...

    There is a log file that should be generated
    (on my machine, it goes to c:\Documents and
    settings\username\Local settings\temp\bb.log).
    With the latest version the log file should
    contain a few lines like this:

    no_quote_worries 'c:\documents and ...\bla' => '..\bla'

     
  • Nobody/Anonymous

    Logged In: NO

    You are right... previously I only downloaded BubBob.py from CVS...
    Now I've downloaded the complete CVS and it works! :-)

    Thank you!

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks