Re: cross-platform backup tool Strange string of messages; rdiff-backup won't run

EricZolf <[email protected]>
Newsgroups gmane.comp.sysutils.backup.rdiff-backup.general
Message-ID <[email protected]>
Hi Eric, 
I can only guess but from the look of it,  you had e.g. an (apt) upgrade running and your python or rdiff-backup installation was inconsistent, the import mechanism was broken. I can pretty surely say that it had nothing to do with rdiff-backup itself. 
KR, Eric

On November 19, 2022 12:51:06 AM UTC, Eric Beversluis <[email protected]> wrote:
>I rebooted the box and now the backup seems to be working OK. Any idea as to what these messages might mean would still be appreciated.
>
>On 11/18/22 19:40, Eric Beversluis wrote:
>> I just tried to run rdiff-backup on my Ubuntu 20.04 setup on a Dell XPS 13". The following command has run successfully any number of times in the three months since I got my new box (Dell factory Ubuntu image installed.) Now I get this strange string of messages. What do they mean?
>> 
>> eric@eric-XPS-9315:~$ sudo rdiff-backup  --exclude "/home/eric/VirtualBox VMs" --include /home/ --include /var/www --include /usr/share/fonts --exclude '**' / /media/eric/021cc172-036d-4b8c-be87-c6298c9f7c4c/XPS-2022-08
>> [sudo] password for eric:
>> Traceback (most recent call last):
>>   File "/usr/bin/rdiff-backup", line 19, in <module>
>>     import rdiff_backup.Main
>>   File "/usr/lib/python3/dist-packages/rdiff_backup/Main.py", line 30, in <module>
>>     from . import (
>>   File "/usr/lib/python3/dist-packages/rdiff_backup/SetConnections.py", line 31, in <module>
>>     from . import Globals, connection, rpath
>>   File "<frozen importlib._bootstrap>", line 991, in _find_and_load
>>   File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
>>   File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
>>   File "<frozen importlib._bootstrap_external>", line 844, in exec_module
>>   File "<frozen importlib._bootstrap_external>", line 976, in get_code
>>   File "<frozen importlib._bootstrap_external>", line 640, in _compile_bytecode
>> ValueError: bad marshal data (unknown type code)
>>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.