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!
downloader error when updating
-
- Posts: 96
- Joined: Thu Jun 04, 2020 9:01 pm
- Has thanked: 16 times
- Been thanked: 19 times
-
- Top Contributor
- Posts: 381
- Joined: Tue Jun 16, 2020 12:22 pm
- Has thanked: 58 times
- Been thanked: 77 times
Re: downloader error when updating
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!)
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
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!
I fill the card to the gills with games, then forget that some of the bigger updates need space to install!
-
- Scripting Wizard
- Posts: 106
- Joined: Sun May 24, 2020 8:20 pm
- Been thanked: 41 times
Re: downloader error when updating
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.
-
- Posts: 96
- Joined: Thu Jun 04, 2020 9:01 pm
- Has thanked: 16 times
- Been thanked: 19 times