bw2data.errors#

Module Contents#

exception bw2data.errors.BW2Exception[source]#

Bases: BaseException

Inheritance diagram of bw2data.errors.BW2Exception

Base class for exceptions in Brightway2

Initialize self. See help(type(self)) for accurate signature.

exception bw2data.errors.Brightway2Project[source]#

Bases: BW2Exception

Inheritance diagram of bw2data.errors.Brightway2Project

This project is not yet migrated to Brightway 2.5

Initialize self. See help(type(self)) for accurate signature.

exception bw2data.errors.DuplicateNode[source]#

Bases: BW2Exception

Inheritance diagram of bw2data.errors.DuplicateNode

Can’t have nodes with same unique identifiers

Initialize self. See help(type(self)) for accurate signature.

exception bw2data.errors.InvalidDatapackage[source]#

Bases: BW2Exception

Inheritance diagram of bw2data.errors.InvalidDatapackage

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

Inheritance diagram of bw2data.errors.InvalidExchange

Exchange is missing ‘amount’ or ‘input’

Initialize self. See help(type(self)) for accurate signature.

exception bw2data.errors.MissingIntermediateData[source]#

Bases: BW2Exception

Inheritance diagram of bw2data.errors.MissingIntermediateData

Base class for exceptions in Brightway2

Initialize self. See help(type(self)) for accurate signature.

exception bw2data.errors.MultipleResults[source]#

Bases: BW2Exception

Inheritance diagram of bw2data.errors.MultipleResults

Base class for exceptions in Brightway2

Initialize self. See help(type(self)) for accurate signature.

exception bw2data.errors.NotAllowed[source]#

Bases: BW2Exception

Inheritance diagram of bw2data.errors.NotAllowed

This operation is not allowed

Initialize self. See help(type(self)) for accurate signature.

exception bw2data.errors.NotFound[source]#

Bases: BW2Exception

Inheritance diagram of bw2data.errors.NotFound

Requested web resource not found

Initialize self. See help(type(self)) for accurate signature.

exception bw2data.errors.PickleError[source]#

Bases: BW2Exception

Inheritance diagram of bw2data.errors.PickleError

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

Inheritance diagram of bw2data.errors.UnknownObject

Base class for exceptions in Brightway2

Initialize self. See help(type(self)) for accurate signature.

exception bw2data.errors.UntypedExchange[source]#

Bases: BW2Exception

Inheritance diagram of bw2data.errors.UntypedExchange

Exchange doesn’t have ‘type’ attribute

Initialize self. See help(type(self)) for accurate signature.

exception bw2data.errors.ValidityError[source]#

Bases: BW2Exception

Inheritance diagram of bw2data.errors.ValidityError

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

Inheritance diagram of bw2data.errors.WebUIError

Can’t find running instance of bw2-web

Initialize self. See help(type(self)) for accurate signature.

exception bw2data.errors.WrongDatabase[source]#

Bases: BW2Exception

Inheritance diagram of bw2data.errors.WrongDatabase

Can’t save activities from database x to database y.

Initialize self. See help(type(self)) for accurate signature.