Problem building on Fedora 20

Asked by Edward Diener on 2014-05-05

When I try to build menulibre on Fedora 20 I get:

python ./setup.py install >menulibre.elog
Traceback (most recent call last):
  File "./setup.py", line 184, in <module>
    cmdclass={'install': InstallAndUpdateDataDirectory}
  File "/usr/lib/python2.7/site-packages/DistUtilsExtra/auto.py", line 98, in setup
    __requires(attrs, src_all)
  File "/usr/lib/python2.7/site-packages/DistUtilsExtra/auto.py", line 470, in __requires
    __add_imports(imports, s, attrs)
  File "/usr/lib/python2.7/site-packages/DistUtilsExtra/auto.py", line 411, in __add_imports
    elif node.module and __external_mod(cur_module, node.module, attrs):
  File "/usr/lib/python2.7/site-packages/DistUtilsExtra/auto.py", line 353, in __external_mod
    mod = __import__(cur_module + '.' + module)
  File "/home/fceldiener/Download/temp/menulibre-2.0.3/menulibre/__init__.py", line 23, in <module>
    from menulibre import MenulibreApplication
  File "/home/fceldiener/Download/temp/menulibre-2.0.3/menulibre/MenulibreApplication.py", line 25, in <module>
    from . import MenuEditor, MenulibreXdg, XmlMenuElementTree, util
  File "/home/fceldiener/Download/temp/menulibre-2.0.3/menulibre/XmlMenuElementTree.py", line 55, in <module>
    class XmlMenuElement(Element):
TypeError: Error when calling the metaclass bases
    cannot create 'builtin_function_or_method' instances

Is there some Python package I need to install ?

Question information

Language:
English Edit question
Status:
Answered
For:
MenuLibre Edit question
Assignee:
No assignee Edit question
Last query:
2014-05-05
Last reply:
2014-05-14
Sean Davis (bluesabre) said : #1

Menulibre requires Python 3. Please try building with python3.

Can you help with this problem?

Provide an answer of your own, or ask Edward Diener for more information if necessary.

To post a message you must log in.