Comments (3)
Investigation reveals that this is a bug in stable-7.132.0
. And does not exist in alpha-7-140-68
(because it contains PR #2418 and PR #2723).
from mdsplus.
The following output is from experiments with alpha-7-140-68
showing that the "current shot" (i.e., shot=0) works.
=== TCL ===
$
$ export junk_path=<some_server>::
$
$ mdstcl
TCL> set current junk 1
TCL> show current junk
Current shot is 1
TCL> set current junk /inc
TCL> show current junk
Current shot is 2
TCL> edit junk /shot=0 /new
TCL> add node num2
TCL> write
TCL> close
TCL> set current junk /inc
TCL> edit junk /shot=0 /new
TCL> add node num3
TCL> write
TCL> close
TCL> set current junk /inc
TCL> edit junk /shot=0 /new
TCL> add node num4
TCL> write
TCL> close
TCL> quit
$
$ ls
junk_002.characteristics junk_002.tree junk_003.datafile junk_004.characteristics junk_004.tree
junk_002.datafile junk_003.characteristics junk_003.tree junk_004.datafile shotid.sys
=== Python Objects ===
$ mdstcl
TCL> set current junk /inc
TCL> show current junk
Current shot is 5
TCL> quit
$ python3
Python 3.8.10 (default, Nov 22 2023, 10:22:35)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import MDSplus as mds
>>> t = mds.Tree('junk', 0, 'new')
>>> t.write()
>>> t.close()
>>> quit()
$ ls
junk_002.characteristics junk_003.characteristics junk_004.characteristics junk_005.characteristics shotid.sys
junk_002.datafile junk_003.datafile junk_004.datafile junk_005.datafile
junk_002.tree junk_003.tree junk_004.tree junk_005.tree
=== Python thin-client ===
$ mdstcl
TCL> set current junk /inc
TCL> show current junk
Current shot is 6
TCL> set tree junk /shot=2
TCL> create pulse 0
TCL> write
TCL> close
TCL> quit
$ python3
Python 3.8.10 (default, Nov 22 2023, 10:22:35)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import MDSplus as mds
>>> t = conn.openTree('junk', 0)
>>> conn.closeTree('junk', 0)
>>> quit()
from mdsplus.
Hi @kgerickson -- As mentioned above, this problem should vanish when you receive a stable that includes PR #2418 and PR #2723. Let me know if you want me to do any additional testing of this issue.
from mdsplus.
Related Issues (20)
- Is it possible to limit the amount of concurrent connections of a specific user HOT 3
- Have TCL's `show version` command also display the build date HOT 1
- In `tdi/RfxDevices/DIO2` initialization, remove the flag that triggers a TDI `abort()` on a failed connection HOT 1
- Error reporting when using function mdsvalue in Matlab which version——stable_release-7-142-80 HOT 14
- Source repo contains obsolete public key for RPM packages HOT 2
- Wrong number of child nodes in python TreeNode.getChildren()
- add timestamps, client ip & name, pid to mdsip error logs, equivalent to "access" logs HOT 1
- assign priorities to incoming mdsip connections HOT 1
- intermittent failure to connect to MDSplus server HOT 2
- enable linking MDSplus to custom python conda environments, and NOT system-wide python HOT 2
- errors importing MDSplus with numpy 2.x HOT 1
- Stable 7.142.80, Windows: server does not accept incoming conenctions (Attempting to duplicate socket from pid 8660 socket 380) HOT 7
- Source code has outdated MIT License, so eventually should replace with current MIT License HOT 1
- RHEL manual builds done locally (not on build server) fail because incorrectly expects an RPM signing key HOT 1
- Existing MATLAB scripts are broken by changes in class/type caused by APD changes.
- Make `mdsip` logging compatible with the automatic log management features provided by the operating system HOT 1
- Python documentation on mdsplus.org broken. HOT 5
- Uninstalling MDSplus on RHEL systems fails to remove the MDSplus signing key from RPM's key manager HOT 2
- Error installing `mdsplus-python` package on RHEL7
- another trouble with numpy 2.x
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mdsplus.