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 :
>
> 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 received this message because you are subscribed to the Google Groups
"spyder" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/spyderlib/-/rKVjw-e_HbkJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/spyderlib?hl=en.