[Rock-dev] libConfig::Bundle::Bundle() does not find bundle path?

Janosch Machowinski Janosch.Machowinski at dfki.de
Tue Aug 9 18:30:42 CEST 2016


This must be a change in the behaviour of bundle.
Before it only contained the bundle name. I'll push
a fix tomorrow.
Greetings
     Janosch

Am 09.08.2016 um 15:47 schrieb Martin Fritsche:
> Hey,
> I found something in libConfig::Bundle::Bundle() that I don't understand
> and it looks like a bug to me, but maybe it is desired behaviour and
> someone can explain it:
>
> As far as I understand the code of the constructor it's trying to
> determine the path to the active bundle by concatenating the entries in
> the environment variable "ROCK_BUNDLE_PATH" with "ROCK_BUNDLE".
>
> At least on my current installation the variable "ROCK_BUNDLE" already
> contains the complete path ("/home/fritsche/dev/d-rock/bundles/d-rock")
> and the search fails because something like
> "/home/fritsche/dev/d-rock/bundles//home/fritsche/dev/d-rock/bundles/d-rock"
> does not exist.
>
> Is the content of my environment variables not correct or has this
> concat and search code a minor glitch and is not needed in the current form?
>
> Best,
> Martin
>
>
> _______________________________________________
> Rock-dev mailing list
> Rock-dev at dfki.de
> http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev


-- 
  Dipl. Inf. Janosch Machowinski
  SAR- & Sicherheitsrobotik

  Universität Bremen
  FB 3 - Mathematik und Informatik
  AG Robotik
  Robert-Hooke-Straße 1
  28359 Bremen, Germany
  
  Zentrale: +49 421 178 45-6611
  
  Besuchsadresse der Nebengeschäftstelle:
  Robert-Hooke-Straße 5
  28359 Bremen, Germany
  
  Tel.:    +49 421 178 45-6614
  Empfang: +49 421 178 45-6600
  Fax:     +49 421 178 45-4150
  E-Mail:  jmachowinski at informatik.uni-bremen.de

  Weitere Informationen: http://www.informatik.uni-bremen.de/robotik

-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20160809/136c96b5/attachment.htm 


More information about the Rock-dev mailing list