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
Alex Hall
2010-06-28
True, but that is not the case here; I have only one Durus directory
inside site-packages.

On 6/28/10, Binger David  wrote:
> I think I saw over on the qwitter list that this occurred because
> someone had a durus installation directory inside a durus installation
> directory at the time that the root was instantiated,
> I'm not sure what the installation method was, but the results
> were bad.
>
> On Jun 28, 2010, at 3:56 PM, Neil Schemenauer wrote:
>
>> Binger David  wrote:
>>>
>>> On Jun 25, 2010, at 4:30 PM, Alex Hall wrote:
>>>> Repr(data):
>>>> '\x80\x02cdurus.durus.persistent_dict\nPersistentDict\nq\x01.x\x9c\xb5Z}`\\
E\x11O\x8e\x92\xa6I\x9a\xb6iB\xcbw
>>>>
>>>> ...
>>>
>>> The string should start with
>>> '\x80\x02cdurus.persistent_dict\nPersistentDict\nq'
>>> not
>>> '\x80\x02cdurus.durus.persistent_dict\nPersistentDict\nq'.
>>>
>>> I think this is the problem.  I'm not sure how it originates.
>>
>> Definitely a problem.  I wonder if somewhere the Connection class
>> got passed a bad 'root_class' argument.  I can't see any way Durus
>> itself can create such a thing.
>>
>> As a hack so you can load your data, add this early in the startup
>> (e.g. before Durus is imported):
>>
>>    import sys
>>    import durus
>>    durus.durus = durus
>>    sys.modules['durus.durus'] = durus
>>
>> After that you should be able to execute:
>>
>>    import durus.durus.persistent_dict
>>
>> without errors.
>>
>> Regards,
>>
>>  Neil
>>
>> _______________________________________________
>> Durus-users mailing list
>> Durus-users@mems-exchange.org
>> http://mail.mems-exchange.org/mailman/listinfo/durus-users
>
> _______________________________________________
> Durus-users mailing list
> Durus-users@mems-exchange.org
> http://mail.mems-exchange.org/mailman/listinfo/durus-users
>


--
Have a great day,
Alex (msg sent from GMail website)
mehgcap@gmail.com; http://www.facebook.com/mehgcap
reply