Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Dev

[Fwd: [Bug 376907] Re: AttributeError: 'str' object has no attribute 'registerSynch']

 

 

Zope dev RSS feed   Index | Next | Previous | View Threaded


timothywayne.cook at gmail

May 15, 2009, 6:24 AM

Post #1 of 4 (428 views)
Permalink
[Fwd: [Bug 376907] Re: AttributeError: 'str' object has no attribute 'registerSynch']

This is a bug I filed against ZODB3.9.0b1
As you can see Jim says it is a bug in zope.app.publication but there is
no Launchpad project to forward the bug to for this module.

The full text of the bug report is below the double lines.

Thanks,
Tim


-------- Forwarded Message --------
From: Jim Fulton <jim[at]zope.com>
Reply-to: Bug 376907 <376907[at]bugs.launchpad.net>
To: timothywayne.cook[at]gmail.com
Subject: [Bug 376907] Re: AttributeError: 'str' object has no attribute
'registerSynch'
Date: Fri, 15 May 2009 12:53:47 -0000

This is a bug in zope.app.publication. It shouldn't pass a version to
open.


** Changed in: zodb
Status: New => Won't Fix

==========================================================================================

ZODB3.9.0b1 -
Linux x86_64 AMD - Grok 10a3.

Server starts. Creates a new Data.fs, etc. When attempting to open
http://localhost:8080/applications to add my Grok apps I get this error.

Traceback here:
=================================
2009-05-15 08:30:05,890 ERROR [SiteError] http://localhost:8080
Traceback (most recent call last):
File
"/home/tim/.buildout/eggs/zope.publisher-3.4.6-py2.5.egg/zope/publisher/publish.py", line 129, in publish
obj = publication.getApplication(request)
File
"/home/tim/.buildout/eggs/grok-1.0a3-py2.5.egg/grok/publication.py",
line 70, in getApplication
result = super(ZopePublicationSansProxy,
self).getApplication(request)
File
"/home/tim/.buildout/eggs/zope.app.publication-3.4.3-py2.5.egg/zope/app/publication/zopepublication.py", line 150, in getApplication
conn = self.db.open(version)
File
"/home/tim/.buildout/eggs/ZODB3-3.9.0b1-py2.5-linux-x86_64.egg/ZODB/DB.py", line 759, in open
result.open(transaction_manager)
File
"/home/tim/.buildout/eggs/ZODB3-3.9.0b1-py2.5-linux-x86_64.egg/ZODB/Connection.py", line 1052, in open
transaction_manager.registerSynch(self)
AttributeError: 'str' object has no attribute 'registerSynch'
=======================================================================================
Attachments: signature.asc (0.19 KB)


timothywayne.cook at gmail

May 15, 2009, 1:01 PM

Post #2 of 4 (398 views)
Permalink
Re: [Fwd: [Bug 376907] Re: AttributeError: 'str' object has no attribute 'registerSynch'] [In reply to]

I forgot to explicitly ask the question. Where do I file this bug
report?

Thanks,
Tim



