I'm sorry, but an uncaught exception occurred.
After initialization, but before game start.
TypeError: can't concat str to bytes
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "E:\renpy-8.0.0-sdk\renpy\bootstrap.py", line 275, in bootstrap
renpy.main.main()
File "E:\renpy-8.0.0-sdk\renpy\main.py", line 620, in main
renpy.dump.dump(False)
File "E:\renpy-8.0.0-sdk\renpy\dump.py", line 201, in dump
if inspect.isfunction(o):
File "/home/tom/ab/renpy-build-fix/tmp/install.linux-x86_64/lib/python3.9/inspect.py", line 170, in isfunction
File "python-packages/plyer/utils.py", line 114, in __getattribute__
File "python-packages/plyer/utils.py", line 100, in _ensure_obj
File "/home/tom/ab/renpy-build-fix/tmp/install.linux-x86_64/lib/python3.9/traceback.py", line 163, in print_exc
File "/home/tom/ab/renpy-build-fix/tmp/install.linux-x86_64/lib/python3.9/traceback.py", line 103, in print_exception
File "/home/tom/ab/renpy-build-fix/tmp/install.linux-x86_64/lib/python3.9/traceback.py", line 517, in __init__
File "/home/tom/ab/renpy-build-fix/tmp/install.linux-x86_64/lib/python3.9/traceback.py", line 366, in extract
File "/home/tom/ab/renpy-build-fix/tmp/install.linux-x86_64/lib/python3.9/traceback.py", line 288, in line
File "/home/tom/ab/renpy-build-fix/tmp/install.linux-x86_64/lib/python3.9/linecache.py", line 30, in getline
File "/home/tom/ab/renpy-build-fix/tmp/install.linux-x86_64/lib/python3.9/linecache.py", line 46, in getlines
File "/home/tom/ab/renpy-build-fix/tmp/install.linux-x86_64/lib/python3.9/linecache.py", line 112, in updatecache
File "/home/tom/ab/renpy-build-fix/tmp/install.linux-x86_64/lib/python3.9/linecache.py", line 112, in <listcomp>
TypeError: can't concat str to bytes
from plyer import camera causes “can't concat str to bytes” error
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
- Li yuanlin
- Regular
- Posts: 94
- Joined: Sat Aug 04, 2018 8:42 pm
- Location: Hong Kong
- Contact:
from plyer import camera causes “can't concat str to bytes” error
stay hungry,stay foolish.
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: from plyer import camera causes “can't concat str to bytes” error
I believe this is fixed in a newer version of Ren'Py.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot]