Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Spyderlib installation on RHEL 6, troubles with QtWebkit
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  12 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ghislain Vaillant  
View profile  
 More options Dec 3 2011, 1:26 pm
From: Ghislain Vaillant <ghisv...@gmail.com>
Date: Sat, 3 Dec 2011 10:26:47 -0800 (PST)
Local: Sat, Dec 3 2011 1:26 pm
Subject: Spyderlib installation on RHEL 6, troubles with QtWebkit
Hey guys,

Tried to install spyderlib v2.0.12 on my SL6.1 64 bits system, as the
requirements (PyQt, python-sphinx, pylint, pyflakes) can be fulfilled
with extra packages from EPEL. Building and installing from the
setup.py script in the source directory went fine. However spyderlib
does not start, giving the following error message in the CLI:

Traceback (most recent call last):
 File "/usr/bin/spyder", line 2, in <module>
   from spyderlib import spyder
 File "/usr/lib/python2.6/site-packages/spyderlib/spyder.py", line 60,
in <module>
   from spyderlib.plugins.inspector import ObjectInspector
 File "/usr/lib/python2.6/site-packages/spyderlib/plugins/
inspector.py", line 29, in <module>
   from spyderlib.widgets.browser import WebView
 File "/usr/lib/python2.6/site-packages/spyderlib/widgets/browser.py",
line 11, in <module>
   from spyderlib.qt.QtWebKit import QWebView, QWebPage
 File "/usr/lib/python2.6/site-packages/spyderlib/qt/QtWebKit.py",
line 10, in <module>
   from PyQt4.QtWebKit import *
ImportError: No module named QtWebKit

which suggests a missing python binding for QtWebkit although I
installed it and its devel package from EPEL (qtwebkit-2.1.1-1 and
qtwebkit-devel-2.1.1-1).

Any ideas ? Has anybody been successful in getting Spyder to work on
an EL6 config ?

Cheers,
Ghis


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pierre Raybaut  
View profile  
 More options Dec 4 2011, 3:41 pm
From: Pierre Raybaut <pierre.rayb...@gmail.com>
Date: Sun, 4 Dec 2011 21:41:37 +0100
Local: Sun, Dec 4 2011 3:41 pm
Subject: Re: [spyder] Spyderlib installation on RHEL 6, troubles with QtWebkit
2011/12/3 Ghislain Vaillant <ghisv...@gmail.com>:

Hi,

This sounds like the PyQt package you have installed was not built
with QtWebKit Python bindings.
You should check with the package maintainer.

HTH,
Pierre


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ghislain Vaillant  
View profile  
 More options Dec 13 2011, 8:57 am
From: Ghislain Vaillant <ghisv...@gmail.com>
Date: Tue, 13 Dec 2011 05:57:34 -0800 (PST)
Local: Tues, Dec 13 2011 8:57 am
Subject: Re: Spyderlib installation on RHEL 6, troubles with QtWebkit

You are right. Apparently, support for QtWebkit was dropped and
bindings for
Python went missing since then.

http://pkgs.org/centos-6-rhel-6/centos-rhel-i386/PyQt4-4.6.2-8.el6.i6...

Suggestions for getting Spyderlib to work for EL6 are warmly welcome.
Any successful report ?

Thank you very much for your help.

Ghis


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
anatoly techtonik  
View profile  
 More options Dec 13 2011, 11:51 am
From: anatoly techtonik <techto...@gmail.com>
Date: Tue, 13 Dec 2011 08:51:48 -0800 (PST)
Local: Tues, Dec 13 2011 11:51 am
Subject: Re: Spyderlib installation on RHEL 6, troubles with QtWebkit

On Fedora 16 qtwebkit package is still there.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ghislain Vaillant  
View profile  
 More options Dec 13 2011, 2:29 pm
From: Ghislain Vaillant <ghisv...@gmail.com>
Date: Tue, 13 Dec 2011 11:29:25 -0800 (PST)
Local: Tues, Dec 13 2011 2:29 pm
Subject: Re: Spyderlib installation on RHEL 6, troubles with QtWebkit
Indeed, and Spyder is also directly available in the Fedora 16 repo.
EL6 is based on Fedora 12 though. QtWebkit can be installed via the
EPEL 3rd party repo, which I did, but apparently the Python bindings
are broken somehow. I also tried the installation of Eric4, available
in EPEL, without success, as it imports QtWebkit python bindings as
well.

On Dec 13, 4:51 pm, anatoly techtonik <techto...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
anatoly techtonik  
View profile  
 More options Dec 13 2011, 8:33 pm
From: anatoly techtonik <techto...@gmail.com>
Date: Tue, 13 Dec 2011 17:33:08 -0800 (PST)
Local: Tues, Dec 13 2011 8:33 pm
Subject: Re: Spyderlib installation on RHEL 6, troubles with QtWebkit

If you can install QtWebkit with development files, you can build PySide
from scratch. Perhaps https://github.com/PySide/BuildScripts can help you.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ghislain Vaillant  
View profile  
 More options Dec 14 2011, 5:06 am
From: Ghislain Vaillant <ghisv...@gmail.com>
Date: Wed, 14 Dec 2011 02:06:16 -0800 (PST)
Local: Wed, Dec 14 2011 5:06 am
Subject: Re: Spyderlib installation on RHEL 6, troubles with QtWebkit
Thanks Anatoly. Apparently RHEL 6 is mentioned in the
dependencies.fedora.sh. I'll try this out, get back here and update my
status.

On Dec 14, 1:33 am, anatoly techtonik <techto...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ghislain Vaillant  
View profile  
 More options Feb 17 2012, 4:44 am
From: Ghislain Vaillant <ghisv...@gmail.com>
Date: Fri, 17 Feb 2012 01:44:10 -0800 (PST)
Local: Fri, Feb 17 2012 4:44 am
Subject: Re: Spyderlib installation on RHEL 6, troubles with QtWebkit

Just a quick update on my attempt to install the latest Spyder on EL6. I
tried to build PySide from scratch following Anatoly's advice.

1) Cloned this: https://github.com/PySide/BuildScripts

2) Followed the readme instructions, that is to install all the required
dependencies using the "dependencies_fedora.sh" script, do the git init &
update on all submodules and finally run "build_and_install.sh"

3) On the project's CMake, I get the following output and error at the end:

