Interesting msctpeak problem with temp file names….
noooooooooo wrote on Feb 04, 2011
So, trying to use msctpeak on some data and it won't work with errors like:
ERROR: Table `/tmp/iraf5202qb' does not exist or cannot be opened.
When I look in /tmp, sure enough there is no file "/tmp/iraf5202qb"
but there IS a file "/tmp/iraf5202qb.tab" I can add breakpoints to msctpeak
(like requiring verifies on file deletion) and if I COPY "/tmp/iraf5202qb.tab" back to "/tmp/iraf5202qb" it works. If I just move the file it fails in another location because "/tmp/iraf5202qb.tab" no longer exists. I can work with this but it is kind of annoying.
Just to survive, how can I hack a line into msctpeak.cl automating the copy?
(you know, copying file temp3 to a new temp file named like temp3 but with
the ".tab" suffix).
ERROR: Table `/tmp/iraf5202qb' does not exist or cannot be opened.
When I look in /tmp, sure enough there is no file "/tmp/iraf5202qb"
but there IS a file "/tmp/iraf5202qb.tab" I can add breakpoints to msctpeak
(like requiring verifies on file deletion) and if I COPY "/tmp/iraf5202qb.tab" back to "/tmp/iraf5202qb" it works. If I just move the file it fails in another location because "/tmp/iraf5202qb.tab" no longer exists. I can work with this but it is kind of annoying.
Just to survive, how can I hack a line into msctpeak.cl automating the copy?
(you know, copying file temp3 to a new temp file named like temp3 but with
the ".tab" suffix).
Francisco Valdes wrote on Feb 04, 2011
There have been some recent changes in IRAF and the mscred package to consolidate the "tables" package (tools and libraries) as part of the core IRAF. In the process of this there may be a problem with what is automatically recognized as a table. In other words, I think the msctpeak stuff is assuming that a name without .tab will be found. But there were also some other problems recently found having to do with the tables package and with various architectures in V2.15. So I saw this message but as I solved the other problems the error went away and I did not investigate further. What I would suggest is you install the latest version of mscred and see if the problem goes away. If not let me know and I will look at it more closely.
It is certainly possible to hack things as you suggest but I think it is better to find the correct solution. So please let me know if the problem persists with the latest mscred or, if you don't want to update, let me know the version of IRAF, the host machine type and IRAF "arch", and the version of mscred (from lpar mscred).
Frank Valdes
It is certainly possible to hack things as you suggest but I think it is better to find the correct solution. So please let me know if the problem persists with the latest mscred or, if you don't want to update, let me know the version of IRAF, the host machine type and IRAF "arch", and the version of mscred (from lpar mscred).
Frank Valdes
noooooooooo wrote on Feb 04, 2011
My deadline passed but now that I have time I will do as you suggest! :)
Last post on Feb 04, 2011