NuxeoDrive and PyQt dependencies


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/”, line 469, in handle

return handler(options)

File “/usr/local/lib/python2.7/dist-packages/nxdrive/”, line 500, in launch

app = self._get_application(options, console=console)

File “/usr/local/lib/python2.7/dist-packages/nxdrive/”, line 488, in _get_application

from nxdrive.wui.application import Application

File “/usr/local/lib/python2.7/dist-packages/nxdrive/wui/”, line 13, in

from nxdrive.wui.systray import DriveSystrayIcon

File “/usr/local/lib/python2.7/dist-packages/nxdrive/wui/”, line 8, in

from nxdrive.wui.dialog import WebDialog, WebDriveApi

File “/usr/local/lib/python2.7/dist-packages/nxdrive/wui/”, line 8, in

from PyQt4 import QtGui, QtCore, QtWebKit, QtNetwork

ImportError: cannot import name QtWebKit `

0 votes

2 answers




The fix would be to migrate nuxeo-drive from PyQt4 to PyQt5 as referenced by

Unfortunately for now I don't see any other solution than staying on Ubuntu LTS 16.04.


0 votes

Du coup, il est prévu que vous migriez sur PyQT5 à un moment donné ?

Yes, we will remove the seriously obsolete Qt4 in a near future. But we cannot give you a version nor a date.

ok, thank you. Let me know when it's ready. I will be please to test that version if you need it.

FTR starting with Drive 4.2.0, an AppImage file is available for GNU/Linux users: No more need for manual installation, it is a self-contained file, download-and-run, that's it! :)

0 votes