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

Mailing List Archive: Zope: CMF

Fwd: [Zope-dev] Products.CMFUid runtime issue

 

 

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


cvs-src at yandex

Sep 25, 2011, 2:04 AM

Post #1 of 6 (804 views)
Permalink
Fwd: [Zope-dev] Products.CMFUid runtime issue

Forwarding to correct list.

-------- Исходное сообщение --------
Тема: [Zope-dev] Products.CMFUid runtime issue
Дата: Fri, 23 Sep 2011 11:44:00 +0400
От: Ruslan Mahmatkhanov <cvs-src [at] yandex>
Кому: zope-dev [at] zope

Good day.

When trying to access zope with Products.CMFUid installed, i got this
error:
"""
File
"/usr/local/lib/python2.7/site-packages/Products.CMFUid-2.1.3-py2.7.egg/Products/CMFUid/UniqueIdAnnotationTool.py",

line 118, in UniqueIdAnnotationTool
SimpleItem.__implements__,
AttributeError: type object 'SimpleItem' has no attribute '__implements__'
"""

I dunno if this correct solution, but i was able to avoid this with
changing calls to SimpleItem.__implements__ to
SimpleItem.__implemented__. And all seems working fine.

Patches are here:
https://github.com/mexicarne/zope/commit/1398afc68dd412d5dbe84f5fd5eadf0ae7a18c24

Please consider to commit.

--
Regards,
Ruslan

Tinderboxing kills... the drives.


_______________________________________________
Zope-CMF maillist - Zope-CMF [at] zope
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


charlie.clark at clark-consulting

Sep 27, 2011, 2:41 PM

Post #2 of 6 (760 views)
Permalink
Re: Fwd: [Zope-dev] Products.CMFUid runtime issue [In reply to]

Am 25.09.2011, 11:04 Uhr, schrieb Ruslan Mahmatkhanov <cvs-src [at] yandex>:

> Good day.
> When trying to access zope with Products.CMFUid installed, i got this
> error:
> """
> File
> "/usr/local/lib/python2.7/site-packages/Products.CMFUid-2.1.3-py2.7.egg/Products/CMFUid/UniqueIdAnnotationTool.py",
> line 118, in UniqueIdAnnotationTool
> SimpleItem.__implements__,
> AttributeError: type object 'SimpleItem' has no attribute
> '__implements__'
> """
> I dunno if this correct solution, but i was able to avoid this with
> changing calls to SimpleItem.__implements__ to
> SimpleItem.__implemented__. And all seems working fine.

Hi Ruslan,

I've just looked at this and it seems that we never released a 2.2 version
of CMFUid so you're using a very old bit of code that is most probably not
suited to your version of Zope. You should be okay with the 2.2.0-beta
version.

Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
_______________________________________________
Zope-CMF maillist - Zope-CMF [at] zope
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


cvs-src at yandex

Sep 27, 2011, 9:29 PM

Post #3 of 6 (756 views)
Permalink
Re: Fwd: [Zope-dev] Products.CMFUid runtime issue [In reply to]

Charlie Clark wrote on 28.09.2011 01:41:
> Am 25.09.2011, 11:04 Uhr, schrieb Ruslan Mahmatkhanov<cvs-src [at] yandex>:
>
>> Good day.
>> When trying to access zope with Products.CMFUid installed, i got this
>> error:
>> """
>> File
>> "/usr/local/lib/python2.7/site-packages/Products.CMFUid-2.1.3-py2.7.egg/Products/CMFUid/UniqueIdAnnotationTool.py",
>> line 118, in UniqueIdAnnotationTool
>> SimpleItem.__implements__,
>> AttributeError: type object 'SimpleItem' has no attribute
>> '__implements__'
>> """
>> I dunno if this correct solution, but i was able to avoid this with
>> changing calls to SimpleItem.__implements__ to
>> SimpleItem.__implemented__. And all seems working fine.
>
> Hi Ruslan,
>
> I've just looked at this and it seems that we never released a 2.2 version
> of CMFUid so you're using a very old bit of code that is most probably not
> suited to your version of Zope. You should be okay with the 2.2.0-beta
> version.
>
> Charlie

Hi, Charlie.

Where can i get that 2.2.0-beta? I checked PyPi and they hold on 2.1.3:
http://pypi.python.org/pypi/Products.CMFUid

Maybe you can update it there to latest one? Thanks.

--
Regards,
Ruslan

Tinderboxing kills... the drives.
_______________________________________________
Zope-CMF maillist - Zope-CMF [at] zope
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


charlie.clark at clark-consulting

Sep 28, 2011, 7:38 AM

Post #4 of 6 (753 views)
Permalink
Re: Fwd: [Zope-dev] Products.CMFUid runtime issue [In reply to]

Am 27.09.2011, 23:41 Uhr, schrieb Charlie Clark
<charlie.clark [at] clark-consulting>:

> Hi Ruslan,
> I've just looked at this and it seems that we never released a 2.2
> version
> of CMFUid so you're using a very old bit of code that is most probably
> not
> suited to your version of Zope. You should be okay with the 2.2.0-beta
> version.

It looks like there was a 2.2.1 tag made but never released. Was there a
reason for this or just an oversight? I have just run the CMFUid tests
with Python 2.6 against Zope-2.13.9 and all passed. Is that okay for a
release?

Ruslan, as for putting these into the BSD ports tree, I think that's fine
with Zope but I can't really think of a need for a standalone CMF build.

Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
_______________________________________________
Zope-CMF maillist - Zope-CMF [at] zope
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


charlie.clark at clark-consulting

Nov 20, 2011, 6:16 AM

Post #5 of 6 (653 views)
Permalink
Re: Fwd: [Zope-dev] Products.CMFUid runtime issue [In reply to]

Am 28.09.2011, 16:38 Uhr, schrieb Charlie Clark
<charlie.clark [at] clark-consulting>:

> Am 27.09.2011, 23:41 Uhr, schrieb Charlie Clark
> <charlie.clark [at] clark-consulting>:
>
>> Hi Ruslan,
>> I've just looked at this and it seems that we never released a 2.2
>> version
>> of CMFUid so you're using a very old bit of code that is most probably
>> not
>> suited to your version of Zope. You should be okay with the 2.2.0-beta
>> version.
>
> It looks like there was a 2.2.1 tag made but never released. Was there a
> reason for this or just an oversight? I have just run the CMFUid tests
> with Python 2.6 against Zope-2.13.9 and all passed. Is that okay for a
> release?
>
> Ruslan, as for putting these into the BSD ports tree, I think that's fine
> with Zope but I can't really think of a need for a standalone CMF build.
>
> Charlie

A follow-up on this after discussing the issue with Jens at the Zope 4
sprint in Berlin: 2.2 was released but flagged as "hidden" on PyPI. That
flag has now been removed. Ruslan, can you confirm that your BSD port now
works as expected?

Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Kronenstr. 27a
Düsseldorf
D- 40217
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
_______________________________________________
Zope-CMF maillist - Zope-CMF [at] zope
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


cvs-src at yandex

Jan 4, 2012, 1:23 AM

Post #6 of 6 (565 views)
Permalink
Re: Fwd: [Zope-dev] Products.CMFUid runtime issue [In reply to]

Charlie Clark wrote on 20.11.2011 18:16:
> Am 28.09.2011, 16:38 Uhr, schrieb Charlie Clark
> <charlie.clark [at] clark-consulting>:
>
>> Am 27.09.2011, 23:41 Uhr, schrieb Charlie Clark
>> <charlie.clark [at] clark-consulting>:
>>
>>> Hi Ruslan,
>>> I've just looked at this and it seems that we never released a 2.2
>>> version
>>> of CMFUid so you're using a very old bit of code that is most probably
>>> not
>>> suited to your version of Zope. You should be okay with the 2.2.0-beta
>>> version.
>>
>> It looks like there was a 2.2.1 tag made but never released. Was there a
>> reason for this or just an oversight? I have just run the CMFUid tests
>> with Python 2.6 against Zope-2.13.9 and all passed. Is that okay for a
>> release?
>>
>> Ruslan, as for putting these into the BSD ports tree, I think that's fine
>> with Zope but I can't really think of a need for a standalone CMF build.
>>
>> Charlie
>
> A follow-up on this after discussing the issue with Jens at the Zope 4
> sprint in Berlin: 2.2 was released but flagged as "hidden" on PyPI. That
> flag has now been removed. Ruslan, can you confirm that your BSD port now
> works as expected?
>
> Charlie

I'm sorry for delay. I can confirm that all is now fine with it, thank
you! Btw, i finally finished importing zope2.13/plone4 into the FreeBSD
ports tree. All seems fine beside some strange plone themes rendering
issue in production mode (all is working fine when in `debug-mode on'),
but this is a topic for another mailing list :).
Thanks.

--
Regards,
Ruslan

Tinderboxing kills... the drives.
_______________________________________________
Zope-CMF maillist - Zope-CMF [at] zope
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

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


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.