[Olsr-users] Olsr_dot_draw plugin runs only once, why ?

Saverio Proto (spam-protected)
Thu Feb 19 16:34:21 CET 2015


pwd should be /home/abubakr/olsrd/

cd /home/abubakr/olsrd/
git log -- lib/dot_draw/"

2015-02-19 16:25 GMT+01:00 Abubakr Ali <(spam-protected)>:
> It is "home/abubakr/olsrd/lib/dot_draw/" ..
> when I run the "git log -- " command I see nothing happen (maybe something
> happens but there is nothing to see, I don't know) ...
>
> On 19 February 2015 at 13:13, Saverio Proto <(spam-protected)> wrote:
>>
>> What is your present working directory ?
>>
>> 2015-02-19 13:22 GMT+01:00 Abubakr Ali <(spam-protected)>:
>> > @Saverio: The "git log -- lib/dot_draw/" shows me nothing  .. !!
>> >
>> > On 19 February 2015 at 12:10, Abubakr Ali <(spam-protected)>
>> > wrote:
>> >>
>> >> Hi Saverio,
>> >>
>> >> Now, I'm trying to fix some git-command errors to run the log option
>> >> ...
>> >>
>> >> But, I am running olsrd_dot_draw.s0.0.3 alongside OLSRd v.0.6.6.2 on
>> >> Ubuntu v.12.04 LTS.
>> >> Does these versions have any incompatibility issues or conflicts with
>> >> each
>> >> others ?!
>> >>
>> >> Regards,
>> >> Abubakr
>> >>
>> >> On 18 February 2015 at 20:53, Saverio Proto <(spam-protected)> wrote:
>> >>>
>> >>> If you do
>> >>>
>> >>>  git log -- lib/dot_draw/
>> >>>
>> >>> you can see that is very few commits touching that code.
>> >>>
>> >>> we fixed a similar bug in 2010, look at commit:
>> >>> 34197cc4ac2d85d2b29ccc35c37faecbae5f3384
>> >>>
>> >>> Abubakr Ali: are you sure you are running the latest version also of
>> >>> the plugin ?
>> >>> What Linux version are you in ? Is possible that you are running olsrd
>> >>> of one version and outdated plugins of another version ?
>> >>>
>> >>> Saverio
>> >>>
>> >>> 2015-02-18 18:10 GMT+01:00 Ferry Huberts <(spam-protected)>:
>> >>> > Can you bisect the commit the broke it please?
>> >>> >
>> >>> >
>> >>> > On 18/02/15 17:49, Abubakr Ali wrote:
>> >>> >>
>> >>> >> Hi Henning,
>> >>> >>
>> >>> >> Unfortunately, commenting the "if()" block didn't work. But thanks
>> >>> >> anyway.
>> >>> >> I tried another solution of changing the condition at line 303 from
>> >>> >> "(
>> >>> >> result <= 0 )"  to "( result < 0 )" based on this post
>> >>> >>
>> >>> >>
>> >>> >>
>> >>> >> <http://t27544.network-olsr-development.networktalks.info/dot-draw-plugin-closing-connection-t27544.html>.
>> >>> >> But, again, it was another fail attempt.
>> >>> >>
>> >>> >> Now I am out of solutions...
>> >>> >>
>> >>> >> Regards,
>> >>> >> Abubakr
>> >>> >>
>> >>> >>
>> >>> >> On 17 February 2015 at 14:37, Henning Rogge <(spam-protected)
>> >>> >> <mailto:(spam-protected)>> wrote:
>> >>> >>
>> >>> >>     Could you just go into the lib/dotdraw/src/olsrd_dot_draw.c
>> >>> >> file
>> >>> >> and
>> >>> >>     remove the if() block from line 312 to line 319?
>> >>> >>
>> >>> >>     This might fix your issue.
>> >>> >>
>> >>> >>     Henning
>> >>> >>
>> >>> >>     On Tue, Feb 17, 2015 at 3:25 PM, Abubakr Ali
>> >>> >> <(spam-protected)
>> >>> >>     <mailto:(spam-protected)>> wrote:
>> >>> >>      > Well, I see the following output :
>> >>> >>      >
>> >>> >>      > Connected to 10.2.70.108...
>> >>> >>      > Escape character is ']'.
>> >>> >>      > disgraph topolopgy
>> >>> >>      > {
>> >>> >>      > "10.2.70.108" -> "10.2.70.104"[label="0.000", style=sold];
>> >>> >>      > "10.2.70.108" [shape=box];
>> >>> >>      > }
>> >>> >>      >
>> >>> >>      > Connection closed by foreign host.
>> >>> >>      >
>> >>> >>      > Thant is it !! .. no constant flow of data. Only this data.
>> >>> >> to
>> >>> >>     see another
>> >>> >>      > instance of the result, I have to run the command again.
>> >>> >>      >
>> >>> >>      > On 16 February 2015 at 07:16, Saverio Proto
>> >>> >> <(spam-protected)
>> >>> >>     <mailto:(spam-protected)>> wrote:
>> >>> >>      >>
>> >>> >>      >> if you just do
>> >>> >>      >>
>> >>> >>      >> telnet ipaddress 2004
>> >>> >>      >>
>> >>> >>      >> do you see a constant flow of data from the dot draw plugin
>> >>> >> ?
>> >>> >>      >>
>> >>> >>      >> Saverio
>> >>> >>      >>
>> >>> >>      >> 2015-02-15 15:09 GMT+01:00 Abubakr Ali
>> >>> >> <(spam-protected)
>> >>> >>     <mailto:(spam-protected)>>:
>> >>> >>      >> > Thank you Saverio for the tip ...
>> >>> >>      >> >
>> >>> >>      >> > About the version I'm running OLSRd v:0.6.6.2. The OLSRd
>> >>> >> itself
>> >>> >> is
>> >>> >>      >> > running
>> >>> >>      >> > fine and as expected. Therefore, I don't think it's a
>> >>> >> matter
>> >>> >>     of OLSRd
>> >>> >>      >> > configuration. However, the Osr Dot Draw plugin is the
>> >>> >>     problem, and here
>> >>> >>      >> > is
>> >>> >>      >> > configuration part for it in the olsrd.conf file:
>> >>> >>      >> >
>> >>> >>      >> > LoadPlugin "olsrd_dot_draw.so.0.3"
>> >>> >>      >> > {
>> >>> >>      >> >        PlParam "accept" "10.2.70.108"
>> >>> >>      >> >        PiParam "port"  "2004"
>> >>> >>      >> > }
>> >>> >>      >> >
>> >>> >>      >> > Any suggestions !!
>> >>> >>      >> >
>> >>> >>      >> > Thank you,
>> >>> >>      >> > Abubakr
>> >>> >>      >> >
>> >>> >>      >> >
>> >>> >>      >> >
>> >>> >>      >> >
>> >>> >>      >> > On 14 February 2015 at 19:43, Saverio Proto
>> >>> >>     <(spam-protected) <mailto:(spam-protected)>> wrote:
>> >>> >>      >> >>
>> >>> >>      >> >> What version of olsrd are you running ?
>> >>> >>      >> >>
>> >>> >>      >> >> When you ask a question always say which version are you
>> >>> >>     running and
>> >>> >>      >> >> attach relevant config files.
>> >>> >>      >> >>
>> >>> >>      >> >> Saverio
>> >>> >>      >> >>
>> >>> >>      >> >> 2015-02-13 17:04 GMT+01:00 Abubakr Ali
>> >>> >>     <(spam-protected) <mailto:(spam-protected)>>:
>> >>> >>      >> >> > Hi All,
>> >>> >>      >> >> >
>> >>> >>      >> >> > Whenever I run the "./olsr-topology-mesh-lab.pl
>> >>> >>     <http://olsr-topology-mesh-lab.pl>" command, everything
>> >>> >>
>> >>> >>      >> >> > works
>> >>> >>      >> >> > fine showing the network topology map. Then after a
>> >>> >> second
>> >>> >>     or so, the
>> >>> >>      >> >> > command exit with the message "connection closed"
>> >>> >> while
>> >>> >> the
>> >>> >>     map still
>> >>> >>      >> >> > there.
>> >>> >>      >> >> > The map doesn't change at all. It is static, i.e.: one
>> >>> >>     picture one
>> >>> >>      >> >> > ImageMagick window. If I need to see the topology
>> >>> >> changes,
>> >>> >>     then I
>> >>> >>      >> >> > have
>> >>> >>      >> >> > to
>> >>> >>      >> >> > run the command again. But, again, "connection closed"
>> >>> >>     message and
>> >>> >>      >> >> > static
>> >>> >>      >> >> > picture of a network topology.
>> >>> >>      >> >> >
>> >>> >>      >> >> > As far as the command's help-text states, it should
>> >>> >> run
>> >>> >> for
>> >>> >>     ever
>> >>> >>      >> >> > unless
>> >>> >>      >> >> > I
>> >>> >>      >> >> > stated the option "--once".
>> >>> >>      >> >> >
>> >>> >>      >> >> > does that mean it will and keep on producing images
>> >>> >> and
>> >>> >>     showing it on
>> >>> >>      >> >> > ImageMagic window ? or does it mean something else ?
>> >>> >>      >> >> >
>> >>> >>      >> >> > Is there is any solution or any way that keep the
>> >>> >>     ImageMagick showing
>> >>> >>      >> >> > images
>> >>> >>      >> >> > every second or two showing my network topology. Even
>> >>> >>     though if the
>> >>> >>      >> >> > topology
>> >>> >>      >> >> > does not change, I am still want ImageMagick to keep
>> >>> >>     showing me a new
>> >>> >>      >> >> > image
>> >>> >>      >> >> > every 1 or 2 seconds .
>> >>> >>      >> >> >
>> >>> >>      >> >> >
>> >>> >>      >> >> > Thank you
>> >>> >>      >> >> > Abubakr
>> >>> >>      >> >> >
>> >>> >>      >> >> >
>> >>> >>      >> >> > --
>> >>> >>      >> >> > Olsr-users mailing list
>> >>> >>      >> >> > (spam-protected)
>> >>> >> <mailto:(spam-protected)>
>> >>> >>      >> >> > https://lists.olsr.org/mailman/listinfo/olsr-users
>> >>> >>      >> >
>> >>> >>      >> >
>> >>> >>      >
>> >>> >>      >
>> >>> >>      >
>> >>> >>      > --
>> >>> >>      > Olsr-users mailing list
>> >>> >>      > (spam-protected) <mailto:(spam-protected)>
>> >>> >>      > https://lists.olsr.org/mailman/listinfo/olsr-users
>> >>> >>
>> >>> >>
>> >>> >>
>> >>> >>
>> >>> >
>> >>> > --
>> >>> > Ferry Huberts
>> >>> >
>> >>> > --
>> >>> > Olsr-users mailing list
>> >>> > (spam-protected)
>> >>> > https://lists.olsr.org/mailman/listinfo/olsr-users
>> >>
>> >>
>> >
>
>




More information about the Olsr-users mailing list