Task #2337 (new)
Opened 14 years ago
Last modified 14 years ago
BUG: bin/omero script replace — at Version 1
Reported by: | wmoore | Owned by: | jmoore |
---|---|---|---|
Priority: | minor | Milestone: | OMERO-Beta4.2 |
Component: | General | Version: | n.a. |
Keywords: | n.a. | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | 2010-04-30 (8) |
Description (last modified by wmoore)
If I use bin/omero script replace to replace a longer file with a shorter file, the first part of the longer file is replaced by the short file, and the rest remains.
See below. A file with last line
client.setOutput("Output_Message", rstring(ouputMessage))
was edited to remove a few characters and then uploaded to replace itself. The last few characters of the file are now repeated at the end.
wjm:dist will$ bin/omero -s localhost -u root script replace 32 ../examples/ScriptingService/Edit_Descriptions.py Reconnected to session f064ddea-84cd-4de3-b560-f08818901175. Idle timeout: 10.0 min. wjm:dist will$ bin/omero -s localhost -u root script launch file=32 Dataset_ID=1 Reconnected to session f064ddea-84cd-4de3-b560-f08818901175. Idle timeout: 10.0 min. Job 20 ready Waiting.... Callback received: FINISHED *** start stderr *** * File "./script", line 96 * client.setOutput("Output_Message", rstring(ouputMessage))ng(ouputMessage)) * ^ * SyntaxError: invalid syntax * *** end stderr *** *** out parameters *** *** done *** wjm:dist will$
Change History (1)
comment:1 Changed 14 years ago by wmoore
- Description modified (diff)
- Owner set to jmoore