[Python-de] Re: Python-de digest, Vol 1 #283 - 2 msgs

Wolfgang Teschner wtr at hannover.sgh-net.de
Fri Dec 21 23:17:21 EST 2001


Hallo, Stefan,
DAS haette mir wirklich selber auffallen muessen, so ein Mist!
Sorry!!
Vielen Dank,
wolfgang

On Fri, 21 Dec 2001 18:01:04 +0100 (MET), you wrote:

>Send Python-de mailing list submissions to
>	python-de at starship.python.net
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	http://starship.python.net/mailman/listinfo/python-de
>or, via email, send a message with subject or body 'help' to
>	python-de-request at starship.python.net
>
>You can reach the person managing the list at
>	python-de-admin at starship.python.net
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Python-de digest..."
>
>
>Today's Topics:
>
>   1. problems with mx.datetime (Wolfgang Teschner)
>   2. Re: problems with mx.datetime (Stefan Schwarzer)
>
>--__--__--
>
>Message: 1
>From: Wolfgang Teschner <wtr at hannover.sgh-net.de>
>To: python-de at starship.python.net
>Date: Wed, 19 Dec 2001 18:42:36 +0100
>Subject: [Python-de] problems with mx.datetime
>Reply-To: python-de at starship.python.net
>
>Ich bekomme schon beim Importieren des DateTime (was ich fuer die
>Ansprache des mx-Oracle-Drivers brauche) einen Fehler:
>
>C:\Python21>testDT.py
>Traceback (most recent call last):
>=46ile "C:\Python21\testDT.py", line 3, in ?
>from mx.DateTime import *                           <-------my import
>=46ile "C:\Python21\mx\DateTime\__init__.py", line 40, in ?
>class modinit:
>=46ile "C:\Python21\mx\DateTime\__init__.py", line 50, in modinit
>_DT)
>=46ile "C:\Python22\lib\copy_reg.py", line 16, in pickle
>raise TypeError("copy_reg is not intended for use with classes")
>TypeError: copy_reg is not intended for use with classes
>-------------------------------------------------------------------=20
>The directory structure is C:\Python21\mx\DateTime\mxDateTime,=20
>which was generated at installation of the mx package.=20
>Can anybody help?=20
>Thanks,=20
>wolfgang teschner
>
>
>--__--__--
>
>Message: 2
>Date: Fri, 21 Dec 2001 11:53:56 +0100
>From: Stefan Schwarzer <s.schwarzer at ndh.net>
>Organization: .
>To: python-de at starship.python.net
>Subject: Re: [Python-de] problems with mx.datetime
>Reply-To: python-de at starship.python.net
>
>Hallo Wolfgang,
>
>Wolfgang Teschner wrote:
>> Ich bekomme schon beim Importieren des DateTime (was ich fuer die
>> Ansprache des mx-Oracle-Drivers brauche) einen Fehler:
>> 
>> C:\Python21>testDT.py
>> Traceback (most recent call last):
>> File "C:\Python21\testDT.py", line 3, in ?
>> from mx.DateTime import *                           <-------my import
>> File "C:\Python21\mx\DateTime\__init__.py", line 40, in ?
>> class modinit:
>> File "C:\Python21\mx\DateTime\__init__.py", line 50, in modinit
>> _DT)
>> File "C:\Python22\lib\copy_reg.py", line 16, in pickle
>> raise TypeError("copy_reg is not intended for use with classes")
>> TypeError: copy_reg is not intended for use with classes
>
>was mir auffällt, ist, dass mxDateTime aus C:\Python21\mx\DateTime,
>copy_reg.py aber aus C:\Python22 geladen wird. Lief mxDateTime schonmal
>bei dir unter Python 2.1? Wenn ja, könnte das den Fehler zumindest
>einzugrenzen helfen.
>
>Da sich mxDateTime (per distutils?) unter C:\Python21 installiert hat,
>copy_reg aber von C:\Python22 geladen wird, gibt es anscheinend noch
>Unverträglichkeiten in deinen Python-Installationen.
>
>Tschaui
> Stefan
>
>
>--__--__--
>
>_______________________________________________
>Python-de maillist  -  Python-de at starship.python.net
>http://starship.python.net/mailman/listinfo/python-de
>
>
>End of Python-de Digest




More information about the Python-de mailing list