Bug #1483

Common Lisp logger stumbles upon wrong / unknown config options

Added by A. Nordmann over 7 years ago. Updated almost 6 years ago.

Status:NewStart date:05/02/2013
Priority:LowDue date:
Assignee:J. Moringen% Done:

0%

Category:Common Lisp Tools
Target version:rsb-1.0

Description

For the interoperability tool-chain we added the configuration option

wireschemamapping = "^/icub.*/.*/state$"=rosetta<MechanismBottleDataHolder,yarp.icub.angles.state>;"^/icub.*/.*/rpc$"=rosetta<MechanismBottleDataHolder,yarp,icub.angles.command>;"^/icub.*/cam.*"=rosetta<MechanismBottleDataHolder,yarp.icub.image>;"^/icub.*/

This is not known to the cl tools yet, so it complains (see error below). It should maybe just warn about unknown syntax, or provide an option to continue on errors.

The error:

rsb-logger --style=monitor socket:/
unhandled SIMPLE-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
                                    {1007680E63}>:
  Syntax error in line 30, contents
  "wireschemamapping = \"^/icub.*/.*/state$\"=rosetta<MechanismBottleDataHolder,yarp.icub.angles.state>;\"^/icub.*/.*/rpc$\"=rosetta<MechanismBottleDataHolder,yarp,icub.angles.command>;\"^/icub.*/cam.*\"=rosetta<MechanismBottleDataHolder,yarp.icub.image>;\"^/icub.*/texture/.*\"=rosetta<MechanismBottleDataHolder,yarp.icub.image>".

0: (SB-DEBUG::MAP-BACKTRACE
    #<CLOSURE (LAMBDA # :IN BACKTRACE) {1007D7F86B}>
    :START
    0
    :COUNT
    128)
1: (BACKTRACE 128 #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDERR* {1000206593}>)
2: (SB-DEBUG::DEBUGGER-DISABLED-HOOK
    #<SIMPLE-ERROR "~@<Syntax error in line ~D, contents ~S.~@:>" {1007D7C973}>
    #<unavailable argument>)
3: (SB-DEBUG::RUN-HOOK
    *INVOKE-DEBUGGER-HOOK*
    #<SIMPLE-ERROR "~@<Syntax error in line ~D, contents ~S.~@:>" {1007D7C973}>)
4: (INVOKE-DEBUGGER
    #<SIMPLE-ERROR "~@<Syntax error in line ~D, contents ~S.~@:>" {1007D7C973}>)
5: (ERROR
    "~@<Syntax error in line ~D, contents ~S.~@:>" 
    30
    "wireschemamapping = \"^/icub.*/.*/state$\"=rosetta<MechanismBottleDataHolder,yarp.icub.angles.state>;\"^/icub.*/.*/rpc$\"=rosetta<MechanismBottleDataHolder,yarp,icub.angles.command>;\"^/icub.*/cam.*\"=rosetta<MechanismBottleDataHolder,yarp.icub.image>;\"^/icub.*/texture/.*\"=rosetta<MechanismBottleDataHolder,yarp.icub.image>")
6: (RSB:OPTIONS-FROM-STREAM
    #<SB-SYS:FD-STREAM for "file /home/norro/.config/rsb.conf" {1007D737A3}>)
7: (RSB:OPTIONS-FROM-DEFAULT-SOURCES :CONFIG-FILES NIL)
8: (RSB.TOOLS.LOGGER:MAIN)
9: ((FLET #:WITHOUT-INTERRUPTS-BODY-54 :IN SAVE-LISP-AND-DIE))
10: ((LABELS SB-IMPL::RESTART-LISP :IN SAVE-LISP-AND-DIE))

unhandled condition in --disable-debugger mode, quitting

Related issues

Related to Robotics Service Bus - Bug #2068: Common Lisp implementation gets confused by converter con... Resolved 10/30/2014

History

#1 Updated by J. Moringen over 7 years ago

  • Subject changed from Commo lisp logger stumbles upon wrong / unknown config options to Common Lisp logger stumbles upon wrong / unknown config options
  • Priority changed from Normal to Low

#2 Updated by J. Moringen over 7 years ago

  • Target version changed from rsb-0.9 to rsb-0.10

#3 Updated by J. Moringen about 7 years ago

Will be addressed when switching to Robotics Systems Parameters -based implementation.

#4 Updated by J. Moringen about 7 years ago

  • Target version changed from rsb-0.10 to rsb-0.11

#5 Updated by J. Moringen almost 7 years ago

  • Target version changed from rsb-0.11 to rsb-0.12

#6 Updated by J. Moringen over 6 years ago

  • Related to Bug #2068: Common Lisp implementation gets confused by converter configuration for other languages added

#7 Updated by J. Moringen almost 6 years ago

  • Target version changed from rsb-0.12 to rsb-1.0

Also available in: Atom PDF