For now, I just fixed this with a few try/except statements and simply
leaving out the QString part in some of them and replacing it with "str()"
in others. I would still be interested in why this is happening and if
there was anything not in the change notes in the latest Spyder version,
but at least everything is working fine again now.
On Thursday, October 2, 2014 8:06:57 PM UTC-4, Joel Östblom wrote:
>
> Thanks for the responses.
>
> There is nothing added to the startup line of the IPython console.
>
> At first, I also thought the issue was in the PyQt Api, but both the
> IPython interpreter launched from the terminal and the one in Spyder throws
> the same error when I try to change the api.
>
> import sip
> sip.setapi('QString', 1)
>
> "ValueError: API 'QString' has already been set to version 2"
>
> So they both seem to be running with the same setting, but still elicit
> different behaviours.
>
>
>
>
>
>> When using PyQt API v2, QStrings are automatically transformed into
>> python strings. This is the default in python3. You can change this
>> setting in the preferences.
>>
>> See http://pyqt.sourceforge.net/Docs/PyQt4/incompatible_apis.html
>>
>>
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.