FriedrichFroebel / brother_ql_web

A Python-based web service to print labels on Brother QL label printers. Based on brother_ql: https://github.com/pklaus/brother_ql
GNU General Public License v3.0
7 stars 4 forks source link

Error: 500 Internal Server Error #4

Closed budda85 closed 11 months ago

budda85 commented 1 year ago

Hey, i try to use your fork, but when i start i have an Error in my browser:

Error: 500 Internal Server Error

Sorry, the requested URL 'http://192.168.10.159:8013/labeldesigner' caused an error:

Internal Server Error

Here are my Logs. What do i wrong?

(.brother_ql_pip) pi@raspi-Keller:~/brother_ql_webOrg $ brother_ql_web --configuration config.json tcp://192.168.10.159:9100 deprecation warning: brother_ql.devicedependent is deprecated and will be removed in a future release Bottle v0.12.25 server starting up (using WSGIRefServer())... Listening on http://192.168.10.159:8013/ Hit Ctrl-C to quit. Traceback (most recent call last): File "/home/pi/brother_ql_web/.brother_ql_pip/bin/bottle.py", line 876, in _handle return route.call(*args) ^^^^^^^^^^^^^^^^^^ File "/home/pi/brother_ql_web/.brother_ql_pip/bin/bottle.py", line 1759, in wrapper rv = callback(a, ka) ^^^^^^^^^^^^^^^^^^ File "/home/pi/brother_ql_web/.brother_ql_pip/bin/bottle.py", line 3692, in wrapper return template(tpl_name, tplvars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pi/brother_ql_web/.brother_ql_pip/bin/bottle.py", line 3668, in template return TEMPLATES[tplid].render(kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pi/brother_ql_web/.brother_ql_pip/bin/bottle.py", line 3380, in render return self.tpl.render(**_defaults) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pi/brother_ql_web/.brother_ql_pip/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render self.environment.handle_exception() File "/home/pi/brother_ql_web/.brother_ql_pip/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception raise rewrite_traceback_stack(source=source) File "