Page 1 of 1

downloader error when updating

Posted: Tue Oct 19, 2021 1:45 pm
by MorkMikael
when i run downloader i get


/root# downloader.sh
Running MiSTer Downloader

START!

Reading file: /media/fat/downloader.ini
Reading default db
Traceback (most recent call last):
File "/tmp/dont_download.zip/downloader/main.py", line 32, in main
exit_code = execute_runner(env, logger)
File "/tmp/dont_download.zip/downloader/main.py", line 44, in execute_runner
exit_code = runner.run()
File "/tmp/dont_download.zip/downloader/runner.py", line 92, in run
local_store = self._local_repository.load_store(self._store_migrator)
File "/tmp/dont_download.zip/downloader/local_repository.py", line 72, in load_store
store_migrator.migrate(local_store)
File "/tmp/dont_download.zip/downloader/store_migrator.py", line 31, in migrate
self._migrations.migrate(local_store)
File "/tmp/dont_download.zip/downloader/store_migrator.py", line 84, in migrate
local_store['dbs'][db_id]['zips'][zip_id]['folders'] = {folder: {} for folder in local_store['dbs'][db_id]['zips'][zip_id]['folders']}
KeyError: 'folders'

Downloader failed!

Re: downloader error when updating

Posted: Tue Oct 19, 2021 9:45 pm
by grizzly
Some questions.
New or old sd card?
New or old mister setup on the sd card?
Free space on the sd card?

If new setup how did you set it up?
As in using the official mister or maybe mr fusion or something else?
What filesystem is on the sd card ntfs/fat32/exfat/ext/etc? (seen alot of problem with ntfs on this forum!)

Re: downloader error when updating

Posted: Tue Oct 19, 2021 10:08 pm
by Higgy
The thing that has caused me problems twice is running out of storage space, so certainly worth a check.
I fill the card to the gills with games, then forget that some of the bigger updates need space to install!

Re: downloader error when updating

Posted: Tue Oct 19, 2021 10:56 pm
by theypsilon
MorkMikael wrote: Tue Oct 19, 2021 1:45 pm when i run downloader i get


/root# downloader.sh
Running MiSTer Downloader

START!

Reading file: /media/fat/downloader.ini
Reading default db
Traceback (most recent call last):
File "/tmp/dont_download.zip/downloader/main.py", line 32, in main
exit_code = execute_runner(env, logger)
File "/tmp/dont_download.zip/downloader/main.py", line 44, in execute_runner
exit_code = runner.run()
File "/tmp/dont_download.zip/downloader/runner.py", line 92, in run
local_store = self._local_repository.load_store(self._store_migrator)
File "/tmp/dont_download.zip/downloader/local_repository.py", line 72, in load_store
store_migrator.migrate(local_store)
File "/tmp/dont_download.zip/downloader/store_migrator.py", line 31, in migrate
self._migrations.migrate(local_store)
File "/tmp/dont_download.zip/downloader/store_migrator.py", line 84, in migrate
local_store['dbs'][db_id]['zips'][zip_id]['folders'] = {folder: {} for folder in local_store['dbs'][db_id]['zips'][zip_id]['folders']}
KeyError: 'folders'

Downloader failed!


Hey, thanks for reporting this. Could you try again? I think it should be fixed now, it seems you ran into some edge case I was not aware of.

Re: downloader error when updating

Posted: Wed Oct 20, 2021 9:34 am
by MorkMikael
works now thanks theypsilon.