0 votes


Thank you very much for the very interesting video  tutorial (https://www.youtube.com/watch?v=-HaQc1qTa7E). I have an error when I try to run the example at the step "Finding corresponding flows and/or creating new flows":

Exception                                 Traceback (most recent call last)
<ipython-input-4-0a9590e5b69d> in <module>
     41         flows.append(cache)
     42     else:
---> 43         cache = client.get(olca.Flow, row['UUID dataset'])
     44         flows.append(cache)
     45 print('\033[1m' + 'list of imported flows:')

~\.julia\conda\3\envs\openlca\lib\site-packages\olca\ipc.py in get(self, model_type, model_id)
    326     def get(self, model_type: Type[T], model_id: str) -> T:
    327         params = {'@type': model_type.__name__, '@id': model_id}
--> 328         result = self.__post('get/model', params)
    329         return model_type.from_json(result)

~\.julia\conda\3\envs\openlca\lib\site-packages\olca\ipc.py in __post(self, method, params)
    740         if err is not None:
    741             msg = '%i: %s' % (err.get('code'), err.get('message'))
--> 742             raise Exception(msg)
    743         result = resp.get('result')
    744         if result is None:

Exception: 404: Not found

Is this error due to the fact that I do not own EcoInvent for now? Is an adaptation to ELCD possible?

Thank you very much.



ago in openLCA by (120 points)

Please log in or register to answer this question.