Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
Karsten8
Posted - 08/09/2024 : 04:32:09 AM Origin Ver.2024b and Service Release 1: Operating System: Microsoft Server Standard 2022
Dear Origin-Team,
we work on a server as user without admin-rights. My colleague wrote a python-code in origin that works if we run it on the server using his account. But if I start the code we get the message:
Traceback (most recent call last): File "<string>", line 6, in <module> File "C:\Users\...\data_import.py", line 113, in <module> simwb = create_wbook("simres") # creates the wbook where the simulation results will be stored ^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\...\data_import.py", line 77, in create_wbook simwb = op.find_book('w', name=title) ^^^^^^^^^^^^ AttributeError: module 'originpro' has no attribute 'find_book'
It seems that origin does not load the originpro module and thus can not find the find_book option. Further on I found that Intellisense does not work, when I open the code builder. For example: (after import of originpro as op) if I start with "op." he does not show the information window how do proceed.
Additionally: if I start the python console in origin and import originpro as op there he does not show the Intellisense as well. In both situations there is no error message that he could not load the origin module.
But originpro is installed in 1.1.10 version (as stated in python packagaes).
Thus in short: - it seems that originpro is not loaded or available in origin - Intellisense does not show originpro information - no error message after "import originpro as op" and still no access to originpro-module in python.
It would be great if you have some advice.
Thanks and best regards, Karsten8.
1 L A T E S T R E P L I E S (Newest First)
minimax
Posted - 08/12/2024 : 03:07:08 AM Hi Karsten8,
I sent an email to you(profile in this forum) with some follow up on fixing the issue.