-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.6.0-HF22, 5.7.3
-
Component/s: Nuxeo Drive
-
Tags:
-
Backlog priority:200
It is possible to install PySide on Mac OSX using HomeBrew using brew install pyside to build the following packages from source (at time of writing):
- qt-4.8.4.mountain_lion.bottle.1.tar.gz
- shiboken-1.1.2.tar.bz2
- pyside-1.1.2.tar.bz2
Nuxeo Drive works as expected when using this version PySide when running on the dev machine that built it. However when building the frozen Nuxeo Drive.app version with python setup.py py2app on a the dev machine (e.g. running OSX 10.8) and running it on another machine running OS X, one get the following crash at application startup:
Current thread 0x00007fff7a1ea960: File "PySide/QtCore.pyc", line 12 in __load File "PySide/QtCore.pyc", line 17 in <module> File "PySide/QtGui.pyc", line 12 in __load File "PySide/QtGui.pyc", line 17 in <module> File "nxdrive/gui/authentication.pyc", line 11 in <module> File "nxdrive/gui/application.pyc", line 8 in <module> File "nxdrive/commandline.pyc", line 327 in launch File "nxdrive/commandline.pyc", line 315 in handle File "nxdrive/commandline.pyc", line 462 in main File "/Applications/Nuxeo Drive.app/Contents/Resources/ndrive.py", line 6 in <module> File "/Applications/Nuxeo Drive.app/Contents/Resources/__boot__.py", line 38 in _run File "/Applications/Nuxeo Drive.app/Contents/Resources/__boot__.py", line 43 in <module> Illegal instruction: 4
This freeze / portability problem does *not* occur when installing PySide 1.1.1 and QT 4.8.1 from http://qt-project.org/wiki/PySide_Binaries_MacOSX
So the problem might either come from:
- a change between QT 4.8.1 and QT 4.8.4
- a change between PySide 1.1.1 and 1.1.2
- a specific build option in the HomeBrew recipe of either qt or pyside
- a bug in py2app
- depends on
-
NXP-11799 Use PyQT instead of PySide
- Resolved