portage.exception module¶
- exception portage.exception.AlarmSignal(value, signum=None, frame=None)¶
Bases:
portage.exception.TimeoutException
- classmethod _signal_handler(signum, frame)¶
- args¶
- classmethod register(time)¶
- classmethod unregister()¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.AmbiguousPackageName(*args, **kwargs)¶
Bases:
ValueError
,portage.exception.PortageException
Raised by portage.cpv_expand() when the package name is ambiguous due to the existence of multiple matches in different categories. This inherits from ValueError, for backward compatibility with calling code that already handles ValueError.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.CommandNotFound(value)¶
Bases:
portage.exception.PortageException
A required binary was not available or executable
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.CompressorNotFound(value)¶
Bases:
portage.exception.PortagePackageException
A required compressor binary was not available or executable
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.CompressorOperationFailed(value)¶
Bases:
portage.exception.PortagePackageException
An error occurred during external operation
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.CorruptionError(value)¶
Bases:
portage.exception.PortageException
Corruption indication
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.DigestException(value)¶
Bases:
portage.exception.SignatureException
A problem exists in the digest
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.DirectoryNotFound(value)¶
Bases:
portage.exception.InvalidLocation
A directory was not found when it was expected to exist
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.FileNotFound(value)¶
Bases:
portage.exception.InvalidLocation
A file was not found when it was expected to exist
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.GPGException(value)¶
Bases:
portage.exception.SignatureException
GPG operation failed
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.IncorrectParameter(value)¶
Bases:
portage.exception.PortageException
A parameter of the wrong type was passed
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.InvalidAtom(value, category=None)¶
Bases:
portage.exception.PortagePackageException
Malformed atom spec
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.InvalidBinaryPackageFormat(value)¶
Bases:
portage.exception.PortagePackageException
Invalid Binary Package Format
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.InvalidCompressionMethod(value)¶
Bases:
portage.exception.PortagePackageException
Invalid or unsupported compression method
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.InvalidData(value, category=None)¶
Bases:
portage.exception.PortageException
An incorrect formatting was passed instead of the expected one
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.InvalidDataType(value)¶
Bases:
portage.exception.PortageException
An incorrect type was passed instead of the expected one
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.InvalidDependString(value, errors=None)¶
Bases:
portage.exception.PortageException
An invalid depend string has been encountered
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.InvalidLocation(value)¶
Bases:
portage.exception.PortageException
Data was not found when it was expected to exist or was specified incorrectly
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.InvalidPackageName(value)¶
Bases:
portage.exception.PortagePackageException
Malformed package name
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.InvalidSignature(value)¶
Bases:
portage.exception.SignatureException
Signature was checked and was not a valid, current, nor trusted signature
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.InvalidVersionString(value)¶
Bases:
portage.exception.PortageException
An invalid version string has been encountered
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.IsADirectory(value)¶
Bases:
portage.exception.PortageException
A directory was found when it was expected to be a file
- args¶
- errno = 21¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.MissingParameter(value)¶
Bases:
portage.exception.PortageException
A parameter is required for the action requested but was not passed
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.MissingSignature(value)¶
Bases:
portage.exception.SignatureException
Signature was not present in the checked file
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.OperationNotPermitted(value)¶
Bases:
portage.exception.PortageException
An operation was not permitted operating system
- args¶
- errno = 1¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.OperationNotSupported(value)¶
Bases:
portage.exception.PortageException
Operation not supported
- args¶
- errno = 95¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.PackageNotFound(value)¶
Bases:
portage.exception.PortagePackageException
Missing Ebuild or Binary
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.PackageSetNotFound(value)¶
Bases:
portage.exception.PortagePackageException
Missing package set
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.ParseError(value)¶
Bases:
portage.exception.PortageException
An error was generated while attempting to parse the request
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.PermissionDenied(value)¶
Bases:
portage.exception.PortageException
Permission denied
- args¶
- errno = 13¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.PortageException(value)¶
Bases:
Exception
General superclass for portage exceptions
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.PortageKeyError(value)¶
Bases:
KeyError
,portage.exception.PortageException
Mapping key not found.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.PortagePackageException(value)¶
Bases:
portage.exception.PortageException
Malformed or missing package data
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.ReadOnlyFileSystem(value)¶
Bases:
portage.exception.PortageException
Read-only file system
- args¶
- errno = 30¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.SecurityViolation(value)¶
Bases:
portage.exception.PortageException
An incorrect formatting was passed instead of the expected one
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.SignatureException(value)¶
Bases:
portage.exception.PortageException
Signature was not present in the checked file
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.TimeoutException(value)¶
Bases:
portage.exception.PortageException
Operation timed out
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.TryAgain(value)¶
Bases:
portage.exception.PortageException
Try again
- args¶
- errno = 11¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.UnsupportedAPIException(cpv, eapi)¶
Bases:
portage.exception.PortagePackageException
Unsupported API
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception portage.exception.UntrustedSignature(value)¶
Bases:
portage.exception.SignatureException
Signature was not certified to the desired security level
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.