On Fri, 2009-05-15 at 10:24 -0300, Tim Cook wrote:
> This is a bug I filed against ZODB3.9.0b1
> As you can see Jim says it is a bug in zope.app.publication but there is
> no Launchpad project to forward the bug to for this module.
>
> The full text of the bug report is below the double lines.
>
> Thanks,
> Tim
>
>
> -------- Forwarded Message --------
> From: Jim Fulton <jim[at]zope.com>
> Reply-to: Bug 376907 <376907[at]bugs.launchpad.net>
> To: timothywayne.cook[at]gmail.com
> Subject: [Bug 376907] Re: AttributeError: 'str' object has no attribute
> 'registerSynch'
> Date: Fri, 15 May 2009 12:53:47 -0000
>
> This is a bug in zope.app.publication. It shouldn't pass a version to
> open.
>
>
> ** Changed in: zodb
> Status: New => Won't Fix
>
> ==========================================================================================
>
> ZODB3.9.0b1 -
> Linux x86_64 AMD - Grok 10a3.
>
> Server starts. Creates a new Data.fs, etc. When attempting to open
> http://localhost:8080/applications to add my Grok apps I get this error.
>
> Traceback here:
> =================================
> 2009-05-15 08:30:05,890 ERROR [SiteError] http://localhost:8080
> Traceback (most recent call last):
> File
> "/home/tim/.buildout/eggs/zope.publisher-3.4.6-py2.5.egg/zope/publisher/publish.py", line 129, in publish
> obj = publication.getApplication(request)
> File
> "/home/tim/.buildout/eggs/grok-1.0a3-py2.5.egg/grok/publication.py",
> line 70, in getApplication
> result = super(ZopePublicationSansProxy,
> self).getApplication(request)
> File
> "/home/tim/.buildout/eggs/zope.app.publication-3.4.3-py2.5.egg/zope/app/publication/zopepublication.py", line 150, in getApplication
> conn = self.db.open(version)
> File
> "/home/tim/.buildout/eggs/ZODB3-3.9.0b1-py2.5-linux-x86_64.egg/ZODB/DB.py", line 759, in open
> result.open(transaction_manager)
> File
> "/home/tim/.buildout/eggs/ZODB3-3.9.0b1-py2.5-linux-x86_64.egg/ZODB/Connection.py", line 1052, in open
> transaction_manager.registerSynch(self)
> AttributeError: 'str' object has no attribute 'registerSynch'
> =======================================================================================
>
>
--
Timothy Cook, MSc
Health Informatics Research & Development Services
LinkedIn Profile:http://www.linkedin.com/in/timothywaynecook
Skype ID == timothy.cook
**************************************************************
*You may get my Public GPG key from popular keyservers or *
*from this link http://timothywayne.cook.googlepages.com/home*
**************************************************************
Attachments: signature.asc (0.19 KB)


mh at gocept

May 15, 2009, 11:20 PM

Post #3 of 4 (394 views)
Permalink
Re: [Fwd: [Bug 376907] Re: AttributeError: 'str' object has no attribute 'registerSynch'] [In reply to]

Am 15.05.2009 um 15:24 schrieb Tim Cook:
[...]
> Traceback here:
> =================================
> 2009-05-15 08:30:05,890 ERROR [SiteError] http://localhost:8080
> Traceback (most recent call last):
> File
> "/home/tim/.buildout/eggs/zope.publisher-3.4.6-py2.5.egg/zope/
> publisher/publish.py", line 129, in publish
> obj = publication.getApplication(request)
> File
> "/home/tim/.buildout/eggs/grok-1.0a3-py2.5.egg/grok/publication.py",
> line 70, in getApplication
> result = super(ZopePublicationSansProxy,
> self).getApplication(request)
> File
> "/home/tim/.buildout/eggs/zope.app.publication-3.4.3-py2.5.egg/zope/
> app/publication/zopepublication.py", line 150, in getApplication
> conn = self.db.open(version)


You use a really ancient version of zope.app.publication. This bug was
fixed in version 3.5.0 of zope.app.publication. I think at least this
version is required to be used together with ZODB 3.9.


Yours sincerely,
--
Michael Howitz · mh[at]gocept.com · software developer
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1
Zope and Plone consulting and development

_______________________________________________
Zope-Dev maillist - Zope-Dev[at]zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


timothywayne.cook at gmail

May 16, 2009, 11:02 AM

Post #4 of 4 (380 views)
Permalink
Re: [Fwd: [Bug 376907] Re: AttributeError: 'str' object has no attribute 'registerSynch'] [In reply to]

On Sat, 2009-05-16 at 08:20 +0200, Michael Howitz wrote:

> You use a really ancient version of zope.app.publication. This bug was
> fixed in version 3.5.0 of zope.app.publication. I think at least this
> version is required to be used together with ZODB 3.9.
>

Thanks for pointing this out Michael. Some updating led to more which
led to more ... I didn't realize that Grok was so far behind in so
many packages. :-)

This is going to take awhile but I WILL HAVE MY ZOBD3.9x and
RelStorage! ;-)

Cheers,
Tim
Attachments: signature.asc (0.19 KB)

Zope dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.