Discussion:
[Pyzo] Cannot run pyzo on linux anymore
Almar Klein
2017-06-06 23:26:57 UTC
Permalink
Hi Hugo,

Sorry for the late reaction.

It looks like the config.ssdf in your Pyzo appdata directory (~/.pyzo) has non-utf8 characters in it.

Regards,
Almar

From: ***@gmail.com
Sent: 25 May 2017 15:09
To: Pyzo
Subject: [Pyzo] Cannot run pyzo on linux anymore

Hi everyone,

Pyzo doesn't want to start anymore, could anybody help? I'm running Mint 18 Xfce; it worked fine until last week, but all of a sudden it refuses to start. I tried upgrading pyzo (sudo python3 -m pip install pyzo --upgrade) to pyzo-4.3.1, and even pip, but no luck. The error is as follows:

$ pyzo
Started our command server
Uncaught Python exception: 'utf-8' codec can't decode byte 0x86 in position 1: invalid start byte
File "/usr/local/bin/pyzo", line 9, in <module>
load_entry_point('pyzo==4.3.1', 'console_scripts', 'pyzo')()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 542, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2569, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2229, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2235, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/lib/python3.5/dist-packages/pyzo/__init__.py", line 284, in <module>
loadConfig()
File "/usr/local/lib/python3.5/dist-packages/pyzo/__init__.py", line 208, in loadConfig
userConfig = ssdf.load(fname)
File "/usr/local/lib/python3.5/dist-packages/pyzo/util/zon.py", line 176, in load
text = file.read().decode('utf-8')

I'm not sure if I should report it on the bug tracker, since I don't know if it's a pyzo bug or a 'me' bug :) Thanks for your help!
Cheers,
--
You received this message because you are subscribed to the Google Groups "Pyzo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyzo+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Pyzo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyzo+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hugo Labrande
2017-06-08 16:14:44 UTC
Permalink
Ah thank you! I uninstalled pyzo, deleted the ~/.pyzo folder, then
re-installed, and it works again! Thanks a lot!!
Regards,
Hugo
Post by Almar Klein
Hi Hugo,
Sorry for the late reaction.
It looks like the config.ssdf in your Pyzo appdata directory (~/.pyzo) has
non-utf8 characters in it.
Regards,
Almar
*Sent: *25 May 2017 15:09
*To: *Pyzo <javascript:>
*Subject: *[Pyzo] Cannot run pyzo on linux anymore
Hi everyone,
Pyzo doesn't want to start anymore, could anybody help? I'm running Mint
18 Xfce; it worked fine until last week, but all of a sudden it refuses to
start. I tried upgrading pyzo (sudo python3 -m pip install pyzo --upgrade)
$ pyzo
Started our command server
Uncaught Python exception: 'utf-8' codec can't decode byte 0x86 in
position 1: invalid start byte
File "/usr/local/bin/pyzo", line 9, in <module>
load_entry_point('pyzo==4.3.1', 'console_scripts', 'pyzo')()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
542, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
2569, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2229, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2235, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/lib/python3.5/dist-packages/pyzo/__init__.py", line 284, in <module>
loadConfig()
File "/usr/local/lib/python3.5/dist-packages/pyzo/__init__.py", line 208, in loadConfig
userConfig = ssdf.load(fname)
File "/usr/local/lib/python3.5/dist-packages/pyzo/util/zon.py", line 176, in load
text = file.read().decode('utf-8')
I'm not sure if I should report it on the bug tracker, since I don't know
if it's a pyzo bug or a 'me' bug :) Thanks for your help!
Cheers,
--
You received this message because you are subscribed to the Google Groups "Pyzo" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Pyzo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyzo+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...