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-29
On Jun 29, 2010, at 4:45 PM, Alex Hall wrote:

> Here is what I get when I put your code into c:\misc\durus_test.py and
> then ran it.
>
> Microsoft Windows [Version 6.1.7600]
> Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
>
> C:\Users\Alex>python c:\misc\durus_test.py
> Using Python base classes for persistence.
> Transaction at [2010-06-29 16:43:58.858000] end=145
> 
> Ç☻cdurus.persistent_dict
> PersistentDict
> q .

That looks normal.

Somehow, the class durus.persistent_dict.PersistentDict is apparently being
imported
as durus.durus.persistent_dict.PersistentDict, but only inside the qwitter
application.
What could cause that?

>
> C:\Users\Alex>
>
> On 6/29/10, Binger David  wrote:
>> Could you try this procedure in a python command window please?
>>
>> from durus.connection import Connection
>> c = Connection('testfile.durus')
>> print( c.get_root().__class__)
>> from pickle import dumps
>> print(dumps(c.get_root().__class__, 2))
>>
>> If working correctly, we should not see any durus.durus names.
>>
>> Is it possible that qwitter, or one of the many qwitter dependencies
>> listed below, changes the way import works before durus gets imported
>> in a qwitter application?  I'm trying to figure out what makes a
>> qwitter application different from the direct use of durus.
>> PIL-1.1.6.win32-py2.6.exe
>> PyDispatcher-2.0.1.win32.exe
>> Skype4Py-1.0.32.1.win32.exe
>> bingapi-0.02.win32.exe
>> comtypes-0.6.1.win32.exe
>> configobj-4.6.0.win32-py2.6.msi
>> feedparser-4.1.win32.exe
>> numpy-1.3.0rc2-win32-superpack-python2.6.exe
>> py26-pysvn-svn161-1.7.0-1177.exe
>> py2exe-0.6.9.win32-py2.6.exe
>> pyaudiere-0.2.win32-py2.6.msi
>> pygooglevoice-0.5.win32.exe
>> pywin32-214.win32-py2.6.exe
>> speech-0.5.2.win32.exe
>> urlunshort-0.2.4.win32.exe
>> wxPython2.9-win32-unicode-2.9.0.1.pre20100113-py26.exe
>>
>>
>>
>> On Jun 29, 2010, at 3:19 PM, Alex Hall wrote:
>>
>>> Yes. I just moved all .db files into a subfolder of the qwitter folder
>>> (%appdata%\qwitter) and got the same error.
>>>
>>> On 6/29/10, Binger David  wrote:
>>>> Hi Alex,
>>>>
>>>> I forgot to ask you if you have tried removing your
>>>> qwitter database file since getting your installation
>>>> fixed.  By fixed, I mean there is no durus* file or directory
>>>> inside your durus installation directory.
>>>>
>>>> On Jun 28, 2010, at 5:37 PM, Alex Hall wrote:
>>>>
>>>>> True, but that is not the case here; I have only one Durus directory
>>>>> inside site-packages.
>>>>
>>>>
>>>
>>>
>>> --
>>> Have a great day,
>>> Alex (msg sent from GMail website)
>>> mehgcap@gmail.com; http://www.facebook.com/mehgcap
>>
>>
>
>
> --
> Have a great day,
> Alex (msg sent from GMail website)
> mehgcap@gmail.com; http://www.facebook.com/mehgcap

reply