Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #2338 (new)

Opened 14 years ago

Last modified 14 years ago

bin/omero script upload — at Initial Version

Reported by: wmoore Owned by:
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

Paths are being parsed strangely. Using bin/omero script upload with path that starts ../ produces this:

Also noticed double in the 'official' scripts (from path + name) which is not so bad, but / would be nicer.

wjm:dist will$ bin/omero -s localhost -u root script upload ../examples/ScriptingService/Edit_Descriptions.py 
Reconnected to session f064ddea-84cd-4de3-b560-f08818901175. Idle timeout: 10.0 min.
Uploaded ../examples/ScriptingService/Edit_Descriptions.py as 38
wjm:dist will$ bin/omero -s localhost -u root script list user
Reconnected to session f064ddea-84cd-4de3-b560-f08818901175. Idle timeout: 10.0 min.
Scripts for user=0
========================================
       4 - //newTestScript.py
       6 - /omero/export_scripts//combineImages.py
       7 - /omero/export_scripts//makeMovie.py
       8 - /omero/figure_scripts//movieFigure.py
       9 - /omero/figure_scripts//roiFigure.py
      10 - /omero/figure_scripts//roiMovieFigure.py
      11 - /omero/figure_scripts//splitViewFigure.py
      12 - /omero/figure_scripts//thumbnailFigure.py
      13 - /omero/region_scripts//populatePlateRoi.py
      14 - /omero/figure_scripts//roiMovieFigure.py
      20 - /Users/will/Documents/workspace/Omero/examples/ScriptingService/Edit_Descriptions.py/../examples/ScriptingService/Edit_Descriptions.py
      22 - /Users/will/Documents/workspace/Omero/examples/ScriptingService/Edit_Descriptions.py/../examples/ScriptingService/Edit_Descriptions.py
      32 - /Users/will/Documents/workspace/Omero/examples/ScriptingService/Edit_Descriptions.py/../examples/ScriptingService/Edit_Descriptions.py
      38 - /Users/will/Documents/workspace/Omero/examples/ScriptingService/Edit_Descriptions.py/../examples/ScriptingService/Edit_Descriptions.py
wjm:dist will$ 

Change History (0)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.67926 sec.)

We're Hiring!