I recently received this bug notification from my macports version of pymvpa. It should be the most current stable release 0.4.2, so I think this might be an upstream issue.

Cheers,

-james

Begin forwarded message:
Hi there,

I noticed a very simple issue in the current pymvpa port when using "from mvpa.suite import *", and I saw this email-address as macport maintainer, so I figured I'd notify you.


File "/opt/local/lib/python2.5/site-packages/mvpa/base/ externals.py", line 31, in __version_to_tuple v = tuple([int(x) for x in v.split('.') if not x.startswith('dev')])
ValueError: invalid literal for int() with base 10: '1rc3'
>>> edit /opt/local/lib/python2.5/site-packages/mvpa/base/ externals.py
  File "<stdin>", line 1
edit /opt/local/lib/python2.5/site-packages/mvpa/base/ externals.py
                                ^
SyntaxError: invalid syntax
>>>

(it worked after I modified the line to "v = tuple([int(x) for x in v.split('.') if x.isdigit()])")

Thanks for making mvpa available!
Christian

_______________________________________________
Pkg-ExpPsy-PyMVPA mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa

Reply via email to