forum.vmspython.org Forum Index forum.vmspython.org
Forum system
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 32 matches
forum.vmspython.org Forum Index
Author Message
  Topic: PyExc_VMSError
dlaroche-ca

Replies: 6
Views: 9539

PostForum: Python for OpenVMS   Posted: Fri May 22, 2015 4:14 pm   Subject: PyExc_VMSError
Great, thank you.
  Topic: PyExc_VMSError
dlaroche-ca

Replies: 6
Views: 9539

PostForum: Python for OpenVMS   Posted: Fri May 22, 2015 3:23 pm   Subject: PyExc_VMSError
I had read about PyErr_SetFromErrno, but I was wondering about the value of errno. When a VMS system call fails, does it set the value of errno to the status value of the system call?

About Cytho ...
  Topic: PyExc_VMSError
dlaroche-ca

Replies: 6
Views: 9539

PostForum: Python for OpenVMS   Posted: Fri May 22, 2015 11:33 am   Subject: PyExc_VMSError
What I wasn't sure is how to pass to two values, the errno and the message. I found an example in the Python source code (Modules/posixmodule.c):
v = Py_BuildValue("(is)", code, ...
  Topic: PyExc_VMSError
dlaroche-ca

Replies: 6
Views: 9539

PostForum: Python for OpenVMS   Posted: Thu May 21, 2015 12:47 pm   Subject: PyExc_VMSError
Would it be possible to post an example of raising a PyExc_VMSError exception from a C module?

Thanks in advance.
  Topic: error in system service idtoasc
dlaroche-ca

Replies: 1
Views: 6150

PostForum: Python for OpenVMS   Posted: Wed Mar 25, 2015 10:41 pm   Subject: error in system service idtoasc
This is for version 2.7.8 on AXP. Here's a transcript:

M01VIB: python
Python 2.7.8 (default, Oct 31 2014, 14:12:12) [DECC] on OpenVMS
Type "help", "copy ...
  Topic: building an extension module
dlaroche-ca

Replies: 6
Views: 9213

PostForum: Python for OpenVMS   Posted: Wed Mar 25, 2015 10:32 pm   Subject: building an extension module
The code of the module is in the second post. Thanks.
  Topic: building an extension module
dlaroche-ca

Replies: 6
Views: 9213

PostForum: Python for OpenVMS   Posted: Fri Mar 20, 2015 3:50 pm   Subject: building an extension module
Thanks for the reply. Unfortunately I'm still getting the same error. Here's the output of the build (I activated tracing with set verify):
MANGA: python /PYTHON_vms/build_module.py "_spam&q ...
  Topic: building an extension module
dlaroche-ca

Replies: 6
Views: 9213

PostForum: Python for OpenVMS   Posted: Thu Mar 19, 2015 5:55 pm   Subject: building an extension module
I found a previous post that discusses the subject. I tried script python_vms:build_module.py. The module now builds, but I can't import it. Here's how I structured the module:
|
|--- spam
...
  Topic: building an extension module
dlaroche-ca

Replies: 6
Views: 9213

PostForum: Python for OpenVMS   Posted: Thu Mar 19, 2015 3:01 pm   Subject: building an extension module
I'm trying to build an extension module following the instructions in document "Extending and embedding Python" in the Python documentation set. I used the example in the document, the spam ...
  Topic: reading/writing to a mailbox
dlaroche-ca

Replies: 2
Views: 6267

PostForum: Python for OpenVMS   Posted: Thu Mar 19, 2015 1:23 pm   Subject: reading/writing to a mailbox
Super, merci beaucoup.
  Topic: reading/writing to a mailbox
dlaroche-ca

Replies: 2
Views: 6267

PostForum: Python for OpenVMS   Posted: Tue Mar 17, 2015 10:08 pm   Subject: reading/writing to a mailbox
Would someone have an example on how to use the channel returned by vms.starlet.crembx. I tried os.write, os.fdopen to create a file object, but none of them work.

Thanks in advance.
  Topic: multi-threading question
dlaroche-ca

Replies: 5
Views: 9630

PostForum: Python for OpenVMS   Posted: Tue Mar 10, 2015 8:13 am   Subject: multi-threading question
I found the answer to my last question after posting it. The VMS license installed on the server is for two units only.

But I have a more general question. Would you know if VMS system services are ...
  Topic: multi-threading question
dlaroche-ca

Replies: 5
Views: 9630

PostForum: Python for OpenVMS   Posted: Mon Mar 09, 2015 7:36 pm   Subject: multi-threading question
I just tried the set image command and it is an improvement. I'm running a test script on an rx2800 i2 with one 4-core CPU; VMS version is 8.4. The script starts 8 threads, each computing logarithms i ...
  Topic: cannot download zip file of latest Python for Alpha
dlaroche-ca

Replies: 3
Views: 7201

PostForum: Python for OpenVMS   Posted: Thu Jan 15, 2015 3:33 pm   Subject: cannot download zip file of latest Python for Alpha
I tried again at the end of the day yesterday and it worked this time. Sorry for the trouble.
  Topic: cannot download zip file of latest Python for Alpha
dlaroche-ca

Replies: 3
Views: 7201

PostForum: Python for OpenVMS   Posted: Wed Jan 14, 2015 4:36 pm   Subject: cannot download zip file of latest Python for Alpha
I just tried to download the kit PYTHON278-V0102-0-1.zip for Alpha but it doesn't work. It only downloads a 2 KB file. I tried the previous kit, PYTHON278-V0101-0-1.zip, and this one worked.

Our we ...
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT + 2 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group