Skip to content

Cannot run cfclient from develop branch, encoding fails #238

@krystian-wojtas

Description

@krystian-wojtas

I cannot run cfclient from develop branch. After applying some dirty hacks #237, I've got

$ ./bin/cfclient
INFO:cfclient.gui:Disabling STL printouts
INFO:cfclient.utils.input.inputreaders:Found readers: ['pysdl2', 'linuxjsdev']
INFO:cfclient.utils.input.inputreaders:Could not initialize [pysdl2]: No SDL2 support on Linux
INFO:cfclient.utils.input.inputreaders:Successfully initialized [linuxjsdev]
INFO:cfclient.utils.input.inputinterfaces:Found interfaces: ['wiimote', 'leapmotion', 'zmqpull']
INFO:cfclient.utils.input.inputinterfaces:Could not initialize [wiimote]: Missing cwiid (wiimote) driver No module named 'cwiid'
INFO:cfclient.utils.input.inputinterfaces:Could not initialize [leapmotion]: Leap Motion library probably not installed (No module named 'leapsdk')
INFO:cfclient.utils.config:Dist config read from /usr/local/lib/python3.4/dist-packages/cfclient-modified-py3.4.egg/cfclient/configs/config.json
INFO:cfclient.utils.input.inputinterfaces:Could not initialize [zmqpull]: ZMQ input disabled in config file
INFO:cfclient.utils.zmq_param:Biding ZMQ for parameters at tcp://
:1213
INFO:cfclient.utils.zmq_led_driver:Biding ZMQ for LED driverat tcp://_:1214
INFO:cfclient.utils.input:Using device blacklist [(VirtualBox|VMware)]
INFO:cflib.crtp.radiodriver:v0.52 dongle with serial N/A found
===== 2016.03.08 11:03:34 =====
Traceback (most recent call last):
File "./bin/cfclient", line 5, in
main()
File "/usr/local/lib/python3.4/dist-packages/cfclient-_modified-py3.4.egg/cfclient/gui.py", line 152, in main
main_window = MainUI()
File "/usr/local/lib/python3.4/dist-packages/cfclient-_modified-py3.4.egg/cfclient/ui/main.py", line 290, in init
self._about_dialog = AboutDialog(cfclient.ui.pluginhelper)
File "/usr/local/lib/python3.4/dist-packages/cfclient-_modified-py3.4.egg/cfclient/ui/dialogs/about.py", line 131, in init
for line in f:
File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 325: ordinal not in range(128)

It looks like well-know error made in python
http://stackoverflow.com/questions/9942594/unicodeencodeerror-ascii-codec-cant-encode-character-u-xa0-in-position-20

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions