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

UnicodeDecodeError: 'charmap' codec can't decode , Windows 8.1, 64bit #61

Open
mukul-s opened this issue May 27, 2018 · 0 comments
Open

Comments

@mukul-s
Copy link

mukul-s commented May 27, 2018

Here's the log,

(pydelhi) C:\Users\ADMIN\Documents\pydelhi_mobile\pydelhiconf>python main.py -m
screen:droid2,portrait -m inspector
[INFO ] [Logger ] Record log in C:\Users\ADMIN.kivy\logs\kivy_18-05-27_2
.txt
[INFO ] [Screen ] Apply screen settings for Motorola Droid 2
[INFO ] [Screen ] size=480x854 dpi=240 density=1.5 orientation=portrait
[INFO ] [Factory ] 194 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif
(img_ffpyplayer ignored)
[INFO ] [Text ] Provider: sdl2
[INFO ] [Kivy ] v1.10.0
[INFO ] [Python ] v3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1
900 64 bit (AMD64)]
[INFO ] [OSC ] using for socket
[INFO ] [Window ] Provider: sdl2
[INFO ] [GL ] Using the "OpenGL" graphics system
[INFO ] [GL ] GLEW initialization succeeded
[INFO ] [GL ] Backend used
[INFO ] [GL ] OpenGL version <b'4.0.0 - Build 10.18.10.4276'>
[INFO ] [GL ] OpenGL vendor <b'Intel'>
[INFO ] [GL ] OpenGL renderer <b'Intel(R) HD Graphics 4000'>
[INFO ] [GL ] OpenGL parsed version: 4, 0
[INFO ] [GL ] Shading version <b'4.00 - Build 10.18.10.4276'>
[INFO ] [GL ] Texture max size <16384>
[INFO ] [GL ] Texture max units <16>
[INFO ] [Window ] auto add sdl2 input provider
[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
[INFO ] [Base ] Start application main loop
[INFO ] [GL ] NPOT texture support is available
[INFO ] [Base ] Leaving application in progress...
Traceback (most recent call last):
File "main.py", line 193, in
PyConApp().run()
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\app.py", line 828, i
n run
runTouchApp()
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\base.py", line 504,
in runTouchApp
EventLoop.window.mainloop()
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\core\window\window_s
dl2.py", line 663, in mainloop
self._mainloop()
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\core\window\window_s
dl2.py", line 405, in _mainloop
EventLoop.idle()
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\base.py", line 339,
in idle
Clock.tick()
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\clock.py", line 581,
in tick
self._process_events()
File "kivy_clock.pyx", line 367, in kivy._clock.CyClockBase._process_events
(kivy_clock.c:7700)
File "kivy_clock.pyx", line 397, in kivy._clock.CyClockBase._process_events
(kivy_clock.c:7577)
File "kivy_clock.pyx", line 395, in kivy._clock.CyClockBase._process_events
(kivy_clock.c:7498)
File "kivy_clock.pyx", line 167, in kivy._clock.ClockEvent.tick (kivy_clock
.c:3490)
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\animation.py", line
352, in _update
self.stop(widget)
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\animation.py", line
217, in stop
self.dispatch('on_complete', widget)
File "kivy_event.pyx", line 714, in kivy._event.EventDispatcher.dispatch (ki
vy_event.c:8146)
File "kivy_event.pyx", line 1225, in kivy._event.EventObservers.dispatch (ki
vy_event.c:14035)
File "kivy_event.pyx", line 1149, in kivy._event.EventObservers._dispatch (k
ivy_event.c:13564)
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\uix\screenmanager.py
", line 419, in _on_complete
self.screen_in.dispatch('on_enter')
File "kivy_event.pyx", line 714, in kivy._event.EventDispatcher.dispatch (ki
vy_event.c:8146)
File "kivy_event.pyx", line 1225, in kivy._event.EventObservers.dispatch (ki
vy_event.c:14035)
File "kivy_event.pyx", line 1109, in kivy._event.EventObservers._dispatch (k
ivy_event.c:12816)
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\lang\builder.py", li
ne 64, in custom_callback
exec(kvlang.co_value, idmap)
File "", line 78, in
File "main.py", line 178, in load_screen
manager.add_widget(sc)
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\uix\screenmanager.py
", line 991, in add_widget
self.current = screen.name
File "kivy\properties.pyx", line 478, in kivy.properties.Property.set (ki
vy\properties.c:5572)
File "kivy\properties.pyx", line 516, in kivy.properties.Property.set (kivy\p
roperties.c:6405)
File "kivy\properties.pyx", line 571, in kivy.properties.Property.dispatch (k
ivy\properties.c:7105)
File "kivy_event.pyx", line 1225, in kivy._event.EventObservers.dispatch (ki
vy_event.c:14035)
File "kivy_event.pyx", line 1131, in kivy._event.EventObservers._dispatch (k
ivy_event.c:13193)
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\uix\screenmanager.py
", line 1054, in on_current
screen.dispatch('on_enter')
File "kivy_event.pyx", line 718, in kivy.event.EventDispatcher.dispatch (ki
vy_event.c:8191)
File "C:\Users\ADMIN\Documents\pydelhi_mobile\pydelhiconf/uix/screens/screens
chedule.py", line 177, in on_enter
events = get_data('event', onsuccess=onsuccess)
File "C:\Users\ADMIN\Documents\pydelhi_mobile\pydelhiconf\network_init
.py
", line 84, in get_data
oldata = f.read()
File "C:\Users\ADMIN\Envs\pydelhi\lib\encodings\cp1252.py", line 23, in decod
e
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 1345: ch
aracter maps to

(pydelhi) C:\Users\ADMIN\Documents\pydelhi_mobile\pydelhiconf>SET PYTHONIOENCODI
NG = UTF-8

(pydelhi) C:\Users\ADMIN\Documents\pydelhi_mobile\pydelhiconf>python main.py -m
screen:droid2,portrait -m inspector
[INFO ] [Logger ] Record log in C:\Users\ADMIN.kivy\logs\kivy_18-05-27_3
.txt
[INFO ] [Screen ] Apply screen settings for Motorola Droid 2
[INFO ] [Screen ] size=480x854 dpi=240 density=1.5 orientation=portrait
[INFO ] [Factory ] 194 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif
(img_ffpyplayer ignored)
[INFO ] [Text ] Provider: sdl2
[INFO ] [Kivy ] v1.10.0
[INFO ] [Python ] v3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1
900 64 bit (AMD64)]
[INFO ] [OSC ] using for socket
[INFO ] [Window ] Provider: sdl2
[INFO ] [GL ] Using the "OpenGL" graphics system
[INFO ] [GL ] GLEW initialization succeeded
[INFO ] [GL ] Backend used
[INFO ] [GL ] OpenGL version <b'4.0.0 - Build 10.18.10.4276'>
[INFO ] [GL ] OpenGL vendor <b'Intel'>
[INFO ] [GL ] OpenGL renderer <b'Intel(R) HD Graphics 4000'>
[INFO ] [GL ] OpenGL parsed version: 4, 0
[INFO ] [GL ] Shading version <b'4.00 - Build 10.18.10.4276'>
[INFO ] [GL ] Texture max size <16384>
[INFO ] [GL ] Texture max units <16>
[INFO ] [Window ] auto add sdl2 input provider
[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
[INFO ] [Base ] Start application main loop
[INFO ] [GL ] NPOT texture support is available
[INFO ] [Base ] Leaving application in progress...
Traceback (most recent call last):
File "main.py", line 193, in
PyConApp().run()
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\app.py", line 828, i
n run
runTouchApp()
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\base.py", line 504,
in runTouchApp
EventLoop.window.mainloop()
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\core\window\window_s
dl2.py", line 663, in mainloop
self._mainloop()
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\core\window\window_s
dl2.py", line 405, in _mainloop
EventLoop.idle()
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\base.py", line 339,
in idle
Clock.tick()
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\clock.py", line 581,
in tick
self._process_events()
File "kivy_clock.pyx", line 367, in kivy._clock.CyClockBase._process_events
(kivy_clock.c:7700)
File "kivy_clock.pyx", line 397, in kivy._clock.CyClockBase._process_events
(kivy_clock.c:7577)
File "kivy_clock.pyx", line 395, in kivy._clock.CyClockBase._process_events
(kivy_clock.c:7498)
File "kivy_clock.pyx", line 167, in kivy._clock.ClockEvent.tick (kivy_clock
.c:3490)
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\animation.py", line
352, in _update
self.stop(widget)
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\animation.py", line
217, in stop
self.dispatch('on_complete', widget)
File "kivy_event.pyx", line 714, in kivy._event.EventDispatcher.dispatch (ki
vy_event.c:8146)
File "kivy_event.pyx", line 1225, in kivy._event.EventObservers.dispatch (ki
vy_event.c:14035)
File "kivy_event.pyx", line 1149, in kivy._event.EventObservers._dispatch (k
ivy_event.c:13564)
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\uix\screenmanager.py
", line 419, in _on_complete
self.screen_in.dispatch('on_enter')
File "kivy_event.pyx", line 714, in kivy._event.EventDispatcher.dispatch (ki
vy_event.c:8146)
File "kivy_event.pyx", line 1225, in kivy._event.EventObservers.dispatch (ki
vy_event.c:14035)
File "kivy_event.pyx", line 1109, in kivy._event.EventObservers._dispatch (k
ivy_event.c:12816)
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\lang\builder.py", li
ne 64, in custom_callback
exec(kvlang.co_value, idmap)
File "", line 78, in
File "main.py", line 178, in load_screen
manager.add_widget(sc)
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\uix\screenmanager.py
", line 991, in add_widget
self.current = screen.name
File "kivy\properties.pyx", line 478, in kivy.properties.Property.set (ki
vy\properties.c:5572)
File "kivy\properties.pyx", line 516, in kivy.properties.Property.set (kivy\p
roperties.c:6405)
File "kivy\properties.pyx", line 571, in kivy.properties.Property.dispatch (k
ivy\properties.c:7105)
File "kivy_event.pyx", line 1225, in kivy._event.EventObservers.dispatch (ki
vy_event.c:14035)
File "kivy_event.pyx", line 1131, in kivy._event.EventObservers._dispatch (k
ivy_event.c:13193)
File "C:\Users\ADMIN\Envs\pydelhi\lib\site-packages\kivy\uix\screenmanager.py
", line 1054, in on_current
screen.dispatch('on_enter')
File "kivy_event.pyx", line 718, in kivy.event.EventDispatcher.dispatch (ki
vy_event.c:8191)
File "C:\Users\ADMIN\Documents\pydelhi_mobile\pydelhiconf/uix/screens/screens
chedule.py", line 177, in on_enter
events = get_data('event', onsuccess=onsuccess)
File "C:\Users\ADMIN\Documents\pydelhi_mobile\pydelhiconf\network_init
.py
", line 84, in get_data
oldata = f.read()
File "C:\Users\ADMIN\Envs\pydelhi\lib\encodings\cp1252.py", line 23, in decod
e
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 1345: ch
aracter maps to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant