Comment 1 for bug 1021253

Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 1021253] [NEW] WindowsError: [Error 123] when selecting Bazaar, Explorer, System Log

André Bachmann пишет:
> Public bug reported:
>
> Bazaar 2.5.1-1 on Win7 x64. This happens when a user profile has a
> redirected "My Documents" folder as a result of a group policy. After
> selecting Bazaar, Explorer, System Log in Bazaar Explorer an error is
> thrown:

Error 123 means:

123 The filename, directory name, or volume label syntax is incorrect.
ERROR_INVALID_NAME

I suppose German error message said something like that.

What is the correct filename then? Do you have python installed on that
machine? Can you try to open that file with the proper name from python?
Does this file actually exist? Does it have some content? I wonder if
bzr can write to that file but unable to read from it?

If this is not possible to do from Python, then I fear you have no
option but explicitly specify the filename for log file with environment
variable BZR_LOG.

>
> =========================================================================================
> Thu 2012-07-05 09:12:05 +0200
> 0.070 bazaar version: 2.5.1
> 0.071 bzr arguments: [u'qviewer', u'"\\\\server\\RedirectedFolders\\user1\\My Documents\\.bzr.log"']
> 0.073 looking for plugins in C:/Users/user1/AppData/Roaming/bazaar/2.0/plugins
> 0.074 looking for plugins in C:/Program Files (x86)/Bazaar/plugins
> 0.131 encoding stdout as osutils.get_user_encoding() 'cp1252'
> 0.292 None
>
> 0.295 Traceback (most recent call last):
> File "C:/Program Files (x86)/Bazaar/plugins\qbzr\lib\cat.py", line 304, in load
> File "bzrlib\osutils.pyo", line 2245, in file_kind
> File "bzrlib\osutils.pyo", line 2238, in file_stat
> WindowsError: [Error 123] Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch: u'"\\\\server\\RedirectedFolders\\user1\\My Documents\\.bzr.log"'
>
> 0.296 No Apport available to Bazaar
> 17.794 return code 0
> =========================================================================================
>
> Maybe related with another python problem with Windows UNC paths from
> bug #821354.
>
> ** Affects: qbzr
> Importance: Undecided
> Status: New
>

--
All the dude wanted was his rug back