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

Kobodl on raspberry pi. #120

Open
Madam-Mim opened this issue Sep 13, 2024 · 3 comments
Open

Kobodl on raspberry pi. #120

Madam-Mim opened this issue Sep 13, 2024 · 3 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@Madam-Mim
Copy link

Before you open an issue
Please make sure you've upgraded to the latest version of kobodl on pypi or docker. Also read through the troubleshooting guide. Try running with --debug enabled and see what comes up in the debug log.
Latest version of kobodl installed with pipx.
Do not erase this template, it's here to help you.

Describe the issue
A clear and concise description of what the bug is.
Attempting to use kobodl on a raspberry pi 4, running Debian 12 (32 bit).

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...' Kobodl apparently installs fine with "pipx install kobodl"
  2. Click on '....' Any command, for example kobodl --debug, or kobodl serve gives the following error.
  3. Scroll down to '....'
    See error Traceback (most recent call last):
    File "/home/jenny/.local/bin/kobodl", line 5, in
    from kobodl import cli
    File "/home/jenny/.local/pipx/venvs/kobodl/lib/python3.11/site-packages/kobodl/init.py", line 5, in
    from kobodl.app import app
    File "/home/jenny/.local/pipx/venvs/kobodl/lib/python3.11/site-packages/kobodl/app.py", line 4, in
    from flask import Flask, abort, redirect, render_template, request, send_from_directory
    File "/home/jenny/.local/pipx/venvs/kobodl/lib/python3.11/site-packages/flask/init.py", line 7, in
    from .app import Flask as Flask
    File "/home/jenny/.local/pipx/venvs/kobodl/lib/python3.11/site-packages/flask/app.py", line 28, in
    from . import cli
    File "/home/jenny/.local/pipx/venvs/kobodl/lib/python3.11/site-packages/flask/cli.py", line 18, in
    from .helpers import get_debug_flag
    File "/home/jenny/.local/pipx/venvs/kobodl/lib/python3.11/site-packages/flask/helpers.py", line 16, in
    from werkzeug.urls import url_quote
    ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (/home/jenny/.local/pipx/venvs/kobodl/lib/python3.11/site-packages/werkzeug/urls.py)

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. MacOS]
  • Install method and python version: [eg. docker, python 3.9]
  • Kobodl Version [e.g. 0.6.0]

Additional context
Add any other context about the problem here.

@Madam-Mim Madam-Mim added the bug Something isn't working label Sep 13, 2024
@lubomir-brindza
Copy link

Looks like broken dependencies from Flask; you could try running pipx inject kobodl werkzeug==2.2.2 as a temporary workaround

@Madam-Mim
Copy link
Author

Many thanks, that did the trick. I thought it was a flask problem, but it seemed to be installed. Your suggestion worked as advertised!

@subdavis
Copy link
Owner

Thanks for the report. I'll see if I can get deps updated.

@subdavis subdavis added the good first issue Good for newcomers label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants