Re: [ZODB-Dev] 3.10.0b6 traceback

2010-09-16 Thread Jim Fulton
On Sun, Sep 12, 2010 at 3:54 AM, Christian Theune  wrote:
> On 09/10/2010 02:25 PM, Jim Fulton wrote:
>>
>> On Fri, Sep 10, 2010 at 2:40 AM, Wichert Akkerman
>>  wrote:
>>>
>>> I just got the following traceback from a system running 3.10.0b6:
>>
>> As I mentioned before, this looks like a bug.
>>
>> But mainly I want to say: thanks for testing the beta!  I hope we're
>> getting close to a final release, and, of course, testing the betas is
>> very helpful. :)
>
> Did the tracebacks make it into the bug database? If yes, can someone
> provide references to them in the mailing list FTR?

This turned out to be an application issue.

Jim

-- 
Jim Fulton
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev


Re: [ZODB-Dev] 3.10.0b6 traceback

2010-09-15 Thread Wichert Akkerman
On 9/12/10 09:54 , Christian Theune wrote:
> On 09/10/2010 02:25 PM, Jim Fulton wrote:
>> On Fri, Sep 10, 2010 at 2:40 AM, Wichert Akkerman
>> wrote:
>>> I just got the following traceback from a system running 3.10.0b6:
>>
>> As I mentioned before, this looks like a bug.
>>
>> But mainly I want to say: thanks for testing the beta! I hope we're
>> getting close to a final release, and, of course, testing the betas is
>> very helpful. :)
>
> Did the tracebacks make it into the bug database? If yes, can someone
> provide references to them in the mailing list FTR?

Jim investigated and could not find anything wrong in ZODB. Further 
investigation showed that the way repoze.zodbconn worked in our app was 
not correct and we were effectively sharing a single connection between 
multiple threads.

Wichert.
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev


Re: [ZODB-Dev] 3.10.0b6 traceback

2010-09-12 Thread Christian Theune
On 09/10/2010 02:25 PM, Jim Fulton wrote:
> On Fri, Sep 10, 2010 at 2:40 AM, Wichert Akkerman  wrote:
>> I just got the following traceback from a system running 3.10.0b6:
>
> As I mentioned before, this looks like a bug.
>
> But mainly I want to say: thanks for testing the beta!  I hope we're
> getting close to a final release, and, of course, testing the betas is
> very helpful. :)

Did the tracebacks make it into the bug database? If yes, can someone 
provide references to them in the mailing list FTR?

Christian

-- 
Christian Theune · c...@gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
Zope and Plone consulting and development
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev


Re: [ZODB-Dev] 3.10.0b6 traceback

2010-09-10 Thread Hanno Schlichting
On Fri, Sep 10, 2010 at 2:25 PM, Jim Fulton  wrote:
> But mainly I want to say: thanks for testing the beta!  I hope we're
> getting close to a final release, and, of course, testing the betas is
> very helpful. :)

I'm running beta4 on one small and one large site. So far I've only
run into https://bugs.launchpad.net/zodb/+bug/595378.

So generally the betas seem to be very stable. After Wichert's bug
reports I have not upgraded to the latest beta 6 ;)

Hanno

P.S. This is with Plone 4.0, Zope 2.12.10 and Python 2.6.5.
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev


Re: [ZODB-Dev] 3.10.0b6 traceback

2010-09-10 Thread Jim Fulton
On Fri, Sep 10, 2010 at 2:40 AM, Wichert Akkerman  wrote:
> I just got the following traceback from a system running 3.10.0b6:

As I mentioned before, this looks like a bug.

But mainly I want to say: thanks for testing the beta!  I hope we're
getting close to a final release, and, of course, testing the betas is
very helpful. :)

Jim

--
Jim Fulton
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev


Re: [ZODB-Dev] 3.10.0b6 traceback

2010-09-10 Thread Jim Fulton
These both look like ZODB bugs.

Thanks.

Jim

