bw2data.errors#

Exceptions#

BW2Exception

Base class for exceptions in Brightway2

InvalidExchange

Exchange is missing 'amount' or 'input'

MissingIntermediateData

Base class for exceptions in Brightway2

NotAllowed

This operation is not allowed

NotFound

Requested web resource not found

PickleError

Pickle file can't be loaded due to updated library file structure

ReadOnlyProject

Current project is read only

UnknownObject

Base class for exceptions in Brightway2

UntypedExchange

Exchange doesn't have 'type' attribute

ValidityError

The activity or exchange dataset does not have all the required fields

WebUIError

Can't find running instance of bw2-web

WrongDatabase

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

Module Contents#

exception bw2data.errors.BW2Exception[source]#

Bases: Exception

Inheritance diagram of bw2data.errors.BW2Exception

Base class for exceptions in Brightway2

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.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.ReadOnlyProject[source]#

Bases: BW2Exception

Inheritance diagram of bw2data.errors.ReadOnlyProject

Current project is read only

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.