Re: Python mx.DateTime
[CC me on replies, since I don't subscribe to debian-user.]
Wayne Topa <wtopa@dmcom.net> writes:
> The old program now runs on 1.5 and 2.1 but python2.2 comes up with a
> bunch of module errors.
>
> Traceback (most recent call last):
> File "/usr/local/bin/net_time.py", line 19, in ?
> on = DateTimeFrom(lines[0])
> File "/usr/lib/python2.2/site-packages/mx/DateTime/DateTime.py", line 218, in DateTimeFrom
> import Parser
> File "/usr/lib/python2.2/site-packages/mx/DateTime/Parser.py", line 18, in ?
> import DateTime,ISO,ARPA,Timezone
> File "/usr/lib/python2.2/site-packages/mx/DateTime/ISO.py", line 14, in ?
> import DateTime,Timezone
> File "/usr/lib/python2.2/site-packages/mx/DateTime/Timezone.py", line 49, in ?
> tzRE= re.compile(tz)
> File "/usr/lib/python2.2/sre.py", line 178, in compile
> return _compile(pattern, flags)
> File "/usr/lib/python2.2/sre.py", line 228, in _compile
> raise error, v # invalid expression
> sre_constants.error: redefinition of group name 'sign' as group 7; was group 3
This seems to have been fixed in MX DateTime version 2.0.3. Please
try with a current package from unstable
(http://packages.debian.org/unstable/interpreters/python2.2-egenix-mxdatetime.html).
> I'm copying the maintainer just in case he hasn't seen the above.
I hadn't.
Regards,
Joel
--
Joel Rosdahl <joel@debian.org> (PGP and GPG keys available)
Reply to: