Modify

Opened 3 years ago

Closed 3 years ago

#5442 closed enhancement (fixed)

plugin ext_tools: check if script file exists

Reported by: bastiK Owned by: Upliner
Priority: normal 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 Changed 3 years ago by bastiK

Some documentation for the output format would be nice.

comment:2 Changed 3 years ago by Upliner

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 Changed 3 years ago by Upliner

  • Resolution set to fixed
  • Status changed from new to closed
  • "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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.