On Fri, Sep 10, 2010 at 2:48 AM, Wichert Akkerman  wrote:
> And another one, not sure if it is related:
>
> Traceback (most recent call last):
>   File
> "/srv/software/buildout/eggs/WebError-0.10.2-py2.6.egg/weberror/errormiddleware.py",
> line 162, in __call__
>     app_iter = self.application(environ, sr_checker)
>   File
> "/srv/software/buildout/eggs/repoze.retry-0.9.4-py2.6.egg/repoze/retry/__init__.py",
> line 88, in __call__
>     app_iter = self.application(environ, replace_start_response)
>   File
> "/srv/software/buildout/eggs/repoze.tm2-1.0a5-py2.6.egg/repoze/tm/__init__.py",
> line 23, in __call__
>     result = self.application(environ, save_status_and_headers)
>   File
> "/srv/software/buildout/eggs/repoze.filesafe-1.0-py2.6.egg/repoze/filesafe/__init__.py",
> line 31, in __call__
>     return self.app(environ, start_response)
>   File
> "/srv/software/buildout/eggs/Beaker-1.5.4-py2.6.egg/beaker/middleware.py",
> line 152, in __call__
>     return self.wrap_app(environ, session_start_response)
>   File
> "/srv/software/buildout/eggs/repoze.bfg-1.3a12-py2.6.egg/repoze/bfg/router.py",
> line 91, in __call__
>     root = root_factory(request)
>   File "/srv/software/buildout/src/s4u.site/s4u/site/run.py", line 111,
> in get_root
>     return appmaker(conn.root())
>   File
> "/srv/software/buildout/src/s4u.site/s4u/site/content/__init__.py", line
> 27, in appmaker
>     return zodb_root["cms_root"]
>   File "/usr/lib/python2.6/UserDict.py", line 18, in __getitem__
>     if key in self.data:
>   File
> "/srv/software/buildout/eggs/ZODB3-3.10.0b6-py2.6-linux-x86_64.egg/persistent/mapping.py",
> line 30, in __get__
>     return self.func(inst)
>   File
> "/srv/software/buildout/eggs/ZODB3-3.10.0b6-py2.6-linux-x86_64.egg/persistent/mapping.py",
> line 99, in data
>     data = self.__dict__.pop('_container')
> KeyError: 'pop(): dictionary is empty'
>
>
> On 2010-9-10 08:40, Wichert Akkerman wrote:
>> I just got the following traceback from a system running 3.10.0b6:
>>
>> Traceback (most recent call last):
>>     File
>> "/srv/software/buildout/eggs/WebError-0.10.2-py2.6.egg/weberror/errormiddleware.py",
>> line 162, in __call__
>>       app_iter = self.application(environ, sr_checker)
>>     File
>> "/srv/software/buildout/eggs/repoze.retry-0.9.4-py2.6.egg/repoze/retry/__init__.py",
>> line 88, in __call__
>>       app_iter = self.application(environ, replace_start_response)
>>     File
>> "/srv/software/buildout/eggs/repoze.tm2-1.0a5-py2.6.egg/repoze/tm/__init__.py",
>> line 23, in __call__
>>       result = self.application(environ, save_status_and_headers)
>>     File
>> "/srv/software/buildout/eggs/repoze.filesafe-1.0-py2.6.egg/repoze/filesafe/__init__.py",
>> line 31, in __call__
>>       return self.app(environ, start_response)
>>     File
>> "/srv/software/buildout/eggs/Beaker-1.5.4-py2.6.egg/beaker/middleware.py",
>> line 152, in __call__
>>       return self.wrap_app(environ, session_start_response)
>>     File
>> "/srv/software/buildout/eggs/repoze.bfg-1.3a12-py2.6.egg/repoze/bfg/router.py",
>> line 91, in __call__
>>       root = root_factory(request)
>>     File "/srv/software/buildout/src/s4u.site/s4u/site/run.py", line 111,
>> in get_root
>>       return appmaker(conn.root())
>>     File
>> "/srv/software/buildout/eggs/ZODB3-3.10.0b6-py2.6-linux-x86_64.egg/ZODB/Connection.py",
>> line 359, in root
>>       return RootConvenience(self.get(z64))
>>     File
>> "/srv/software/buildout/eggs/ZODB3-3.10.0b6-py2.6-linux-x86_64.egg/ZODB/Connection.py",
>> line 257, in get
>>       self._cache.new_ghost(oid, obj)
>> AssertionError: The given oid is already in the cache
>>
>> is that likely to be a ZODB bug, or a bug in our application?
>>
>> Wichert.
>>
>
>
> --
> Wichert Akkerman    It is simple to make things.
> http://www.wiggy.net/                  It is hard to make things simple.
> ___
> For more information about ZODB, see the ZODB Wiki:
> http://www.zope.org/Wikis/ZODB/
>
> ZODB-Dev mailing list  -  zodb-...@zope.org
> https://mail.zope.org/mailman/listinfo/zodb-dev
>



-- 
Jim Fulton
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev


