lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Running Frescobaldi 3 on OSX?


From: Henning Hraban Ramm
Subject: Running Frescobaldi 3 on OSX?
Date: Tue, 3 Sep 2019 19:51:12 +0200

Hi,

I guess *someone* did manage to compile Frescobaldi 3.x on a Mac.
I juggled around with PyQT, MacPorts and Homebrew and didn’t succeed for a long 
time, there was always at least one of the many dependencies missing or not 
compiling. (First on OSX 10.9.5, now on 10.14.6)

Now it looks like I got everything with MacPorts, but if I call the frescobaldi 
script from the egg, I get:

$ 
/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi-3.0.0-py3.7.egg/EGG-INFO/scripts/frescobaldi
 

objc[34400]: Class QMacAutoReleasePoolTracker is implemented in both 
/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore
 (0x10876a5a0) and 
/opt/local/libexec/qt5/lib/QtCore.framework/Versions/5/QtCore (0x110f87a70). 
One of the two will be used. Which one is undefined.
objc[34400]: Class 
QT_ROOT_LEVEL_POOL__THESE_OBJECTS_WILL_BE_RELEASED_WHEN_QAPP_GOES_OUT_OF_SCOPE 
is implemented in both 
/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore
 (0x10876a618) and 
/opt/local/libexec/qt5/lib/QtCore.framework/Versions/5/QtCore (0x110f87ae8). 
One of the two will be used. Which one is undefined.
objc[34400]: Class RunLoopModeTracker is implemented in both 
/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore
 (0x10876a640) and 
/opt/local/libexec/qt5/lib/QtCore.framework/Versions/5/QtCore (0x110f87b10). 
One of the two will be used. Which one is undefined.
Traceback (most recent call last):
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/plugin.py",
 line 79, in instance
    return _instances[cls][obj]
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/weakref.py",
 line 396, in __getitem__
    return self.data[ref(key)]
KeyError: <weakref at 0x11027da10; to 'type' at 0x7f9d8753fde0 (PanelManager)>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi-3.0.0-py3.7.egg/EGG-INFO/scripts/frescobaldi",
 line 11, in <module>
    main.main()                     # Parse command line, create windows etc
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/main.py",
 line 247, in main
    win = mainwindow.MainWindow()
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/mainwindow.py",
 line 128, in __init__
    self.createMenus()
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/mainwindow.py",
 line 1010, in createMenus
    menu.createMenus(self)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/menu.py",
 line 61, in createMenus
    m.addMenu(menu_file(mainwindow))
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/menu.py",
 line 96, in menu_file
    m.addMenu(snippet.menu.TemplateMenu(mainwindow))
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/snippet/menu.py",
 line 139, in __init__
    self.addAction(self.tool().actionCollection.templates_manage)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/snippet/menu.py",
 line 59, in tool
    return panelmanager.manager(self.mainwindow()).snippettool
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/panelmanager.py",
 line 36, in manager
    return PanelManager.instance(mainwindow)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/plugin.py",
 line 84, in instance
    result.__init__(obj)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/panelmanager.py",
 line 51, in __init__
    self.loadPanel("musicview.MusicViewPanel")
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/panelmanager.py",
 line 86, in loadPanel
    __import__(module_name)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/musicview/__init__.py",
 line 56, in <module>
    from . import documents
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/frescobaldi_app/musicview/documents.py",
 line 32, in <module>
    import popplerqt5
ValueError: PyCapsule_GetPointer called with incorrect name


If I remove (hide, rename) one of the two QtCore instances, it fails earlier, 
because something’s missing:

ModuleNotFoundError: No module named 'PyQt5.QtWebKitWidgets'

or

ImportError: 
dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyQt5/QtCore.so,
 2): Library not loaded: @rpath/QtCore.framework/Versions/5/QtCore
  Referenced from: 
/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyQt5/QtCore.so


Of course I also tried to run the python scripts from 
site-packages/frescobaldi_app, but it seems they’re not meant for running.

What to do?


Greetlings, Hraban
---
fiëé visuëlle
Henning Hraban Ramm
https://www.fiee.net







reply via email to

[Prev in Thread] Current Thread [Next in Thread]