mdsplus
mdsplus copied to clipboard
MDSplus trees import from box.com
Hi,
Could anyone help me with the following issue: in mdstcl or jTraverser or in python a command with a meaning of "set tree tree_name" from mdstcl gives: "Error message was: %TREE-E-FOPENR, Error opening file read-only." Cannot get rid of it.
The tree I'm trying to set is actually located in "dav.box.com" mounted locally on my pc so my envvar path set to this mounted location ( home/box/.../Tree ). I've tried to mount it both read-write and read-only to no avail.
Setting, reading, writing trees locally works just fine.
Any help would be appreciated!
hm given the information you gave it could be a lot of things.. Assuming you tree is called 'MYTREE':
- the env would be mytree_path.
- the path home/box/.../Tree should be absolute, i.e. /home/box/.../Tree
- your command is trying to open the model tree (laking the /shot=123)
- the model tree should have tree files for read access
- /home/box/.../Tree/mytree_model.tree
- /home/box/.../Tree/mytree_model.characteristic ?
- /home/box/.../Tree/mytree_model.datafile
- make sure the can be read from e.g. using
ls -l
Please go through this list and make sure everything checks out.
ps in mdstcl, you can use
env mytree_path
to print the env and
env mytree_path=/home/box/.../Tree
to set it.
Yeah, envs are set correctly, path is ok, tree files are there with *.tree, *.characteristic and *.datafile but the last item somehow does not work! I cannot list all the files (all the shots, lots of them) in Tree folder via ls -lt or for example by find. This is weird but of course is not related to mdsplus itself. Probably it is more likely about how davfs mounts work.. Thanks for helping me narrowing this issue!
Apologies for the late response on this. We don't support storing trees in WebDAV/davfs.