lilypond-user
[Top][All Lists]
Advanced

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

Re: Running Frescobaldi 3 on OSX?


From: John Helly
Subject: Re: Running Frescobaldi 3 on OSX?
Date: Tue, 3 Sep 2019 11:59:30 -0700
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

Aloha.

I did work compiling FB with LP but gave in in favor of the MacPorts
version which is working for me.  I'm running OSX 10.4.3 and don't have
much to say about Qt.  I perhaps could answer specific questions about
what FB is using based on the console log if that would help.

J.

On 9/3/19 10:51, Henning Hraban Ramm wrote:
> 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
>
>
>
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user

-- 
================================================
University of Hawaii, Maui College / Mobile 760.840.8660




reply via email to

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