View previous topic :: View next topic |
Author |
Message |
dlaroche-ca
Joined: 03 Jul 2013 Posts: 32 Location: Montréal, Québec, Canada
|
Posted: Fri May 16, 2014 6:22 pm Post subject: cannot list users an an Alpha running VMS 8.3 |
|
|
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 |
|
 |
jescab
Joined: 28 Jan 2008 Posts: 254
|
Posted: Mon May 19, 2014 4:14 pm Post subject: |
|
|
Not much "action" here...
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 |
|
 |
jfp
Joined: 12 Jul 2004 Posts: 625
|
Posted: Tue May 20, 2014 7:08 am Post subject: |
|
|
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 |
|
 |
dlaroche-ca
Joined: 03 Jul 2013 Posts: 32 Location: Montréal, Québec, Canada
|
Posted: Tue May 20, 2014 10:00 am Post subject: |
|
|
Ok great. Thanks again for the fantastic tool that Python for VMS is. |
|
Back to top |
|
 |
jfp
Joined: 12 Jul 2004 Posts: 625
|
|
Back to top |
|
 |
dlaroche-ca
Joined: 03 Jul 2013 Posts: 32 Location: Montréal, Québec, Canada
|
Posted: Wed May 21, 2014 12:06 pm Post subject: |
|
|
Yes please, I could use the fixed binary right away. |
|
Back to top |
|
 |
jfp
Joined: 12 Jul 2004 Posts: 625
|
|
Back to top |
|
 |
dlaroche-ca
Joined: 03 Jul 2013 Posts: 32 Location: Montréal, Québec, Canada
|
Posted: Sat May 24, 2014 8:38 pm Post subject: |
|
|
Great, thanks again. I'll test it next week. |
|
Back to top |
|
 |
dlaroche-ca
Joined: 03 Jul 2013 Posts: 32 Location: Montréal, Québec, Canada
|
Posted: Wed May 28, 2014 12:51 pm Post subject: |
|
|
Works great! |
|
Back to top |
|
 |
dlaroche-ca
Joined: 03 Jul 2013 Posts: 32 Location: Montréal, Québec, Canada
|
Posted: Wed Jul 16, 2014 4:49 pm Post subject: |
|
|
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 |
|
 |
jfp
Joined: 12 Jul 2004 Posts: 625
|
Posted: Thu Jul 24, 2014 8:05 pm Post subject: |
|
|
I'm working on a new kit based on 2.7.8.
It will include the fix.
JF |
|
Back to top |
|
 |
maveri
Joined: 28 May 2014 Posts: 6
|
Posted: Wed Sep 03, 2014 5:38 am Post subject: |
|
|
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  |
|
Back to top |
|
 |
jescab
Joined: 28 Jan 2008 Posts: 254
|
Posted: Wed Sep 03, 2014 11:28 am Post subject: |
|
|
> 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 |
|
 |
jfp
Joined: 12 Jul 2004 Posts: 625
|
Posted: Fri Sep 05, 2014 8:43 am Post subject: |
|
|
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  |
Thanks
JF |
|
Back to top |
|
 |
|