Re: [ZODB-Dev] 3.10.0b6 traceback

2010-09-09 Thread Wichert Akkerman
And another one, not sure if it is related:

Traceback (most recent call last):
   File 
"/srv/software/buildout/eggs/WebError-0.10.2-py2.6.egg/weberror/errormiddleware.py",
 
line 162, in __call__
 app_iter = self.application(environ, sr_checker)
   File 
"/srv/software/buildout/eggs/repoze.retry-0.9.4-py2.6.egg/repoze/retry/__init__.py",
 
line 88, in __call__
 app_iter = self.application(environ, replace_start_response)
   File 
"/srv/software/buildout/eggs/repoze.tm2-1.0a5-py2.6.egg/repoze/tm/__init__.py", 
line 23, in __call__
 result = self.application(environ, save_status_and_headers)
   File 
"/srv/software/buildout/eggs/repoze.filesafe-1.0-py2.6.egg/repoze/filesafe/__init__.py",
 
line 31, in __call__
 return self.app(environ, start_response)
   File 
"/srv/software/buildout/eggs/Beaker-1.5.4-py2.6.egg/beaker/middleware.py", 
line 152, in __call__
 return self.wrap_app(environ, session_start_response)
   File 
"/srv/software/buildout/eggs/repoze.bfg-1.3a12-py2.6.egg/repoze/bfg/router.py", 
line 91, in __call__
 root = root_factory(request)
   File "/srv/software/buildout/src/s4u.site/s4u/site/run.py", line 111, 
in get_root
 return appmaker(conn.root())
   File 
"/srv/software/buildout/src/s4u.site/s4u/site/content/__init__.py", line 
27, in appmaker
 return zodb_root["cms_root"]
   File "/usr/lib/python2.6/UserDict.py", line 18, in __getitem__
 if key in self.data:
   File 
"/srv/software/buildout/eggs/ZODB3-3.10.0b6-py2.6-linux-x86_64.egg/persistent/mapping.py",
 
line 30, in __get__
 return self.func(inst)
   File 
"/srv/software/buildout/eggs/ZODB3-3.10.0b6-py2.6-linux-x86_64.egg/persistent/mapping.py",
 
line 99, in data
 data = self.__dict__.pop('_container')
KeyError: 'pop(): dictionary is empty'


On 2010-9-10 08:40, Wichert Akkerman wrote:
> I just got the following traceback from a system running 3.10.0b6:
>
> Traceback (most recent call last):
> File
> "/srv/software/buildout/eggs/WebError-0.10.2-py2.6.egg/weberror/errormiddleware.py",
> line 162, in __call__
>   app_iter = self.application(environ, sr_checker)
> File
> "/srv/software/buildout/eggs/repoze.retry-0.9.4-py2.6.egg/repoze/retry/__init__.py",
> line 88, in __call__
>   app_iter = self.application(environ, replace_start_response)
> File
> "/srv/software/buildout/eggs/repoze.tm2-1.0a5-py2.6.egg/repoze/tm/__init__.py",
> line 23, in __call__
>   result = self.application(environ, save_status_and_headers)
> File
> "/srv/software/buildout/eggs/repoze.filesafe-1.0-py2.6.egg/repoze/filesafe/__init__.py",
> line 31, in __call__
>   return self.app(environ, start_response)
> File
> "/srv/software/buildout/eggs/Beaker-1.5.4-py2.6.egg/beaker/middleware.py",
> line 152, in __call__
>   return self.wrap_app(environ, session_start_response)
> File
> "/srv/software/buildout/eggs/repoze.bfg-1.3a12-py2.6.egg/repoze/bfg/router.py",
> line 91, in __call__
>   root = root_factory(request)
> File "/srv/software/buildout/src/s4u.site/s4u/site/run.py", line 111,
> in get_root
>   return appmaker(conn.root())
> File
> "/srv/software/buildout/eggs/ZODB3-3.10.0b6-py2.6-linux-x86_64.egg/ZODB/Connection.py",
> line 359, in root
>   return RootConvenience(self.get(z64))
> File
> "/srv/software/buildout/eggs/ZODB3-3.10.0b6-py2.6-linux-x86_64.egg/ZODB/Connection.py",
> line 257, in get
>   self._cache.new_ghost(oid, obj)
> AssertionError: The given oid is already in the cache
>
> is that likely to be a ZODB bug, or a bug in our application?
>
> Wichert.
>


-- 
Wichert AkkermanIt is simple to make things.
http://www.wiggy.net/  It is hard to make things simple.
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev