Re: Plonebooking für Plone4

Andreas Jung <[email protected]>
Newsgroups gmane.comp.web.zope.german
Organization ZOPYX Ltd & Co. KG
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

alt:

class ISomeInterface(Interface.Interface):
 ....

neu:

class ISomeInterface(zope.interface.Interface):
 ...


alt:

class SomeClass(...):

  __implements__ = ISomeInterface

neu:

class SomeClass(...):

   zope.interface.implements(ISomeInterface)

- -aj

Frank Poetzsch-Heffter wrote:
> Hallo,
> 
> da eine Anfrage beim maintainer nach einem Update von PloneBooking für
> Plone4 leider ohne Antwort blieb, versuche ich es nun selbst.
> 
> Nun scheitere ich an folgendem Traceback:
> --------------------------------------------------------------------
>  2010-11-14 18:48:12 ERROR Application Could not import Products.PloneBooking
> Traceback (most recent call last):
>   File "/home/ph/plone/4.0/buildout-cache/eggs/Zope2-2.12.11-py2.6-linux-i686.egg/OFS/Application.py",
> line 596, in import_product
>     product=__import__(pname, global_dict, global_dict, silly)
>   File "/home/ph/plone/4.0/buildout-cache/eggs/Products.PloneBooking-2.2.3-py2.6.egg/Products/PloneBooking/__init__.py",
> line 48, in <module>
>     from Products.PloneBooking.BookingTool import BookingTool
>   File "/home/ph/plone/4.0/buildout-cache/eggs/Products.PloneBooking-2.2.3-py2.6.egg/Products/PloneBooking/BookingTool.py",
> line 68, in <module>
>     class BookingTool(DateManager, UniqueObject, SimpleItem,
> ActionProviderBase):
>   File "/home/ph/plone/4.0/buildout-cache/eggs/Products.PloneBooking-2.2.3-py2.6.egg/Products/PloneBooking/BookingTool.py",
> line 78, in BookingTool
>     __implements__ = (ActionProviderBase.__implements__,
> AttributeError: class ActionProviderBase has no attribute '__implements__'
> ------------------------------------------------------------------
> 
> In der Doku zur Produktmigration lese ich, dass statt
> '__implements__ ='   nun   'implements()' verwendet wird. mir ist aber
> nicht klar, wie ich die folgende Zeile ändern muss:
> 
> __implements__ = (ActionProviderBase.__implements__,
> SimpleItem.__implements__, )
> 
> Für Hilfe dankbar
>  Frank
> 
> 
> _______________________________________________
> zope mailing list
> [email protected]
> https://mail.dzug.org/mailman/listinfo/zope


- -- 
ZOPYX Limited           | zopyx group
Charlottenstr. 37/1     | The full-service network for Zope & Plone
D-72070 Tübingen        | Produce & Publish
www.zopyx.com           | www.produce-and-publish.com
- ------------------------------------------------------------------------
E-Publishing, Python, Zope & Plone development, Consulting


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQGUBAEBAgAGBQJM4M7/AAoJEADcfz7u4AZjpm4LwIfAzFl7vps/E+q3uDWmdMbf
iGX5QmNwOPUGEfJhilHJW/RXKwb16JOnXTevDOnFFGRBG3mHnyxsR4xJDYgK0UU9
XDoafaaFycbzC6KYJwlSHjCQNSSL07jH4W/P/+P01W2rQ7+rS9/IYa8W2OzD/EU8
TKXqjYnOT/OHD9LpIDilKVlM5VHA9yNu6/70CQU15WHVdQum21BgVPvUBhgBMsUm
MW0abF61jmCSgkUxYiw1TMoJdjPYYD5zvtBLGX6XJOcLwin3nakhC/wgBLcI+IRN
5Hdcs4CHxVEeUd7xjBhDdZUOn5I1VCu3HQBONoRtwiXnC6adnZ6ca90xViPCfL0a
Ci/JvMX0+PluktCF+IfCPwCfxXOUfoFfwEaaT7x0b4kiMmjCS8zlKSKv8pV0gELo
S+gANLGWJK6nF+2/ioHSu+WtN5/dudpYpfiSUUPigCI64erODfWu8+c9rY0CFrac
jTxLCQUhwJrul5DZNg1sSD8CSofeoh8=
=bvTk
-----END PGP SIGNATURE-----



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lists.vcf (text/x-vcard, 316 B)
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:[email protected]
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.