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

Fedora32: cant start wokd - ModuleNotFoundError: No module named 'Cheetah #307

Open
infraengineer-sre opened this issue Sep 22, 2020 · 2 comments
Labels

Comments

@infraengineer-sre
Copy link

infraengineer-sre commented Sep 22, 2020

Run with Python

sudo python3 src/wokd
Traceback (most recent call last):
  File "src/wokd", line 30, in <module>
    import wok.server
  File "/tmp/wok/src/wok/server.py", line 28, in <module>
    from wok import auth
  File "/tmp/wok/src/wok/auth.py", line 38, in <module>
    from wok import template
  File "/tmp/wok/src/wok/template.py", line 27, in <module>
    from Cheetah.Template import Template
ModuleNotFoundError: No module named 'Cheetah

To Reproduce
Build from source

wok-3.0.0-3.git25c5b2a8.fc32.noarch

systemctl start wokd

systemctl status wokd
● wokd.service - Wok - Webserver Originated from Kimchi
     Loaded: loaded (/usr/lib/systemd/system/wokd.service; enabled; vendor preset: disabled)
    Drop-In: /etc/systemd/system/wokd.service.d
             └─kimchi.conf
     Active: failed (Result: exit-code) since Tue 2020-09-22 20:42:37 MSK; 2s ago
       Docs: https://github.com/kimchi-project/wok/wiki
    Process: 1826294 ExecStart=/usr/bin/wokd (code=exited, status=1/FAILURE)
   Main PID: 1826294 (code=exited, status=1/FAILURE)
        CPU: 464ms

Sep 22 20:42:37 localhost.localdomain wokd[1826294]:     import wok.server
Sep 22 20:42:37 localhost.localdomain wokd[1826294]:   File "/usr/lib/python3.8/site-packages/wok/server.py", line 28, in <module>
Sep 22 20:42:37 localhost.localdomain wokd[1826294]:     from wok import auth
Sep 22 20:42:37 localhost.localdomain wokd[1826294]:   File "/usr/lib/python3.8/site-packages/wok/auth.py", line 38, in <module>
Sep 22 20:42:37 localhost.localdomain wokd[1826294]:     from wok import template
Sep 22 20:42:37 localhost.localdomain wokd[1826294]:   File "/usr/lib/python3.8/site-packages/wok/template.py", line 27, in <module>

System

  • OS: Fedora release 32 (Thirty Two)
  • Linux 5.8.4-200.fc32.x86_64 #1 SMP Wed Aug 26 22:28:08 UTC 2020 x86_64
@nrdmtt
Copy link

nrdmtt commented Sep 30, 2020

Do you have python3-cheetah and python-cheetah installed?

@BiatuAutMiahn
Copy link

I think the README.md should indicate python3-cheetah and nginx as deps

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

No branches or pull requests

3 participants