You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Ubuntu 23.04, ruby 3.1, but get the above error after pasting in my API keys.
Your keys have now been written to the configuration file (.imdb.conf). You can edit this file manually if needed.
Press 'y' to start imdb-term Loading IMDB data... (this may take som time, go get some coffee)
/var/lib/gems/3.1.0/gems/rest-client-2.1.0/lib/restclient/abstract_response.rb:249:in `exception_with_response': 500 Internal Server Error (RestClient::InternalServerError)
from /var/lib/gems/3.1.0/gems/rest-client-2.1.0/lib/restclient/abstract_response.rb:129:in `return!'
from /var/lib/gems/3.1.0/gems/rest-client-2.1.0/lib/restclient/request.rb:836:in `process_result'
from /var/lib/gems/3.1.0/gems/rest-client-2.1.0/lib/restclient/request.rb:743:in `block in transmit'
from /usr/lib/ruby/3.1.0/net/http.rb:966:in `start'
from /var/lib/gems/3.1.0/gems/rest-client-2.1.0/lib/restclient/request.rb:727:in `transmit'
from /var/lib/gems/3.1.0/gems/rest-client-2.1.0/lib/restclient/request.rb:163:in `execute'
from /var/lib/gems/3.1.0/gems/rest-client-2.1.0/lib/restclient/request.rb:63:in `execute'
from /var/lib/gems/3.1.0/gems/imdb-terminal-0.7.4/bin/imdb:412:in `getimdb'
from /var/lib/gems/3.1.0/gems/imdb-terminal-0.7.4/bin/imdb:424:in `loadimdb'
from /var/lib/gems/3.1.0/gems/imdb-terminal-0.7.4/bin/imdb:726:in `<top (required)>'
from /usr/local/bin/imdb:25:in `load'
from /usr/local/bin/imdb:25:in `<main>'
On second run, the load appeared to be working, getting a coffee, but that failed again..
Loading IMDB data... (this may take som time, go get some coffee)
/var/lib/gems/3.1.0/gems/imdb-terminal-0.7.4/bin/imdb:664:in `w_b': undefined method `clr' for nil:NilClass (NoMethodError)
@w_b.clr
^^^^
from /var/lib/gems/3.1.0/gems/imdb-terminal-0.7.4/bin/imdb:538:in `saveimdb'
from /var/lib/gems/3.1.0/gems/imdb-terminal-0.7.4/bin/imdb:727:in `<top (required)>'
from /usr/local/bin/imdb:25:in `load'
from /usr/local/bin/imdb:25:in `<main>'
On further runs, I either get the above "undefined method" error or 502 or 400 errors in the HTTP requests. I wonder if the code needs better error handling or repeat after a delay when performing these requests.
The text was updated successfully, but these errors were encountered:
alan@Alans-MacBook-Air ~ % imdb
Loading IMDB data... (this may take som time, go get some coffee)
/Library/Ruby/Gems/2.6.0/gems/imdb-terminal-0.7.4/bin/imdb:664:in `w_b': undefined method `clr' for nil:NilClass (NoMethodError)
from /Library/Ruby/Gems/2.6.0/gems/imdb-terminal-0.7.4/bin/imdb:538:in `saveimdb'
from /Library/Ruby/Gems/2.6.0/gems/imdb-terminal-0.7.4/bin/imdb:727:in `<top (required)>'
from /usr/local/bin/imdb:23:in `load'
from /usr/local/bin/imdb:23:in `<main>'
Good looking project! Thanks for making it.
I'm using Ubuntu 23.04, ruby 3.1, but get the above error after pasting in my API keys.
On second run, the load appeared to be working, getting a coffee, but that failed again..
On further runs, I either get the above "undefined method" error or 502 or 400 errors in the HTTP requests. I wonder if the code needs better error handling or repeat after a delay when performing these requests.
The text was updated successfully, but these errors were encountered: