Open qw3r3wq opened 3 years ago
perl -d ./weatherspect
shows:
Not a HASH reference at ./weatherspect line 371.
at ./weatherspect line 371.
main::update_weather(0) called at ./weatherspect line 106
main::main() called at ./weatherspect line 87
Debugged program terminated. Use q to quit or R to restart,
use o inhibit_exit to avoid stopping after program termination,
h q, h R or h o to get additional info.
DB<2>
rusla@x201:~/git/weatherspect$
Also this with debug disabled in config file:
Can't locate object method "new" via package "JSON" at ./weatherspect line 4994.
at ./weatherspect line 4994.
Weather::OpenWeatherMap::Weatherspect::get_weather(Weather::OpenWeatherMap::Weatherspect=HASH(0x55e70ed5c328)) called at ./weatherspect line 349
main::update_weather(0) called at ./weatherspect line 106
main::main() called at ./weatherspect line 87
Debugged program terminated. Use q to quit or R to restart,
use o inhibit_exit to avoid stopping after program termination,
h q, h R or h o to get additional info.
too bad this is broken right now...
Is this still an issue? I just tested it on Ubuntu 20.21 and it seems to work fine except for a couple of warnings (#6)
Still not working on debian testing right now. Maybe it doesn't break on Ubuntu before 22.04/10?
Solved this by removing the JSON package section at the bottom of the file. Not sure if a PR is the right move since it was probably there for a reason. Hope this helps anyone still trying to get this to work!
Trying to run it on Debian testing,
Also, I have Term::Animate 2.6 library added. In the weatherspect I see you use 2.5, might it be a case?
Debug file contains: