hwangeug / lutris-bulk-adder

Python script to import a directory of ROM files into Lutris
MIT License
10 stars 6 forks source link

sqlite3.OperationalError: table games has no column named steamid #3

Open eduardomozart opened 3 years ago

eduardomozart commented 3 years ago

After figuring out the issue #2, it does dry run successfully but the following error is being thrown:

$ lutris_bulk_adder -d "/home/leo/Games/Nintendo - Nintendo 64/" -r mupen64plus -p "Nintendo N64"
  File "/home/leo/.local/bin/lutris_bulk_adder", line 10, in <module>
    sys.exit(main())
  File "/home/leo/.local/lib/python3.7/site-packages/lutris_bulk_adder/lutris_bulk_adder.py", line 261, in main
    cur.execute(query, list(values.values()))
sqlite3.OperationalError: table games has no column named steamid

I believe that with the constant updates that Lutris received this script is a little outdated. I edited the script manually and removed the ''steamid'' from ''/home/leo/.local/lib/python3.7/site-packages/lutris_bulk_adder/lutris_bulk_adder.py'' and it successfully imported my games.

goldentg commented 9 months ago

faced the same problem. Commenting out the steamid fixed it for me as well. I hadn't thought of doing so, thanks for the tip