NuxeoDrive and PyQt dependencies
Hi,
since i upgrade Ubuntu to the last release : 16.10, i can't launch ndrive anymore. I'm using Ubuntu 16.10 and PyQt4 webkit is no longer supported. Anybody found a solution for this ?
Here is the logs : ` ERROR nxdrive.commandline Error executing 'launch': cannot import name QtWebKit Traceback (most recent call last): File “/usr/local/lib/python2.7/dist-packages/nxdrive/commandline.py”, line 469, in handle
return handler(options)
File “/usr/local/lib/python2.7/dist-packages/nxdrive/commandline.py”, line 500, in launch
app = self._get_application(options, console=console)
File “/usr/local/lib/python2.7/dist-packages/nxdrive/commandline.py”, line 488, in _get_application
from nxdrive.wui.application import Application
File “/usr/local/lib/python2.7/dist-packages/nxdrive/wui/application.py”, line 13, in
from nxdrive.wui.systray import DriveSystrayIcon
File “/usr/local/lib/python2.7/dist-packages/nxdrive/wui/systray.py”, line 8, in
from nxdrive.wui.dialog import WebDialog, WebDriveApi
File “/usr/local/lib/python2.7/dist-packages/nxdrive/wui/dialog.py”, line 8, in
from PyQt4 import QtGui, QtCore, QtWebKit, QtNetwork
ImportError: cannot import name QtWebKit `
Hi,
The fix would be to migrate nuxeo-drive from PyQt4 to PyQt5 as referenced by https://jira.nuxeo.com/browse/NXP-13700.
Unfortunately for now I don't see any other solution than staying on Ubuntu LTS 16.04.
Regards
FTR starting with Drive 4.2.0, an AppImage file is available for GNU/Linux users: https://community.nuxeo.com/static/drive-updates/nuxeo-drive-x86_64.AppImage No more need for manual installation, it is a self-contained file, download-and-run, that's it! :)