there is a python probleme #844

Open
opened 2024-03-23 11:13:00 +00:00 by barnybla · 1 comment

What I'm trying to do and why

I try to make a backup and get a error:

Traceback (most recent call last): File "/usr/local/bin/borgmatic", line 5, in <module> from borgmatic.commands.borgmatic import main ModuleNotFoundError: No module named 'borgmatic'
that ist the file:

`#!/volume1/@appstore/borgbackup/env/bin/python3

-- coding: utf-8 --

import re
import sys
from borgmatic.commands.borgmatic import main
if name == 'main':
sys.argv[0] = re.sub(r'(-script.pyw|.exe)?$', '', sys.argv[0])
sys.exit(main())
~
`

Steps to reproduce

this is comming for each command

Actual behavior

No response

Expected behavior

No response

Other notes / implementation ideas

No response

borgmatic version

No response

borgmatic installation method

1.8.2

Borg version

1.2.6

Python version

Python 3.10.13

Database version (if applicable)

No response

Operating system and version

DSM 7.2-64570 Update 1

### What I'm trying to do and why I try to make a backup and get a error: `Traceback (most recent call last): File "/usr/local/bin/borgmatic", line 5, in <module> from borgmatic.commands.borgmatic import main ModuleNotFoundError: No module named 'borgmatic' ` that ist the file: `#!/volume1/@appstore/borgbackup/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from borgmatic.commands.borgmatic import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main()) ~ ` ### Steps to reproduce this is comming for each command ### Actual behavior _No response_ ### Expected behavior _No response_ ### Other notes / implementation ideas _No response_ ### borgmatic version _No response_ ### borgmatic installation method 1.8.2 ### Borg version 1.2.6 ### Python version Python 3.10.13 ### Database version (if applicable) _No response_ ### Operating system and version DSM 7.2-64570 Update 1
Owner

This sounds like an installation or packaging issue specific to the Synology DSM package for Borg Backup. My recommendation is to reach out the package maintainers with this issue, and the best way to do that might be by filing a ticket here: https://github.com/SynoCommunity/spksrc/issues

Thanks!

This sounds like an installation or packaging issue specific to the Synology DSM package for Borg Backup. My recommendation is to reach out the package maintainers with this issue, and the best way to do that *might* be by filing a ticket here: https://github.com/SynoCommunity/spksrc/issues Thanks!
witten added the
question / support
label 2024-03-23 15:53:38 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#844
No description provided.