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 `

0 votes

2 answers

2075 views

ANSWER



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

0 votes



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

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

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


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! :)

0 votes