import error on mext

7 views
Skip to first unread message

mike

unread,
Jun 13, 2010, 7:29:52 PM6/13/10
to Better Python
Hi,

I believe recent changes to Reaction and AddOns-fork packages are
broken. I am trying to install them on a new computer, and I am
getting the following error. Any ideas?

Thanks!
Mike


$ python
Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import mext.reaction
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build/bdist.macosx-10.6-universal/egg/mext/reaction/
__init__.py", line 4, in <module>
File "build/bdist.macosx-10.6-universal/egg/mext/reaction/celltypes/
__init__.py", line 8, in <module>
File "build/bdist.macosx-10.6-universal/egg/mext/reaction/celltypes/
compute.py", line 6, in <module>
File "build/bdist.macosx-10.6-universal/egg/mext/reaction/celltypes/
connector.py", line 2, in <module>
ImportError: No module named addons

Sergey Schetinin

unread,
Jun 13, 2010, 10:39:25 PM6/13/10
to better...@googlegroups.com, mike
Hi Mike,
Thanks for the report. The problem was caused by changes in how I
generated version numbers for some of the dependencies -- instead of
1.0.r100 (note the 'r' prefix for revision number) I was doing 1.0.100
(no 'r'). This caused problems when releasing minor versions such as
1.0.1 because a version '1.0.1.200' is considered lower than '1.0.100'
and thus the older version was treated if it was newer. I've fixed
this by fixing and bumping version numbers for affected libraries and
by making Reaction explicitly depend on those newer versions, so it's
fixed in trunk. I also did a 0.2.2 release just for this fix:
http://pypi.python.org/pypi/Reaction/0.2.2

Anyway, just update Reaction and it should all get fixed.

Regards,
Sergey

> --
> Mailing list: http://groups.google.com/group/better-python
> Unsubscribe: better-pytho...@googlegroups.com

--
Best Regards,
Sergey Schetinin

http://self.maluke.com/ -- My articles and open-source stuff
http://www.maluke.com/ -- My commercial software and custom development services

michael j pan

unread,
Jun 14, 2010, 1:59:11 PM6/14/10
to Sergey Schetinin, better...@googlegroups.com
Thanks for the quick fix, works great!
Mike
Reply all
Reply to author
Forward
0 new messages