DBC:Errors/Executing: Difference between revisions
Jump to navigation
Jump to search
Created page with "Category:DBCollect" |
No edit summary |
||
Line 1: | Line 1: | ||
[[Category:DBCollect]] | [[Category:DBCollect]] | ||
Some known errors that happen when running dbcollect. | |||
<syntaxhighlight lang=bash> | |||
# PK... errors | |||
# This means you are running a very old Python version (before 2.6) that does not understand Python ZipApp packages | |||
File "dbcollect", line 2 | |||
PK""" | |||
# Environment problems | |||
/usr/bin/env: ‘python’: No such file or directory | |||
<syntaxhighlight lang=bash> | |||
# This means python is not in $PATH. On more recent RHEL Linux variants (EL 8), you need to specify | |||
# which Python major version is to be used. Select Python3 if unsure. | |||
alternatives --set python /usr/bin/python3 | |||
# Python3 should now be the default. Check: | |||
ls -l $(readlink -f $(which python)) | |||
-rwxr-xr-x 2 root root 11872 Sep 24 11:46 /usr/libexec/platform-python3.6 | |||
Error: No buildinfo | |||
# You are trying to run dbcollect using a cloned repository (git clone). | |||
# DBcollect should run as a ZipApp package and be downloaded from Github Releases to be reliable. | |||
# You can manually build dbcollect if you really want to use the git repository. | |||
dbcollect must run from a ZipApp package, use https://github.com/outrunnl/dbcollect/releases/latest | |||
</syntaxhighlight> |
Revision as of 14:53, 5 November 2024
Some known errors that happen when running dbcollect.
# PK... errors
# This means you are running a very old Python version (before 2.6) that does not understand Python ZipApp packages
File "dbcollect", line 2
PK"""
# Environment problems
/usr/bin/env: ‘python’: No such file or directory
<syntaxhighlight lang=bash>
# This means python is not in $PATH. On more recent RHEL Linux variants (EL 8), you need to specify
# which Python major version is to be used. Select Python3 if unsure.
alternatives --set python /usr/bin/python3
# Python3 should now be the default. Check:
ls -l $(readlink -f $(which python))
-rwxr-xr-x 2 root root 11872 Sep 24 11:46 /usr/libexec/platform-python3.6
Error: No buildinfo
# You are trying to run dbcollect using a cloned repository (git clone).
# DBcollect should run as a ZipApp package and be downloaded from Github Releases to be reliable.
# You can manually build dbcollect if you really want to use the git repository.
dbcollect must run from a ZipApp package, use https://github.com/outrunnl/dbcollect/releases/latest