The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Python
 Originpro not found / intellisense not working
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Karsten8

Germany
23 Posts

Posted - 08/09/2024 :  04:32:09 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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.

minimax

348 Posts

Posted - 08/12/2024 :  03:07:08 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Karsten8,

I sent an email to you(profile in this forum) with some follow up on fixing the issue.

Would you mind to check?
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000