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 

cannot list users an an Alpha running VMS 8.3

 
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: Fri May 16, 2014 6:22 pm    Post subject: cannot list users an an Alpha running VMS 8.3 Reply with quote

I installed the kit for Python 2.7.6 on an Alpha running VMS 8.3. Function all_users() from module vms.user returns an empty dictionary. If I execute the same function on an Itanium it works ok there.

The version of the kit on the Itanium is 2.7.2+. In both cases I define logical sysuaf to point to the sysuaf.dat file.

Thanks in advance.
Back to top
View user's profile Send private message Send e-mail
jescab



Joined: 28 Jan 2008
Posts: 252

PostPosted: Mon May 19, 2014 4:14 pm    Post subject: Reply with quote

Not much "action" here... Smile

Do you have short reproducer that shows the reported error so
that one can test it easily without writing a script from scratch?
Back to top
View user's profile Send private message
jfp



Joined: 12 Jul 2004
Posts: 618

PostPosted: Tue May 20, 2014 7:08 am    Post subject: Reply with quote

I have reproduced the problem.

Seem to be a regression in 2.7.6 in the routine vlms.user.User

I will take a look.

I will include the fix in a forthcoming kit, as 2.7.7 will be include soon.

JF


Last edited by jfp on Tue May 20, 2014 11:15 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
dlaroche-ca



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

PostPosted: Tue May 20, 2014 10:00 am    Post subject: Reply with quote

Ok great. Thanks again for the fantastic tool that Python for VMS is.
Back to top
View user's profile Send private message Send e-mail
jfp



Joined: 12 Jul 2004
Posts: 618

PostPosted: Tue May 20, 2014 11:14 am    Post subject: Reply with quote

Thanks,

I have found and fixed the bug:
http://hg.vmspython.org/vmspython/rev/fe1a98df6299
and
http://hg.vmspython.org/vmspython/rev/4baaa7ab5687

I will rebuild a new kit when 2.7.7 will be released.

If you want a fix for 2.7.6 let me know and I will provide the new _starlet.exe version.

JF
Back to top
View user's profile Send private message Send e-mail Visit poster's website
dlaroche-ca



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

PostPosted: Wed May 21, 2014 12:06 pm    Post subject: Reply with quote

Yes please, I could use the fixed binary right away.
Back to top
View user's profile Send private message Send e-mail
jfp



Joined: 12 Jul 2004
Posts: 618

PostPosted: Thu May 22, 2014 12:58 pm    Post subject: Reply with quote

The new _starlet version:
http://www.vmspython.org/anonymous/KITS/AXP/_starlet_python276.zip
extract from the zipfile _starlet.exe and replace python_root:[local.vms.starlet]_starlet.exe

You will have to manually apply the second part of the patch:
http://hg.vmspython.org/vmspython/rev/4baaa7ab5687

JF
Back to top
View user's profile Send private message Send e-mail Visit poster's website
dlaroche-ca



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

PostPosted: Sat May 24, 2014 8:38 pm    Post subject: Reply with quote

Great, thanks again. I'll test it next week.
Back to top
View user's profile Send private message Send e-mail
dlaroche-ca



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

PostPosted: Wed May 28, 2014 12:51 pm    Post subject: Reply with quote

Works great!
Back to top
View user's profile Send private message Send e-mail
dlaroche-ca



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

PostPosted: Wed Jul 16, 2014 4:49 pm    Post subject: Reply with quote

I tried version 2.7.6 on Itanium and it has the same problem. Would it be possible to also create a fixed _starlet.exe for IA64?

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



Joined: 12 Jul 2004
Posts: 618

PostPosted: Thu Jul 24, 2014 8:05 pm    Post subject: Reply with quote

I'm working on a new kit based on 2.7.8.

It will include the fix.

JF
Back to top
View user's profile Send private message Send e-mail Visit poster's website
maveri



Joined: 28 May 2014
Posts: 6

PostPosted: Wed Sep 03, 2014 5:38 am    Post subject: Reply with quote

jfp wrote:
I'm working on a new kit based on 2.7.8.

It will include the fix.

JF


How close are we away from the new 2.7.8 kit?

I'm just curious, not trying to push nor demand - after all, we are fortunate you spend your time keeping Python valid on OpenVMS

Hopefully, the new custodians of OpenVMS (VMS Software Inc) will approach yourself to look at the possibility of having Python released with new versions of OpenVMS and that they can assist you with the maintenance etc?

Is Python V3 even in the pipeline for OpenVMS?

I would like to see DCL eventually retired and replaced with something like Python as the native scripting language on OpenVMS (puts on flame armour after making that statement!!!).
DCL simply has too many short-comings these days to take OpenVMS forward in my opinion
DCL's lack of OO and cumbersome I/O redirection even when using pipe means for me that I end up having to write a lot of extra code around DCL's short-falls as a language and when you have to perform extra steps instead of being able to focus just on the problem at hand, then you know your language is holding you back

Anyhow - thanks for all the great work you do on Python for OpenVMS Very Happy
Back to top
View user's profile Send private message
jescab



Joined: 28 Jan 2008
Posts: 252

PostPosted: Wed Sep 03, 2014 11:28 am    Post subject: Reply with quote

> Is Python V3 even in the pipeline for OpenVMS?

There is a guy working m 3.5, John E Malmberg, and when asked by me he wrote:
Quote:

>
> B.t.w, is this related in any way to the work with Python
> by Jean-François Piéronne at http://www.vmspython.org/ ?

Parallel efforts. Jean-Francois is busy with the Python 2.7.x branch of python on VMS.
He does plan to look at what I am doing with the 3.5 branch eventually.

For Python 3.5, the python.org maintainers have removed all VMS specific code from it
because there is no full time maintainer for it.

What I am doing is setting up a the supplemental libraries and files to use GNV to build
Python 3.5 with essentially unmodified Unix source and build procedures.

So far, I now have most of the native python build procedure running on VMS.

I also have 51 of the dynamic plug-ins building using the Python procedures.

https://sourceforge.net/p/vms-ports/discussion/portingprojects/thread/333ab40a/

To get the next part of the build procedure working, I have to
add shebang support to the vms_spawn*() routines.

Regards,
-John


> I would like to see DCL eventually retired...

That will never happen, way to much depends on it.

> ...and replaced with something like Python.

It is already here and I use it where DCL isn't enough.
Like when I need the Rdb interface.
Back to top
View user's profile Send private message
jfp



Joined: 12 Jul 2004
Posts: 618

PostPosted: Fri Sep 05, 2014 8:43 am    Post subject: Reply with quote

maveri wrote:

How close are we away from the new 2.7.8 kit?


The kit is ready, just waiting for inclusion of a functional subprocess module.

maveri wrote:

Anyhow - thanks for all the great work you do on Python for OpenVMS Very Happy


Thanks Smile

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