Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unicode error #3

Closed
spyder-bot opened this issue Feb 16, 2015 · 1 comment
Closed

unicode error #3

spyder-bot opened this issue Feb 16, 2015 · 1 comment

Comments

@spyder-bot
Copy link
Collaborator

From [email protected] on 2009-08-17T08:02:57Z

I misstakenly posted this as a new issue in pydee, I ment to post it here.
Sorry for the double post.

This is the same as issue #58 in pydee. A unichode character in the file
name will produce the folowing error if run in the interactive console
(filename is test-ä.py, opened and then executed by clicking on the run in
interactive console-icon ):

execfile(u'C:\Documents and Settings\serg13545\My Documents\test-\xe4.py')
Traceback (most recent call last):
File "C:\Python25\lib\site-packages\spyderlib\interpreter.py", line 39,
in execfile
code = compile(source, filename, "exec")
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in
position 54: ordinal not in range(128)

The same error occurs if I type in the name manually (to get the correct
file name)
or if the unicode error is in the directory path.

What version of the product are you using? On what operating system?

spyder 1.0.0beta2, python 2.5.4

Please provide any additional information below

.
spyder seems to be coming along nicely. I will continue to test for unicode
errors as that is what is holding it back from deployment at work.

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=3

@spyder-bot
Copy link
Collaborator Author

From pierre.raybaut on 2009-08-17T14:46:44Z

No problem for the double post (I've deleted the other): better two posts than zero ;)

Fixed in v1.0.0beta3. (and this time, it's really fixed!) -> actually it was, but
another bug fix has introduced this other bug

thx for reporting this!

Status: Fixed

ccordoba12 pushed a commit that referenced this issue Nov 3, 2016
goanpeca pushed a commit to goanpeca/spyder that referenced this issue Jun 4, 2020
Update sphinx configuration file with modern values and formatting and minor tweaks
goanpeca pushed a commit to goanpeca/spyder that referenced this issue Jun 4, 2020
rear1019 added a commit to procitec/spyder that referenced this issue Nov 3, 2021
PySide2 crashes otherwise (as of PySide2/Qt 5.15.0):

Received signal 6
#0 0x7fecd2bcea7b base::debug::CollectStackTrace()
spyder-ide#1 0x7fecd299bbaf base::debug::StackTrace::StackTrace()
spyder-ide#2 0x7fecd299bb62 base::debug::StackTrace::StackTrace()
spyder-ide#3 0x7fecd2bcd61e base::debug::(anonymous namespace)::StackDumpSignalHandler()
spyder-ide#4 0x7fed08461210 <unknown>
spyder-ide#5 0x7fed0846118b gsignal
spyder-ide#6 0x7fed08440859 abort
spyder-ide#7 0x7fed08119882 fatal_error.lto_priv.0
spyder-ide#8 0x7fed0811989f Py_FatalError
spyder-ide#9 0x7fed03c8c50b SetError_Argument
spyder-ide#10 0x7fed03c5d64e Shiboken::setErrorAboutWrongArguments()
spyder-ide#11 0x7fece240f259 Sbk_QTreeViewFunc_setExpanded
<shortened>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant