Discussion:
[Rock-dev] [rock] #487: "rock-create-orogen" script silently exits when name check fails
rock
2014-06-25 14:15:40 UTC
Permalink
#487: "rock-create-orogen" script silently exits when name check fails
------------------------------+-----------------
Reporter: siavash.tavakoli | Owner:
Type: defect | Status: new
Priority: minor | Milestone:
Component: base | Keywords:
------------------------------+-----------------
when trying to create a new component with a name containing e.g. upper
case letters the script exits without outputting the error. It might have
to do with the "set -e" line at the beginning of the script.
--
Ticket URL: <https://rock.opendfki.de/ticket/487>
rock <https://rock.opendfki.de>
rock: the robot construction kit
rock
2014-06-26 06:26:58 UTC
Permalink
#487: "rock-create-orogen" script silently exits when name check fails
------------------------------+------------------
Reporter: siavash.tavakoli | Owner:
Type: defect | Status: new
Priority: minor | Milestone:
Component: base | Resolution:
Keywords: |
------------------------------+------------------

Comment (by mago02):

I cannot confirm this i tried to call:

{{{
[08:24:56 goldhoorn foo]$ rock-create-orogen FuselDusel

Invalid name FuselDusel: The component name must be all lowercase, can
contain alphanumeric characters and underscores and start with a letter.
}}}

Can you pleanse give me more details which name do you used, and maybe the
shell interpreter (bash/sh/zsh/...).
--
Ticket URL: <http://rock.opendfki.de/ticket/487#comment:1>
rock <http://rock.opendfki.de>
rock: the robot construction kit
rock
2014-06-26 06:30:10 UTC
Permalink
#487: "rock-create-orogen" script silently exits when name check fails
------------------------------+---------------------
Reporter: siavash.tavakoli | Owner:
Type: defect | Status: closed
Priority: minor | Milestone:
Component: base | Resolution: fixed
Keywords: |
------------------------------+---------------------
Changes (by mago02):

* status: new => closed
* resolution: => fixed


Comment:

Sorry, the error was already fixed on master and next.

I back ported the patch to stable.
--
Ticket URL: <http://rock.opendfki.de/ticket/487#comment:2>
rock <http://rock.opendfki.de>
rock: the robot construction kit
Loading...