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
 Can't open project
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Fedaykin7c2

3 Posts

Posted - 10/13/2020 :  6:23:09 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

cpyang

USA
1406 Posts

Posted - 10/13/2020 :  8:01:15 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

Fedaykin7c2

3 Posts

Posted - 10/14/2020 :  04:00:27 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I've tried this way but also without success
Go to Top of Page

Chris D

428 Posts

Posted - 10/14/2020 :  09:38:01 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
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