[moin-user] problem after upgrade to Fedora 30

mariusz sapinski mariusz.sapinski at gmail.com
Tue Jun 25 05:08:03 EDT 2019

Dear all,
I have upgraded to Fedora 30 (from 28) and since then, when I run
standalone moin moin server:
moin --config-dir=/home/rabarbar/PHYS/wiki server standalone

I get error message:
2019-06-25 11:05:04,836 INFO MoinMoin.log:151 using logging configuration
read from built-in fallback in MoinMoin.log module
2019-06-25 11:05:04,836 INFO MoinMoin.log:157 Running MoinMoin 1.9.10
release code from /usr/lib/python2.7/site-packages/MoinMoin
Traceback (most recent call last):
  File "/usr/bin/moin", line 6, in <module>
  File "/usr/lib/python2.7/site-packages/MoinMoin/script/moin.py", line 15,
in run
  File "/usr/lib/python2.7/site-packages/MoinMoin/script/__init__.py", line
138, in run
  File "/usr/lib/python2.7/site-packages/MoinMoin/script/__init__.py", line
251, in mainloop
    from MoinMoin import wikiutil
  File "/usr/lib/python2.7/site-packages/MoinMoin/wikiutil.py", line 892,
in <module>
    for name, short, patterns, mime in pygments.lexers.get_all_lexers():
line 53, in get_all_lexers
    for lexer in find_plugin_lexers():
line 53, in find_plugin_lexers
    yield entrypoint.load()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line
2411, in load
    return self.resolve()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line
2417, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
ImportError: No module named IPython.lib.lexers

I do have Ipython2 installed, however I also have Ipython3 and default
Ipython points to version 3... So I suspect the problem somewhere there,
but how to deal with it?

Best! Mariusz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20190625/d0db56f2/attachment.html>

More information about the moin-user mailing list