Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid cross-device link on update #24

Open
KClough opened this issue Jul 22, 2022 · 3 comments
Open

Invalid cross-device link on update #24

KClough opened this issue Jul 22, 2022 · 3 comments

Comments

@KClough
Copy link

KClough commented Jul 22, 2022

Copying new MiSTer binary:
Traceback (most recent call last):
  File "/tmp/dont_download.zip/downloader/main.py", line 37, in main
    exit_code = execute_full_run(
  File "/tmp/dont_download.zip/downloader/main.py", line 57, in execute_full_run
    exit_code = runner.full_run()
  File "/tmp/dont_download.zip/downloader/full_run_service.py", line 59, in full_run
    result = self._full_run_impl()
  File "/tmp/dont_download.zip/downloader/full_run_service.py", line 121, in _full_run_impl
    self._online_importer.download_dbs_contents(importer_command, full_resync)
  File "/tmp/dont_download.zip/downloader/online_importer.py", line 95, in download_dbs_contents
    db_importer.process_changed_files(changed_files, needed_zips, filtered_zip_data)
  File "/tmp/dont_download.zip/downloader/online_importer.py", line 588, in process_changed_files
    file_downloader.download_files(self._is_first_run())
  File "/tmp/dont_download.zip/downloader/file_downloader.py", line 121, in download_files
    self._file_system.move(FILE_MiSTer_new, FILE_MiSTer)
  File "/tmp/dont_download.zip/downloader/file_system.py", line 189, in move
    os.replace(self._path(source), self._path(target))
OSError: [Errno 18] Invalid cross-device link: '/media/usb0/MiSTer.new' -> '/media/fat/MiSTer'

Downloader failed!

Here is my download.ini

[MiSTer]
base_path = '/media/usb0'

[distribution_mister]
db_url = https://raw.githubusercontent.com/MiSTer-devel/Distribution_MiSTer/main/db.json.zip

[jtcores]
db_url = https://raw.githubusercontent.com/jotego/jtcores_mister/main/jtbindb.json.zip

[bios_db]
db_url = https://raw.githubusercontent.com/theypsilon/BiosDB_MiSTer/db/bios_db.json
@theypsilon
Copy link
Member

More instances of seemlingly looking similar issues: https://misterfpga.org/viewtopic.php?t=4741

I've tried to reproduce it many times without success yet.

@theypsilon
Copy link
Member

@theypsilon
Copy link
Member

Is anyone having this issue lately? I think I might have fixed it a while ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants