bw2data.errors#
Exceptions#
Base class for exceptions in Brightway2 |
|
This project is not yet migrated to Brightway 2.5 |
|
Revision comparison of two different objects doesn't make sense and isn't allowed |
|
Can't have nodes with same unique identifiers |
|
Revision comparison across two different classes doesn't make sense and isn't allowed |
|
Attempted a change on data which was in an inconsistent state with the changeset. |
|
The given datapackage can't be used for the requested task. |
|
Exchange is missing 'amount' or 'input' |
|
Base class for exceptions in Brightway2 |
|
Base class for exceptions in Brightway2 |
|
This operation is not allowed |
|
Requested web resource not found |
|
Pickle file can't be loaded due to updated library file structure |
|
Base class for exceptions in Brightway2 |
|
Exchange doesn't have 'type' attribute |
|
The activity or exchange dataset does not have all the required fields |
|
Can't find running instance of bw2-web |
|
Can't save activities from database x to database y. |
Module Contents#
- exception bw2data.errors.BW2Exception[source]#
Bases:
Exception
Base class for exceptions in Brightway2
Initialize self. See help(type(self)) for accurate signature.
- exception bw2data.errors.Brightway2Project[source]#
Bases:
BW2Exception
This project is not yet migrated to Brightway 2.5
Initialize self. See help(type(self)) for accurate signature.
- exception bw2data.errors.DifferentObjects[source]#
Bases:
BW2Exception
Revision comparison of two different objects doesn’t make sense and isn’t allowed
Initialize self. See help(type(self)) for accurate signature.
- exception bw2data.errors.DuplicateNode[source]#
Bases:
BW2Exception
Can’t have nodes with same unique identifiers
Initialize self. See help(type(self)) for accurate signature.
- exception bw2data.errors.IncompatibleClasses[source]#
Bases:
BW2Exception
Revision comparison across two different classes doesn’t make sense and isn’t allowed
Initialize self. See help(type(self)) for accurate signature.
- exception bw2data.errors.InconsistentData[source]#
Bases:
BW2Exception
Attempted a change on data which was in an inconsistent state with the changeset.
Initialize self. See help(type(self)) for accurate signature.
- exception bw2data.errors.InvalidDatapackage[source]#
Bases:
BW2Exception
The given datapackage can’t be used for the requested task.
Initialize self. See help(type(self)) for accurate signature.
- exception bw2data.errors.InvalidExchange[source]#
Bases:
BW2Exception
Exchange is missing ‘amount’ or ‘input’
Initialize self. See help(type(self)) for accurate signature.
- exception bw2data.errors.MissingIntermediateData[source]#
Bases:
BW2Exception
Base class for exceptions in Brightway2
Initialize self. See help(type(self)) for accurate signature.
- exception bw2data.errors.MultipleResults[source]#
Bases:
BW2Exception
Base class for exceptions in Brightway2
Initialize self. See help(type(self)) for accurate signature.
- exception bw2data.errors.NotAllowed[source]#
Bases:
BW2Exception
This operation is not allowed
Initialize self. See help(type(self)) for accurate signature.
- exception bw2data.errors.NotFound[source]#
Bases:
BW2Exception
Requested web resource not found
Initialize self. See help(type(self)) for accurate signature.
- exception bw2data.errors.PickleError[source]#
Bases:
BW2Exception
Pickle file can’t be loaded due to updated library file structure
Initialize self. See help(type(self)) for accurate signature.
- exception bw2data.errors.UnknownObject[source]#
Bases:
BW2Exception
Base class for exceptions in Brightway2
Initialize self. See help(type(self)) for accurate signature.
- exception bw2data.errors.UntypedExchange[source]#
Bases:
BW2Exception
Exchange doesn’t have ‘type’ attribute
Initialize self. See help(type(self)) for accurate signature.
- exception bw2data.errors.ValidityError[source]#
Bases:
BW2Exception
The activity or exchange dataset does not have all the required fields
Initialize self. See help(type(self)) for accurate signature.
- exception bw2data.errors.WebUIError[source]#
Bases:
BW2Exception
Can’t find running instance of bw2-web
Initialize self. See help(type(self)) for accurate signature.
- exception bw2data.errors.WrongDatabase[source]#
Bases:
BW2Exception
Can’t save activities from database x to database y.
Initialize self. See help(type(self)) for accurate signature.