cancel
Showing results for 
Search instead for 
Did you mean: 

NuxeoDrive and PyQt dependencies

jeremie_
Confirmed Champ
Confirmed Champ

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 <module> from nxdrive.wui.systray import DriveSystrayIcon File "/usr/local/lib/python2.7/dist-packages/nxdrive/wui/systray.py", line 8, in <module> from nxdrive.wui.dialog import WebDialog, WebDriveApi File "/usr/local/lib/python2.7/dist-packages/nxdrive/wui/dialog.py", line 8, in <module> from PyQt4 import QtGui, QtCore, QtWebKit, QtNetwork ImportError: cannot import name QtWebKit

1 ACCEPTED ANSWER

ataillefer_
Star Contributor
Star Contributor

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

View answer in original post

5 REPLIES 5

ataillefer_
Star Contributor
Star Contributor

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

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.

Mickaël_Schoent
Star Contributor
Star Contributor

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! 🙂

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.