Install the project...
-- Install configuration: "Release"
-- Up-to-date:
/home/localgv10/pkg/pyside-sandbox/include/shiboken/autodecref.h
-- Up-to-date:
/home/localgv10/pkg/pyside-sandbox/include/shiboken/basewrapper.h
-- Up-to-date:
/home/localgv10/pkg/pyside-sandbox/include/shiboken/bindingmanager.h
-- Up-to-date:
/home/localgv10/pkg/pyside-sandbox/include/shiboken/conversions.h
-- Up-to-date:
/home/localgv10/pkg/pyside-sandbox/include/shiboken/gilstate.h
-- Up-to-date: /home/localgv10/pkg/pyside-sandbox/include/shiboken/helper.h
-- Up-to-date: /home/localgv10/pkg/pyside-sandbox/include/shiboken/sbkenum.h
-- Up-to-date:
/home/localgv10/pkg/pyside-sandbox/include/shiboken/sbkmodule.h
-- Up-to-date:
/home/localgv10/pkg/pyside-sandbox/include/shiboken/python25compat.h
-- Up-to-date: /home/localgv10/pkg/pyside-sandbox/include/shiboken/sbkdbg.h
-- Up-to-date:
/home/localgv10/pkg/pyside-sandbox/include/shiboken/sbkstring.h
-- Up-to-date:
/home/localgv10/pkg/pyside-sandbox/include/shiboken/shiboken.h
-- Up-to-date:
/home/localgv10/pkg/pyside-sandbox/include/shiboken/shibokenmacros.h
-- Up-to-date:
/home/localgv10/pkg/pyside-sandbox/include/shiboken/threadstatesaver.h
-- Up-to-date:
/home/localgv10/pkg/pyside-sandbox/include/shiboken/typeresolver.h
-- Up-to-date:
/home/localgv10/pkg/pyside-sandbox/include/shiboken/shibokenbuffer.h
-- Up-to-date:
/home/localgv10/pkg/pyside-sandbox/include/shiboken/sbkpython.h
-- Installing:
/home/localgv10/pkg/pyside-sandbox/lib/libshiboken-python2.6.so.1.0.10
-- Up-to-date:
/home/localgv10/pkg/pyside-sandbox/lib/libshiboken-python2.6.so.1.0
-- Up-to-date:
/home/localgv10/pkg/pyside-sandbox/lib/libshiboken-python2.6.so
-- Removed runtime path from
"/home/localgv10/pkg/pyside-sandbox/lib/libshiboken-python2.6.so.1.0.10"
-- Up-to-date: /home/localgv10/pkg/pyside-sandbox/share/man/man1/shiboken.1
-- Installing:
/home/localgv10/pkg/pyside-sandbox/lib/generatorrunner/shiboken_generator.s o
-- Removed runtime path from
"/home/localgv10/pkg/pyside-sandbox/lib/generatorrunner/shiboken_generator. so"
-- Installing: /home/localgv10/pkg/pyside-sandbox/bin/shiboken
-- Installing:
/home/localgv10/pkg/pyside-sandbox/lib/cmake/Shiboken-1.0.10/ShibokenConfig .cmake
-- Installing:
/home/localgv10/pkg/pyside-sandbox/lib/cmake/Shiboken-1.0.10/ShibokenConfig -python2.6.cmake
-- Installing:
/home/localgv10/pkg/pyside-sandbox/lib/cmake/Shiboken-1.0.10/ShibokenConfig Version.cmake
-- Installing: /home/localgv10/pkg/pyside-sandbox/lib/pkgconfig/shiboken.pc
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Using default python: -python2.6
-- libshiboken built for Release
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.6.2
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Detected OS: x11
-- PySide will be generated using the protected hack!
-- Checking for QAbstractPageSetupDialog in QtGui -- found
-- Checking for QAbstractPrintDialog in QtGui -- found
-- Checking for QGtkStyle in QtGui -- found
-- Checking for QPageSetupDialog in QtGui -- found
-- Checking for QPrintDialog in QtGui -- found
-- Checking for QPrintEngine in QtGui -- found
-- Checking for QPrintPreviewDialog in QtGui -- found
-- Checking for QPrintPreviewWidget in QtGui -- found
-- Checking for QPrinter in QtGui -- found
-- Checking for QPrinterInfo in QtGui -- found
-- Checking for QSessionManager in QtGui -- found
-- Checking for QSizeGrip in QtGui -- found
-- Checking for QSystemTrayIcon in QtGui -- found
-- Checking for QMacStyle in QtGui -- not found
-- Checking for QSslCertificate in QtNetwork -- found
-- Checking for QSslCipher in QtNetwork -- found
-- Checking for QSslConfiguration in QtNetwork -- found
-- Checking for QSslError in QtNetwork -- found
-- Checking for QSslKey in QtNetwork -- found
-- Checking for QSslSocket in QtNetwork -- found
CMake Error: The following variables are used in this project, but they are
set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake
files:
QT_PHONON_INCLUDE_DIR
   used as include directory in directory
/home/localgv10/Downloads/git/BuildScripts/pyside/build/CMakeFiles/CMakeTmp

CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Checking for VideoCaptureDevice in phonon -- not found
CMake version greater than 2.8 necessary to run tests
-- QT_SRC_DIR variable not set or graphviz not found, apidoc generation
targets disabled.
CMake Error: The following variables are used in this project, but they are
set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake
files:
QT_PHONON_INCLUDE_DIR (ADVANCED)
   used as include directory in directory
/home/localgv10/Downloads/git/BuildScripts/pyside/PySide/phonon

-- Configuring incomplete, errors occurred!

Any idea how to solve this. Shall I rather post a bug report on Pyside's
bugzilla ?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
anatoly techtonik  
View profile  
 More options Feb 20 2012, 6:18 am
From: anatoly techtonik <techto...@gmail.com>
Date: Mon, 20 Feb 2012 03:18:03 -0800 (PST)
Local: Mon, Feb 20 2012 6:18 am
Subject: Re: Spyderlib installation on RHEL 6, troubles with QtWebkit

PySide is moving to become QT Project, so I don't even know what is the
best place to post:
https://groups.google.com/forum/#!topic/pyside/xPVJG5ZBWCI


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ghislain Vaillant  
View profile  
 More options Mar 1 2012, 11:33 am
From: Ghislain Vaillant <ghisv...@gmail.com>
Date: Thu, 1 Mar 2012 08:33:57 -0800 (PST)
Local: Thurs, Mar 1 2012 11:33 am
Subject: Re: Spyderlib installation on RHEL 6, troubles with QtWebkit
Update on my attempt to get Spyder working on EL6.

EPEL has released an RPM in its stable repo containing the missing
bindings for QtWebkit. Now Spyder launches correctly and seems to be
working as expected.

Many thanks for everyone who contributed to this topic.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel  
View profile  
 More options Mar 2 2012, 8:36 pm
From: Daniel <danielzie...@gmail.com>
Date: Fri, 2 Mar 2012 17:36:14 -0800 (PST)
Local: Fri, Mar 2 2012 8:36 pm
Subject: Re: Spyderlib installation on RHEL 6, troubles with QtWebkit

Hi everyone.

It doesn't work for me. It launches correctly, but then I can't open nor
save a file:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/spyderlib/plugins/editor.py", line
1453, in load
    _("Open file"), basedir, EDIT_FILTERS)
  File "/usr/lib/python2.6/site-packages/spyderlib/qt/compat.py", line 178,
in getopenfilenames
    options=options)
  File "/usr/lib/python2.6/site-packages/spyderlib/qt/compat.py", line 132,
in _qfiledialog_wrapper
    filters, selectedfilter, options)
TypeError: argument 5 of QFileDialog.getOpenFileNamesAndFilter() has an
invalid type

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/spyderlib/plugins/editor.py", line
1567, in save_as
    if editorstack.save_as():
  File "/usr/lib/python2.6/site-packages/spyderlib/widgets/editor.py", line
1333, in save_as
    filename = self.select_savename(finfo.filename)
  File "/usr/lib/python2.6/site-packages/spyderlib/widgets/editor.py", line
1322, in select_savename
    original_filename, EDIT_FILTERS)
  File "/usr/lib/python2.6/site-packages/spyderlib/qt/compat.py", line 189,
in getsavefilename
    options=options)
  File "/usr/lib/python2.6/site-packages/spyderlib/qt/compat.py", line 132,
in _qfiledialog_wrapper
    filters, selectedfilter, options)
TypeError: argument 5 of QFileDialog.getSaveFileNameAndFilter() has an
invalid type

I'm running a fully up-to-date Centos 6.2,

Any ideas?

Thanks in advance.

P.S.: By the way, just before I noticed about the existence the webkit
bindings on EPEL, I'd found a workaround installing the PyQt4-4.6.2-7 from
ScientificLinux, another Red Hat based distro.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ghislain Vaillant  
View profile   Translate to Translated (View Original)
 More options May 28 2012, 7:33 am
From: Ghislain Vaillant <ghisv...@gmail.com>
Date: Mon, 28 May 2012 04:33:31 -0700 (PDT)
Local: Mon, May 28 2012 7:33 am
Subject: Re: Spyderlib installation on RHEL 6, troubles with QtWebkit

Reported to issue 960:
http://code.google.com/p/spyderlib/issues/detail?id=960

Le samedi 3 mars 2012 01:36:14 UTC, Daniel a écrit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »