The file really exists and is in \\server\RedirectedFolders\user1\My Documents\.bzr.log. The user has full read and write permissions.
=============================================================================
C:\Python27>python
Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import os.path
>>> pfad = os.path.exists("\\\\server\\RedirectedFolders\\user1\\My Documents\\.bzr.log")
>>> print pfad
True
>>>
=============================================================================
So the file can be seen by Python. Another try:
=============================================================================
C:\Python27>python
Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import os.path
>>> f=file("\\\\server\\RedirectedFolders\\user1\\My Documents\\.bzr.log")
>>> f.read
<built-in method read of file object at 0x0000000001D1D390>
>>> g=open("\\\\server\\RedirectedFolders\\user1\\My Documents\\.bzr.log")
>>> g.readline
<built-in method readline of file object at 0x0000000001D1D420>
>>> for line in g:
... print line
...
this is a debug log for diagnosing/reporting problems in bzr
you can delete or truncate this file, or include sections in
The file really exists and is in \\server\ RedirectedFolde rs\user1\ My Documents\.bzr.log. The user has full read and write permissions.
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= exists( "\\\\server\ \RedirectedFold ers\\user1\ \My Documents\ \.bzr.log" ) ======= ======= ======= ======= ======= ======= ======= ======= ======= =======
C:\Python27>python
Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import os.path
>>> pfad = os.path.
>>> print pfad
True
>>>
=======
So the file can be seen by Python. Another try:
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= "\\\\server\ \RedirectedFold ers\\user1\ \My Documents\ \.bzr.log" ) "\\\\server\ \RedirectedFold ers\\user1\ \My Documents\ \.bzr.log" )
C:\Python27>python
Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import os.path
>>> f=file(
>>> f.read
<built-in method read of file object at 0x0000000001D1D390>
>>> g=open(
>>> g.readline
<built-in method readline of file object at 0x0000000001D1D420>
>>> for line in g:
... print line
...
this is a debug log for diagnosing/ reporting problems in bzr
you can delete or truncate this file, or include sections in
bug reports to https:/ /bugs.launchpad .net/bzr/ +filebug
Tue 2012-06-05 13:46:49 +0200 ======= ======= ======= ======= ======= ======= ======= ======= ======= =======
=======
(I cut out the remaining lines)