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 

error in system service idtoasc

 
Post new topic   Reply to topic    forum.vmspython.org Forum Index -> Python for OpenVMS
View previous topic :: View next topic  
Author Message
dlaroche-ca



Joined: 03 Jul 2013
Posts: 32
Location: Montréal, Québec, Canada

PostPosted: Wed Mar 25, 2015 10:41 pm    Post subject: error in system service idtoasc Reply with quote

This is for version 2.7.8 on AXP. Here's a transcript:

Code:
M01VIB: python
Python 2.7.8 (default, Oct 31 2014, 14:12:12) [DECC] on OpenVMS
Type "help", "copyright", "credits" or "license" for more information.
>>> from vms.starlet import asctoid, idtoasc
>>> print asctoid.__doc__
status, rights_id, attrib = asctoid(name)
>>> print idtoasc.__doc__
status, nambuf, resid, attrib, contxt = idtoasc(id [,contxt])
>>> status, rights_id, attrib = asctoid ('VIBSUSER')
>>> status, rights_id, attrib
(1, 167837695L, 0L)
>>> status, nambuf, resid, attrib, contxt = idtoasc(rights_id)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: need more than 4 values to unpack

Is it possible to look at the source code of the port somewhere?

Thanks again.
Back to top
View user's profile Send private message Send e-mail
jfp



Joined: 12 Jul 2004
Posts: 618

PostPosted: Thu Mar 26, 2015 10:00 am    Post subject: Reply with quote

You can find the source on the site https://repos.sysgroup.fr/

JF
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vmspython.org Forum Index -> Python for OpenVMS All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group