0 votes
1.1k views

Hi,

In a fresh install of openlca 1.6 (linux) I tried to install EUGEOS 2.1 "System" version but the full installation fails. The process is incomplete, and once it is finished, I end up with an incomplete version of EUGEOS 2.1 (there are very few Processes and no Impact Assessment methods).

Is there something in particular that I must do in Linux to make it work ?


here is the error message that gets logged:


315859     ModalContext     WARN     org.openlca.io.olca.ProcessImport     there where invalid exchanges in RootEntity [type=Process, refId=cc2ffc7b-7998-49dd-ab6c-fe56fbc401bd, name=heat and power co-generation, natural gas, combined cycle power plant, 400MW electrical | heat, district or industrial, natural gas | cut-off, S] that where removed during the import
315888     ModalContext     ERROR     org.openlca.core.database.ProcessDao     Error while inserting Process



javax.persistence.RollbackException: java.lang.IllegalStateException: During synchronization a new object was found through a relationship that was not marked cascade PERSIST: RootEntity [type=Flow, refId=1125e767-7b5d-442e-81d6-9b0d3e1919ac, name=heat, district or industrial, natural gas].
     at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImpl.commit(EntityTransactionImpl.java:159)
     at org.openlca.core.database.BaseDao.insert(BaseDao.java:163)
     at org.openlca.io.olca.ProcessImport.createProcess(ProcessImport.java:80)
     at org.openlca.io.olca.ProcessImport.run(ProcessImport.java:61)
     at org.openlca.io.olca.DatabaseImport.importStructs(DatabaseImport.java:79)
     at org.openlca.io.olca.DatabaseImport.run(DatabaseImport.java:34)
     at org.openlca.app.wizards.io.DbImportWizard$ImportDispatch.run(Unknown Source)
     at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
    Caused by: java.lang.IllegalStateException: During synchronization a new object was found through a relationship that was not marked cascade PERSIST: RootEntity [type=Flow, refId=1125e767-7b5d-442e-81d6-9b0d3e1919ac, name=heat, district or industrial, natural gas].
     at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.discoverUnregisteredNewObjects(RepeatableWriteUnitOfWork.java:313)
     at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.calculateChanges(UnitOfWorkImpl.java:723)
     at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitToDatabaseWithChangeSet(UnitOfWorkImpl.java:1516)
     at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.commitRootUnitOfWork(RepeatableWriteUnitOfWork.java:278)
     at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitAndResume(UnitOfWorkImpl.java:1169)
     at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImpl.commit(EntityTransactionImpl.java:134)

 

in openLCA by

1 Answer

0 votes
by (125k points)
 
Best answer
Thank you Thomas we will check and will post here back.
by
So, I have downloaded the LCI eugeos version from nexus, and restored it in openlca 1.6.3, but there are no lcia methods.

As opposed to the unit version, that has them

I have one question:

*Is this the intended use of the LCI eugeos version for openlca ?
*what is the best way to get the methods from the unit version into the system version ?
*Otherwise, maybe you can propose in nexus the system version including the methods.

cheers,
...