Comments (8)
Thanks, i rarely use the docker images. They use on debian bullseye. Ill change the dockerfile to use bookworm
from virtnbdbackup.
@adrianparilli you might want to consider updating your docker images aswell
from virtnbdbackup.
Thank you for the quick fix by the way 👍
from virtnbdbackup.
Strange, which Version of the Python colorlog Module do you have installed? How did you install virtnbdbackup? The issue is within the log output color module Not virtnbdbackup itself.
you can probably workaround if you Use the --nocolor Option. Seems like there is a incompatible Version of the colorlog module installed on your System
from virtnbdbackup.
I'm having the same problem. I'm using the docker container and it reports this as well:
ValueError: Formatting field not found in record: 'light_blue'
Adding --nocolor does help so it's fine for me.
from virtnbdbackup.
which docker container? I dont maintain any official docker images for virtnbdbackup, only the scripts to create the container by yourself. Might well be that the docker container used is shipping very old versions of the python-colorlog module.
Official debian and other rpm based distributions ship python3-colorlog which has the light_blue color defined:
grep light_blue /usr/lib/python3/dist-packages/colorlog/escape_codes.py
"light_blue": 94,
"light_blue": 104,
dpkg -S /usr/lib/python3/dist-packages/colorlog/escape_codes.py
python3-colorlog: /usr/lib/python3/dist-packages/colorlog/escape_codes.py
The light color codes have been introduced in python-colorlog as with version:
"6.0.0-alpha.2"
which was nearly 2 years ago:
borntyping/python-colorlog@7d17097
at least python-colorlog version 6.4.1 is required, ive added a more strict dependency in requirements.txt now.
So to fix this issue:
- use a docker container that uses more recent OS/Packages or build the container by yourself
- update python3-colorlog module or use an venv if your distribution doesnt ship at least version 6.4.1
- use --nocolor option to workaorund.
from virtnbdbackup.
I wasn't clear enough. I use the dockerfile in this repository to build the container. It seems that the used base image (bullseye) doesn't have a newer version available:
/# apt list python3-colorlog
Listing... Done
python3-colorlog/now 4.7.2-1 all [installed,local]
from virtnbdbackup.
hmm.. i reconsidered. Im using the color code regular "blue" now which is available in all colorlog verisons. Its bad to lose compatiblity with older debian and rhel distributions just for a slight color change.
from virtnbdbackup.
Related Issues (20)
- Output folder must not exist (during a remote restore) HOT 2
- domain not found, but shows in virsh list HOT 3
- Incremental backup fails with error "ImportError: cannot import name 'sighandle'" after previous successful full backup HOT 1
- Errors in journalctl HOT 2
- Operation not supported: creating checkpoint for incremental backup is not supported yet HOT 4
- Progress show TB of data during backup of ~61GB disk HOT 5
- After first offline backup the second fail with "does not contain full backup" HOT 4
- restore failed with more than one disk - NDB error HOT 8
- Start virtual machines in paused state if offline to allow full/incremental/differential backup HOT 1
- fs freeze / warning domain is not running doesn't make sense with option --start-domain
- IndexError: list index out of range using virtnbdbackup tool HOT 15
- Backup (SW)TPM Device related files
- Local backup being detected as remote, fails HOT 3
- amount of backup data in human readable size (MB/GB/TB) HOT 3
- Fedora 39 - RHEL9 - ModuleNotFoundError: No module named 'nbd' HOT 9
- Plausibility check for backup (amount of data) HOT 1
- Remote Backup Problem HOT 2
- backup with compression enabled fails: unsupported operand type(s) for +: 'int' and 'dict' HOT 4
- Kubevirt/openshift virtualization: howto
- Error during checkpoint removal
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from virtnbdbackup.