Modify

Opened 14 years ago

Closed 14 years ago

#5442 closed enhancement (fixed)

plugin ext_tools: check if script file exists

Reported by: bastiK Owned by: Upliner
Priority: normal Milestone:
Component: Plugin ext_tools Version: latest
Keywords: Cc:

Description

To avoid problems due to typos, the plugin should:

  • create the script folder plugins\ext_tools by default
  • check if the script file exists and give a warning if not

Attachments (0)

Change History (3)

comment:1 by bastiK, 14 years ago

Some documentation for the output format would be nice.

comment:2 by Upliner, 14 years ago

1) Plugin already creates plugins/ext_tools directory by default. Actually it is only needed as working directory for scripts, actually one can place scripts anywhere he want and call them using full path.
2) It's too difficult to bother because script can be called directly "./script.sh", indirectly "python /path/to/script.py" or on some more complicated way: 'sh -c "python script1.py | python script2.py"'.
3) Output format is regular .osm file. I added this information to the wiki.

comment:3 by Upliner, 14 years ago

Resolution: fixed
Status: newclosed
  • "create the script folder plugins\ext_tools by default" -> worksforme
  • "check if the script file exists and give a warning if not" -> partially fixed in [o23327], will now give an error if script cannot be executed.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Upliner.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.