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

Cannot run Hickory on specific ubuntu variants. #13

Open
koaning opened this issue Feb 13, 2021 · 1 comment
Open

Cannot run Hickory on specific ubuntu variants. #13

koaning opened this issue Feb 13, 2021 · 1 comment

Comments

@koaning
Copy link

koaning commented Feb 13, 2021

I am trying to run hickory on PopOS (which I think is a variant of ubuntu) and it seems to complain about the folder structure.

hickory schedule scripts/grab_issues.py --every 2hours
Traceback (most recent call last):
  File "/home/vincent/Development/gh-dashb/venv/bin/hickory", line 8, in <module>
    sys.exit(main())
  File "/home/vincent/Development/gh-dashb/venv/lib/python3.7/site-packages/hickory/cli.py", line 83, in main
    schedule(args.script, args.every)
  File "/home/vincent/Development/gh-dashb/venv/lib/python3.7/site-packages/hickory/cli.py", line 35, in schedule
    schedule_systemd(label, working_directory, which_python, script, every)
  File "/home/vincent/Development/gh-dashb/venv/lib/python3.7/site-packages/hickory/systemd.py", line 74, in schedule_systemd
    dump_string(service, f"{SYSTEMD_PATH}/{label}.service")
  File "/home/vincent/Development/gh-dashb/venv/lib/python3.7/site-packages/hickory/systemd.py", line 66, in dump_string
    with open(path, "w") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/vincent/.config/systemd/user/hickory.3825d9.scripts/grab_issues.py.service'

I can confirm that the /home/vincent/.config/systemd/user path exists, so maybe this is a file that didn't get created?

Environment:

> pip freeze | grep hickory
hickory==1.0.0

> cat /etc/os-release
NAME="Pop!_OS"
VERSION="20.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 20.04 LTS"
VERSION_ID="20.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
LOGO=distributor-logo-pop-os
@Schokobecher
Copy link

Do you still have that issue @koaning?
Which pop!_OS version are you running?

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

2 participants