[Bug 1620300] Re: Spyder won't start (ImportError: No module named QtWebKit)

2016-11-14 Thread Scott Howard
** Description changed:

- After installing packages Spyder I tried to launch it but it reported:
+ Spyder won't start at all because Qt4WebKit has been removed. No small
+ fix can be applied. To fix this, we must either re-introduce Qt4WebKit
+ and use the xenial version of spyder (not going to happen), or use the
+ version in zesty that is compatible with Qt5 (what is suggested here).
+ Attachment to comment #12 is a debdiff against the version of spyder in
+ zesty in order to work with the depending packages in yakkety.
+ 
+ [Test Case]
+ > apt-get install spyder3
+ > spyder3
+ ImportError: No module named QtWebKit
+ 
+ [Regression Potential]
+ can't get any worse
+ 
+ 
+ 
+ Original report: After installing packages Spyder I tried to launch it
+ but it reported:
  
  ** (python:19931): WARNING **: Couldn't register with accessibility bus: Did 
not receive a reply. Possible causes include: the remote application did not 
send a reply, the message bus security policy blocked the reply, the reply 
timeout expired, or the network connection was broken.
  Traceback (most recent call last):
-   File "/usr/lib/python2.7/dist-packages/spyderlib/spyder.py", line 2331, in 
main
- mainwindow = run_spyder(app, options, args)
-   File "/usr/lib/python2.7/dist-packages/spyderlib/spyder.py", line 2215, in 
run_spyder
- main.setup()
-   File "/usr/lib/python2.7/dist-packages/spyderlib/spyder.py", line 734, in 
setup
- message=_("Spyder Internal Console\n\n"
-   File "/usr/lib/python2.7/dist-packages/spyderlib/plugins/console.py", line 
74, in __init__
- self.find_widget.set_editor(self.shell)
-   File "/usr/lib/python2.7/dist-packages/spyderlib/widgets/findreplace.py", 
line 260, in set_editor
- from spyderlib.qt.QtWebKit import QWebView
-   File "/usr/lib/python2.7/dist-packages/spyderlib/qt/QtWebKit.py", line 10, 
in 
- from PyQt4.QtWebKit import *  # analysis:ignore
+   File "/usr/lib/python2.7/dist-packages/spyderlib/spyder.py", line 2331, in 
main
+ mainwindow = run_spyder(app, options, args)
+   File "/usr/lib/python2.7/dist-packages/spyderlib/spyder.py", line 2215, in 
run_spyder
+ main.setup()
+   File "/usr/lib/python2.7/dist-packages/spyderlib/spyder.py", line 734, in 
setup
+ message=_("Spyder Internal Console\n\n"
+   File "/usr/lib/python2.7/dist-packages/spyderlib/plugins/console.py", line 
74, in __init__
+ self.find_widget.set_editor(self.shell)
+   File "/usr/lib/python2.7/dist-packages/spyderlib/widgets/findreplace.py", 
line 260, in set_editor
+ from spyderlib.qt.QtWebKit import QWebView
+   File "/usr/lib/python2.7/dist-packages/spyderlib/qt/QtWebKit.py", line 10, 
in 
+ from PyQt4.QtWebKit import *  # analysis:ignore
  ImportError: No module named QtWebKit
  
- A popup stated: 
+ A popup stated:
  Spyder crashed during last session.
  
  If Spyder does not start at all and before submitting a bug report, please 
try to reset settings to defaults by running Spyder with the command line 
option '--reset':
  python spyder --reset
  
  Warning: this command will remove all your Spyder configuration files
  located in '/home/leo/.spyder2-py3').
  
  ProblemType: Bug
  DistroRelease: Ubuntu 16.10
  Package: spyder 2.3.8+dfsg1-1build1
  ProcVersionSignature: Ubuntu 4.4.0-9136.55-generic 4.4.16
  Uname: Linux 4.4.0-9136-generic x86_64
  ApportVersion: 2.20.3-0ubuntu7
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Sep  5 14:34:36 2016
  InstallationDate: Installed on 2016-09-01 (3 days ago)
  InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Alpha amd64 (20160901)
  PackageArchitecture: all
  SourcePackage: spyder
  UpgradeStatus: No upgrade log present (probably fresh install)

** Summary changed:

- Spyder won't start (ImportError: No module named QtWebKit)
+ [SRU] Spyder won't start (ImportError: No module named QtWebKit)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1620300

Title:
  [SRU] Spyder won't start (ImportError: No module named QtWebKit)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/spyder/+bug/1620300/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1620300] Re: Spyder won't start (ImportError: No module named QtWebKit)

2016-11-14 Thread Scott Howard
Hello all,

Please test the spyder3 package

sudo add-apt-repository ppa:showard314/ppa
sudo apt-get update
sudo apt-get install spyder3

And attached debdiff against 3.0.1+dfsg1-1 (zesty)
I'll reformat for SRU and request sponsorship

** Patch added: "spyder_yakkety.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/spyder/+bug/1620300/+attachment/4777397/+files/spyder_yakkety.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1620300

Title:
  [SRU] Spyder won't start (ImportError: No module named QtWebKit)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/spyder/+bug/1620300/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1620300] Re: Spyder won't start (ImportError: No module named QtWebKit)

2016-11-14 Thread Scott Howard
This SRU is hard. I tried building 3.0.1+dfsg1-1 for yakkety:
https://launchpad.net/~showard314/+archive/ubuntu/ppa


it builds fine, but can't install because of missing dependencies.
python3-spyder : Depends: python3-nbconvert but it is not installable
 Depends: python3-qtconsole but it is not installable

1) python3-qtconsole is really "ipython3-qtconsole," the name was
changed in debian so that can be easy to fix with a patch in Ubuntu.

2) python3-nbconvert is harder (impossible?) to add since it's a brand
new package - and we usually can't get new packages in through SRU.
https://packages.debian.org/source/sid/nbconvert

However, Spyder will probably work without nbconvert, it's only used in two 
spots:
https://github.com/spyder-ide/spyder/blob/28d8b481f2531dca83d3658ae151229601eefb9e/spyder/widgets/explorer.py#L41
https://github.com/spyder-ide/spyder/blob/a3d08162a8f18a8230ef2551af9ef1ac38105711/spyder/widgets/sourcecode/codeeditor.py#L67


Therefore, dropping the nbconvert dependency and changing the python-qtconsole 
to ipython-qtconsole dependency might be enough to get 3.0.1 through an SRU.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1620300

Title:
  Spyder won't start (ImportError: No module named QtWebKit)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/spyder/+bug/1620300/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1620300] Re: Spyder won't start (ImportError: No module named QtWebKit)

2016-11-13 Thread Hans Joachim Desserud
>No chance of getting 3.0.1 into 16.10? Even though the current version
is unusable?

Note I'm talking in general terms here, but usually packages are changed
as little as possible once an Ubuntu version has been released. The main
exceptions are Stable Release Updates [1], these are important issues
with known small, minimal patches or Backports [2], where a newer
version is made available, though in the -backports archive not the main
one.

I don't know how these processes are affected when it comes to fixes for
packages which doesn't work at all, though it might be worth a shot. :)

In any case, one main requirement is that the fix needs to be in the
current development version of Ubuntu before it is applied to older
releases. This is to be able to test and ensure that it works as
expected before introducing it in older releases.

Spyder 3.0.1+dfsg1-1 has been synced to Ubuntu now [3], but it looks
like it hasn't moved from -proposed to the main archive for unknown
reasons. Though once it has landed in Ubuntu Zesty properly, someone
might look into whether it can be added to 16.10 as well.


[1]: https://wiki.ubuntu.com/StableReleaseUpdates#Procedure
[2]: https://wiki.ubuntu.com/UbuntuBackports
[3]: https://launchpad.net/ubuntu/+source/spyder

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1620300

Title:
  Spyder won't start (ImportError: No module named QtWebKit)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/spyder/+bug/1620300/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1620300] Re: Spyder won't start (ImportError: No module named QtWebKit)

2016-11-04 Thread Holger Knust
David Oftedal's downgrade trick worked nicely. I was trying to get
Spyder3 running. For Python 3.x it would be

apt-get install python3-pyqt4=4.11.4+dfsg-1build4
python3-pyqt4.qtsql=4.11.4+dfsg-1build4

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1620300

Title:
  Spyder won't start (ImportError: No module named QtWebKit)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/spyder/+bug/1620300/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1620300] Re: Spyder won't start (ImportError: No module named QtWebKit)

2016-11-01 Thread Trevor Clark
No chance of getting 3.0.1 into 16.10? Even though the current version
is unusable?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1620300

Title:
  Spyder won't start (ImportError: No module named QtWebKit)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/spyder/+bug/1620300/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1620300] Re: Spyder won't start (ImportError: No module named QtWebKit)

2016-11-01 Thread Hans Joachim Desserud
Spyder 3.0.1+dfsg1-1 has been packaged in Debian Unstable
(https://tracker.debian.org/pkg/spyder), and will likely soon be synced
to Ubuntu Zesty.

16.10 would still require a fix though... :/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1620300

Title:
  Spyder won't start (ImportError: No module named QtWebKit)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/spyder/+bug/1620300/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1620300] Re: Spyder won't start (ImportError: No module named QtWebKit)

2016-10-31 Thread Trevor Clark
See this issue on github: https://github.com/spyder-
ide/spyder/issues/3200

Please update to version 3.0.0 which will then work with Qt5.

** Bug watch added: github.com/spyder-ide/spyder/issues #3200
   https://github.com/spyder-ide/spyder/issues/3200

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1620300

Title:
  Spyder won't start (ImportError: No module named QtWebKit)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/spyder/+bug/1620300/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1620300] Re: Spyder won't start (ImportError: No module named QtWebKit)

2016-10-29 Thread Hans Joachim Desserud
** Summary changed:

- Spyder won't start
+ Spyder won't start (ImportError: No module named QtWebKit)

** Tags added: zesty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1620300

Title:
  Spyder won't start (ImportError: No module named QtWebKit)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/spyder/+bug/1620300/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs