durusmail: durus-users: apparently random bug in durus
apparently random bug in durus
2010-06-21
2010-06-21
2010-06-21
2010-06-22
2010-06-22
2010-06-25
2010-06-25
2010-06-25
2010-06-25
2010-06-28
2010-06-28
2010-06-29
Python 2.7+ (Re: apparently random bug in durus)
2010-06-29
2010-06-28
2010-06-29
2010-06-29
2010-06-29
2010-06-29
2010-06-29
2010-06-30
2010-06-30
2010-06-30
2010-06-30
2010-06-30
2010-07-01
apparently random bug in durus
Binger David
2010-06-25
Please edit c:\python26\lib\site-packages\durus\connection.py to get more
information.
In particular, insert at line 137, just before the klass = loads(data) line,
some lines that print or write to a file,
the values of sys.version, sys.path, sys.executable
You might also insert an explicit "import durus.persistent_dict" there
too, to see if that works as it should.
Also print out repr(data) while you are at it.
Perhaps some change to sys.path or a chdir occurs
that puts a directory containing a "durus" entry other
than the durus installation directory on your path
before the durus installation directory.
I assume that nothing in qwitter monkey-patches durus, right?


On Jun 21, 2010, at 2:40 PM, Alex Hall wrote:

>  File "c:\qwitter\src\session\storage.py", line 22, in __init__
>    self.connection = Connection(self.store)
>  File "c:\python26\lib\site-packages\durus\connection.py", line 61, in
__init__
>    self.root = self.get(ROOT_OID)
>  File "c:\python26\lib\site-packages\durus\connection.py", line 138, in get
>    klass = loads(data)
> ImportError: No module named durus.persistent_dict

reply