Python Version 2.7.13, OpenVMS V8.4-2L1
the Python Code
from vms.rtl.lib import getdvi
from vms.dvidef import DVI__FULLDEVNAM, DVI__FREEBLOCKS, DVI__LOGVOLNAM
disk = "SYS$SYSDEVICE"
# get the full device namme (node name and device name)
devnam = getdvi(DVI__FULLDEVNAM, device_name=disk)[2]
# get the logical name of the volume
logvolnam = getdvi(DVI__LOGVOLNAM, device_name=disk)[2]
# get the number of free blocks on the disk
freeblocks = getdvi(DVI__FREEBLOCKS, device_name=disk)[1]
# print results
print 'disk %s:\n\tlogical name %s\n\t%d free blocks' % (devnam, logvolnam, freeblocks)
The Python Debugger output
File "out/tracer.py", line 310
_, line_incr, *tail = tail
^
SyntaxError: invalid syntax
Any help is appreciated
VMS-IDE 1.5.17 Python Debugger syntax error
-
- VSI Expert
- Master
- Posts: 103
- Joined: Thu Aug 22, 2019 12:17 am
- Reputation: 0
- Status: Offline
Re: VMS-IDE 1.5.17 Python Debugger syntax error
Sorry, we did not test tracer on Python 2.7
It will be fixed in the next release.
Added in 18 minutes 3 seconds:
version with this fix is released
It will be fixed in the next release.
Added in 18 minutes 3 seconds:
version with this fix is released
Re: VMS-IDE 1.5.17 Python Debugger syntax error
If you are on a IA64 box, it would be a good idea to upgrade to 2.7.18 or as you are using V8.4-2L1 to 3.10a0 which contains the same vms modules.
JFP
JFP