Fix cantaloupe export subprocess cwd #6

Closed
opened 2026-05-21 23:34:17 +00:00 by shawn · 0 comments
Owner

Bug

subprocess.run in cantaloupe_sync.py used cwd=admin_server_dir. The cantaloupe module lives at ~/projects/cantaloupe-downloader/ and could not be imported.

Fix (e9d18cb)

Changed cwd to ~/projects/cantaloupe-downloader. Also added scripts/cantaloupe-sync.sh for the 6h cron.

Related

  • Cron job 5ababff9c6e9
  • Task t_d9a34471
## Bug subprocess.run in cantaloupe_sync.py used cwd=admin_server_dir. The cantaloupe module lives at ~/projects/cantaloupe-downloader/ and could not be imported. ## Fix (e9d18cb) Changed cwd to ~/projects/cantaloupe-downloader. Also added scripts/cantaloupe-sync.sh for the 6h cron. ## Related - Cron job 5ababff9c6e9 - Task t_d9a34471
shawn closed this issue 2026-05-21 23:35:10 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shawn/canteen-admin-server#6