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
 Can't open project

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
Fedaykin7c2 Posted - 10/13/2020 : 6:23:09 PM
I can't open a project that has a network location i.e


import originpro as op
op.open('//Mac/Dropbox/Sensing.opju')


always returns False


Origin Ver. and Service Release (Select Help-->About Origin): 2020b
Operating System: Pralallels Windows 10
3   L A T E S T    R E P L I E S    (Newest First)
Chris D Posted - 10/14/2020 : 09:38:01 AM
Hi,

Using the absolutely latest 64-bit Python versions of the originpro (0.0.7) and OriginExt (1.1.1) packages available on pypi.org, both of these calls succeeded for me:

ret = op.open(r'\\files\Dropbox\Tech\test.opju')
ret = op.open(r'//files\Dropbox\Tech\test.opju')

While this one failed:

ret = op.open('//files/Dropbox/Tech/test.opju')


Using our latest internal build of 2021 (and 2020b actually).

I suspect your issue has something to do with crossing OS file systems.

BTW, CP is correct- You'll need to use Origin 2021 when it is released because you will run into compatibility issues with our Python packages and 2020b if you do anything meaningful with the packages. Plus, we won't support the packages with any Origin version prior to 2021.

Thanks,
Chris Drozdowski
Originlab Technical Support
Fedaykin7c2 Posted - 10/14/2020 : 04:00:27 AM
I've tried this way but also without success
cpyang Posted - 10/13/2020 : 8:01:15 PM
I am afraid you need to write as


op.open(r'\\Mac\Dropbox\Sensing.opju')


Also, best to wait for Origin2021 which will be coming out before the end of the month.

CP

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