Skip to content

Build should not fail if wiki list is damaged or git repos mentioned don't exist anymore #41

@khassel

Description

@khassel

Hi,

I'm getting reproducable build errors, maybe you have an idea:

+++    108: MMM-bunq by choffmann - https://github.com/choffmann/MMM-bunq
- I - path doesn't exists: run `git clone`
+++    109: MMM-Burn by werthdavid - https://github.com/werthdavid/MMM-Burn
- I - path doesn't exists: run `git clone`
Traceback (most recent call last):
  File "/usr/local/lib/python3.13/shutil.py", line 856, in move
    os.rename(src, real_dst)
    ~~~~~~~~~^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'modules_temp/MMM-Burn-----werthdavid' -> './modules/MMM-Burn-----werthdavid'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/repo/scripts/get_modules.py", line 90, in <module>
    get_modules()
    ~~~~~~~~~~~^^
  File "/repo/scripts/get_modules.py", line 64, in get_modules
    shutil.move(path, f"./modules/{module_name}-----{module_owner}")
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/shutil.py", line 876, in move
    copy_function(src, real_dst)
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/shutil.py", line 468, in copy2
    copyfile(src, dst, follow_symlinks=follow_symlinks)
    ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/shutil.py", line 260, in copyfile
    with open(src, 'rb') as fsrc:
         ~~~~^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'modules_temp/MMM-Burn-----werthdavid'
error building image: error building stage: failed to execute command: waiting for process to exit: exit status 1

see https://gitlab.com/khassel/mm-container/-/jobs/9604045989

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions