GreenScheduler / cats

CATS: the Climate-Aware Task Scheduler :cat2: :tiger2: :leopard:
https://greenscheduler.github.io/cats/
MIT License
52 stars 9 forks source link

unknown fail #81

Closed mkbane closed 7 months ago

mkbane commented 7 months ago

falls over on first try: INSTALL via pip install git+https://github.com/GreenScheduler/catsthub.com/GreenScheduler/cats

but... $ ~/.local/bin/cats -d 10 WARNING:root:config file not found WARNING:root:Unspecified carbon intensity forecast service, using carbonintensity.org.uk WARNING:root:location not provided. Estimating location from IP address: M3. Traceback (most recent call last): File "/home/staff/banem/.local/bin/cats", line 8, in sys.exit(main()) File "/home/staff/banem/.local/lib/python3.9/site-packages/cats/init.py", line 218, in main config, CI_API_interface, location, duration = get_runtime_config(args) ValueError: too many values to unpack (expected 4)

wich doesn't mean much to me! There are WARNINGs (not ERRORs) but then some unclear "ValueError" failure...

andreww commented 7 months ago

Thanks for the report. I think this is because we've broken things with the latest commit on our main branch on github (see #83, we're still hacking away quite hard on this project). It shouldn't take too long to fix.

tlestang commented 7 months ago

@mkbane This should have been fixed now that #80 is merged. Reopen if not!