Coder Social home page Coder Social logo

Incremental backup fails with error "ImportError: cannot import name 'sighandle'" after previous successful full backup about virtnbdbackup HOT 1 CLOSED

ThomasFrickB avatar ThomasFrickB commented on June 20, 2024
Incremental backup fails with error "ImportError: cannot import name 'sighandle'" after previous successful full backup

from virtnbdbackup.

Comments (1)

abbbi avatar abbbi commented on June 20, 2024

ive just installed the package on a fresh alma 8.8 instance and the required sighandle.py is included in the package. I wonder how it could ever work for you because signal handling code is loaded no matter if full or incremental backup is attempted. If this file is missing or broken the utility wont work at all.

[root@alma8-cli t]# rpm -ql virtnbdbackup | grep sighandle\.py
/usr/lib/python3.6/site-packages/libvirtnbdbackup/sighandle.py

the only way i could reproduce this is by breaking the installation by removing the sighandle code:

[root@alma8-cli t]# mv /usr/lib/python3.6/site-packages/libvirtnbdbackup/sighandle.py /usr/lib/python3.6/site-packages/libvirtnbdbackup/sighandle.py.voo
[root@alma8-cli t]# virtnbdbackup 
Traceback (most recent call last):
  File "/bin/virtnbdbackup", line 27, in <module>
    from libvirtnbdbackup import sighandle
ImportError: cannot import name 'sighandle'

Please check if the environment is still functional / all files from the rpm package exist and/or consider re-installing.

from virtnbdbackup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.