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
 All Forums
 Origin Forum for Programming
 Forum for Python
 Originpro not found / intellisense not working

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

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.

Would you mind to check?

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000