Lyle-Tafoya / Steam-Categorizer

Automatically generate categories for games in your Steam library
GNU General Public License v3.0
25 stars 2 forks source link

categorizer.rb:31:in `initialize': undefined method `text' for nil:NilClass (NoMethodError) #25

Closed ibrokemypie closed 7 years ago

ibrokemypie commented 7 years ago

getting this error whenever I try to use your app

$ steam-categorizer -p ~/Steam-Categorizer/example/steam_categorizer.json -c ~/.steam/steam/userdata/97404444/config/localconfig.vdf
 INFO  Steam::Categorizer::GameLibrary : Getting list of games...
/usr/lib/ruby/gems/2.4.0/gems/steam-categorizer-0.5.9/lib/steam/categorizer.rb:31:in `initialize': undefined method `text' for nil:NilClass (NoMethodError)
    from /usr/lib/ruby/gems/2.4.0/gems/steam-categorizer-0.5.9/exe/steam-categorizer:21:in `new'
    from /usr/lib/ruby/gems/2.4.0/gems/steam-categorizer-0.5.9/exe/steam-categorizer:21:in `<top (required)>'
    from /usr/bin/steam-categorizer:22:in `load'
    from /usr/bin/steam-categorizer:22:in `<main>'

I have tried with different paths, with and without config, and with gui, always fails the same way. also, had trouble installing because I didnt realise I needed these deps which are not built/mentioned bundler, ruby-devel, gobject-introspection

Lyle-Tafoya commented 7 years ago

I believe this is a duplicate of #23. Please see that issue for more information.

As far as the dependencies go, did you use rake install or bundle install in order to ensure that all dependencies are fetched automatically?

ibrokemypie commented 7 years ago

Yes, I had, they were not being built, although I think that that was actually because I was missing ruby-devel an gobject-introspection