Re: [Gnoga-list] Gnoga on Raspberry Pi 1 Model B+

2017-03-12 Thread LOS Stéphane
Hello Björn,

Thank you very much for trying on your Pi.

So that seems to confirm that there is indeed some problem on this 
machine with Simple Components.

I'll try to figure out why but I can't say when. Time is a scarce 
resource unfortunately...

Cordialement,
Stéphane LOS

Le 11/03/2017 à 13:29, Björn Lundin a écrit :
> On 2017-03-10 23:39, LOS Stéphane wrote:
>> Hello there,
>>
>> Since "Gnoga" uses "Simple Components" and this one has tests available
>> I have compiled and run "test_http_server" and got the log file attached
>> which may shed some light on the problem I'm facing on the Raspberry Pi.
>>
>> It looks like some parts of the request are lost somewhere since it says :
>> 192.168.0.206:52790 > |GET / HTTP/1.1%0D%0AHost:
>> 192.168.0.252:8080%0D%0AUser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64;
>> rv:51.0) Gecko/20100101 Firefox/51.0%0D%0AAccept:
>> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8%0D%0AAccept-Language:
>> fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3%0D%0AAccept-Encoding: gzip,
>> deflate%0D%0AConnection: keep-alive%0D%0AUpgrade-Insecure-Requests:
>> 1%0D%0AIf-Modified-Since: Tue, 07 Mar 2017 10:53:47
>> GMT%0D%0AIf-None-Match: "29cd-54a21d3953252-gzip"%0D%0ACache-Control:
>> max-age=0%0D%0A%0D%0A| 0..460
>> Processing received: Exception name: ADA.IO_EXCEPTIONS.DATA_ERROR
>> Message: Method / is not supported
>>
>> where there are 4 NUL characters in :
>> Message: Method NULNULNULNUL/ is not supported
>>
>> Anyone else running "Gnoga" or "Simple Components" on Raspberry Pi 1
>> Model B+ / Debian Jessie ?
>>
>
>
> Stéphane,
> I got the same problem
>
> I got a pi 1B (no +, and 256 mb ram)
>
> pi@raspberrypi ~/simple_components/test_components $ cat /proc/cpuinfo
> processor   : 0
> model name  : ARMv6-compatible processor rev 7 (v6l)
> BogoMIPS: 2.00
> Features: half thumb fastmult vfp edsp java tls
> CPU implementer : 0x41
> CPU architecture: 7
> CPU variant : 0x0
> CPU part: 0xb76
> CPU revision: 7
>
> Hardware: BCM2708
> Revision: 0002
> Serial  : cf92fd21
>
>
> I downloaded simple components with
> wget http://www.dmitry-kazakov.de/ada/components_4_19.tgz
>
> tar xvzf components_4_19.tgz
>
> which gave me
> tar: A lone zero block at 33580
>
> md5sum components_4_19.tgz
> 6f26eb8561677fef41e0a1ae295c0bee  components_4_19.tgz
>
>
>
> However it did unpack enough files to
> cd test_components/
> gprbuild -p -P
> components-connections_server-http_server-test_http_server.gpr
>
>
> and run it with
> sudo ./test_http_server 2>&1 | tee output.dat
>
> and I get the same message,
> Message: Method / is not supported
>
> where there are 4 NUL characters in :
> Message: Method NULNULNULNUL/ is not supported
>
>
> pi@raspberrypi ~/junk $ gcc -v
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.9/lto-wrapper
> Target: arm-linux-gnueabihf
> Configured with: ../src/configure -v --with-pkgversion='Raspbian
> 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs
> --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
> --program-suffix=-4.9 --enable-shared --enable-linker-build-id
> --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
> --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib
> --enable-nls --with-sysroot=/ --enable-clocale=gnu
> --enable-libstdcxx-debug --enable-libstdcxx-time=yes
> --enable-gnu-unique-object --disable-libitm --disable-libquadmath
> --enable-plugin --with-system-zlib --disable-browser-plugin
> --enable-java-awt=gtk --enable-gtk-cairo
> --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-armhf/jre
> --enable-java-home
> --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-armhf
> --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-armhf
> --with-arch-directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
> --enable-objc-gc --enable-multiarch --disable-sjlj-exceptions
> --with-arch=armv6 --with-fpu=vfp --with-float=hard
> --enable-checking=release --build=arm-linux-gnueabihf
> --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
> Thread model: posix
> gcc version 4.9.2 (Raspbian 4.9.2-10)
> pi@raspberrypi ~/junk $
>
>
> pi@raspberrypi ~/junk $ cat /etc/debian_version
> 8.0
>
>
>
>
> --
> Björn
>
> --
> Announcing the Oxford Dictionaries API! The API off

Re: [Gnoga-list] Gnoga on Raspberry Pi 1 Model B+

2017-03-10 Thread LOS Stéphane

Hello there,

Since "Gnoga" uses "Simple Components" and this one has tests available 
I have compiled and run "test_http_server" and got the log file attached 
which may shed some light on the problem I'm facing on the Raspberry Pi.


It looks like some parts of the request are lost somewhere since it says :
192.168.0.206:52790 > |GET / HTTP/1.1%0D%0AHost: 
192.168.0.252:8080%0D%0AUser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; 
rv:51.0) Gecko/20100101 Firefox/51.0%0D%0AAccept: 
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8%0D%0AAccept-Language: 
fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3%0D%0AAccept-Encoding: gzip, 
deflate%0D%0AConnection: keep-alive%0D%0AUpgrade-Insecure-Requests: 
1%0D%0AIf-Modified-Since: Tue, 07 Mar 2017 10:53:47 
GMT%0D%0AIf-None-Match: "29cd-54a21d3953252-gzip"%0D%0ACache-Control: 
max-age=0%0D%0A%0D%0A| 0..460

Processing received: Exception name: ADA.IO_EXCEPTIONS.DATA_ERROR
Message: Method / is not supported

where there are 4 NUL characters in :
Message: Method NULNULNULNUL/ is not supported

Anyone else running "Gnoga" or "Simple Components" on Raspberry Pi 1 
Model B+ / Debian Jessie ?


Cordialement,
Stéphane LOS
http://slo-ist.fr/ada4autom

Le 08/03/2017 à 11:59, stephane@laposte.net a écrit :

Hello Tony,

I have tried assigning apache2 port 8080 on raspbian and it works also.
So I don't think it is related to port number or firewall.


*De: *"tony gair" 
*À: *"Gnoga support list" 
*Envoyé: *Mercredi 8 Mars 2017 09:58:41
*Objet: *Re: [Gnoga-list] Gnoga on Raspberry Pi 1 Model B+

oh I'll take a look laater on


On Tue, Mar 7, 2017 at 10:46 PM, LOS Stéphane 
mailto:stephane@laposte.net>> wrote:


Thanks for the answer but iptables config is empty. Should not
block any connection as far as I can tell.

Cordialement,
Stéphane LOS

Le 07/03/2017 à 23:35, tony gair a écrit :

I know for a fact gnoga works fine on raspbian. Its probably a
firewall setting.

On Tue, Mar 7, 2017 at 9:47 PM, LOS Stéphane
mailto:stephane@laposte.net>>
wrote:

Hello there,

I am using this Raspberry Pi 1 Model B+:
https://www.raspberrypi.org/products/model-b-plus/

It runs Raspbian Jessie up to date and I have used git to
get a fresh
Gnoga to play with.

I have issued command "make release", and after some hours
got it compiled.
Then "sudo su", "make install" and after some more time
got it installed.

Trying to compile "Ada for Automation" works also but the
applications
fail to answer to http requests although they run fine for
what I can
tell. Of course, I have some other targets, PC based
Debian, where there
is not such problem.

One can even play with :
http://ada4automation.slo-ist.fr/

I have compiled the first tutorial fine and it runs BUT it
does not
respond as well to http requests.

It says the usual stuff about directories and waits on
port 8080.

The Firefox on my PC complains that the connection is
reinitialized.

Wireshark running on the PC sees the connection, the http
request and
the closing of the connection from Raspberry Pi side.

Of course, I can ping the Pi, the Modbus TCP connection
works as
expected, and Apache can serve pages on port 80.

So only Gnoga / Simple Components seem to have some kind
of problem. Any
idea ?

Thanks for your hard work and kind support.

--
Best Regards,
Cordialement,
Stéphane LOS
http://slo-ist.fr/ada4autom



--
Announcing the Oxford Dictionaries API! The API offers
world-renowned
dictionary content that is easy and intuitive to access.
Sign up for an
account today to start using our lexical data to power
your apps and
projects. Get started today and enter our developer
competition.
http://sdm.link/oxford
___
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
<mailto:Gnoga-list@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/gnoga-list





--
 

Re: [Gnoga-list] Gnoga on Raspberry Pi 1 Model B+

2017-03-07 Thread LOS Stéphane
Thanks for the answer but iptables config is empty. Should not block any 
connection as far as I can tell.


Cordialement,
Stéphane LOS

Le 07/03/2017 à 23:35, tony gair a écrit :
I know for a fact gnoga works fine on raspbian. Its probably a 
firewall setting.


On Tue, Mar 7, 2017 at 9:47 PM, LOS Stéphane <mailto:stephane@laposte.net>> wrote:


Hello there,

I am using this Raspberry Pi 1 Model B+:
https://www.raspberrypi.org/products/model-b-plus/
<https://www.raspberrypi.org/products/model-b-plus/>

It runs Raspbian Jessie up to date and I have used git to get a fresh
Gnoga to play with.

I have issued command "make release", and after some hours got it
compiled.
Then "sudo su", "make install" and after some more time got it
installed.

Trying to compile "Ada for Automation" works also but the applications
fail to answer to http requests although they run fine for what I can
tell. Of course, I have some other targets, PC based Debian, where
there
is not such problem.

One can even play with :
http://ada4automation.slo-ist.fr/ <http://ada4automation.slo-ist.fr/>

I have compiled the first tutorial fine and it runs BUT it does not
respond as well to http requests.

It says the usual stuff about directories and waits on port 8080.

The Firefox on my PC complains that the connection is reinitialized.

Wireshark running on the PC sees the connection, the http request and
the closing of the connection from Raspberry Pi side.

Of course, I can ping the Pi, the Modbus TCP connection works as
expected, and Apache can serve pages on port 80.

So only Gnoga / Simple Components seem to have some kind of
problem. Any
idea ?

Thanks for your hard work and kind support.

--
Best Regards,
Cordialement,
Stéphane LOS
http://slo-ist.fr/ada4autom



--
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up
for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
___
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
<mailto:Gnoga-list@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/gnoga-list
<https://lists.sourceforge.net/lists/listinfo/gnoga-list>




--
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford


___
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list


--
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford___
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list


[Gnoga-list] Gnoga on Raspberry Pi 1 Model B+

2017-03-07 Thread LOS Stéphane
Hello there,

I am using this Raspberry Pi 1 Model B+:
https://www.raspberrypi.org/products/model-b-plus/

It runs Raspbian Jessie up to date and I have used git to get a fresh 
Gnoga to play with.

I have issued command "make release", and after some hours got it compiled.
Then "sudo su", "make install" and after some more time got it installed.

Trying to compile "Ada for Automation" works also but the applications 
fail to answer to http requests although they run fine for what I can 
tell. Of course, I have some other targets, PC based Debian, where there 
is not such problem.

One can even play with :
http://ada4automation.slo-ist.fr/

I have compiled the first tutorial fine and it runs BUT it does not 
respond as well to http requests.

It says the usual stuff about directories and waits on port 8080.

The Firefox on my PC complains that the connection is reinitialized.

Wireshark running on the PC sees the connection, the http request and 
the closing of the connection from Raspberry Pi side.

Of course, I can ping the Pi, the Modbus TCP connection works as 
expected, and Apache can serve pages on port 80.

So only Gnoga / Simple Components seem to have some kind of problem. Any 
idea ?

Thanks for your hard work and kind support.

-- 
Best Regards,
Cordialement,
Stéphane LOS
http://slo-ist.fr/ada4autom


--
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
___
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list


Re: [Gnoga-list] Dropping the ball

2016-05-29 Thread LOS Stéphane

Dear Mister BOTTON;

Clearly, family and food are top priorities.

Sorry for your father.

No worries, Gnoga is a great project.
Thank you very much for it.

Cordialement,
Stéphane LOS

Le 29/05/2016 à 05:57, Rabbi David Botton a écrit :
I'm fairly embarrassed to have been off the grid for so long with 
Gnoga and thankful to Pascal and others still working hard on things. 
Has been a tough time business wise last months and most recently with 
my father's passing and trying to get things in order. I wish Gnoga 
had a higher priority than food and family but I've not given up 
on things and hopefully more involved soon :) I still have a number of 
plans for Gnoga's development and tools for it.


David Botton



--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e


___
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e___
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list


[Gnoga-list] Ada for Automation : A4A_Piano using Gnoga

2016-01-10 Thread LOS Stéphane
Hello there,

I have added to the "Ada for Automation" project a simple application 
using Gnoga for the web UI.

It is hand made SVG connected to a MVC like Ada code.

It has this face :
http://slo-ist.fr/wp-content/uploads/2016/01/A4A-App6-A4A-Piano-Local.png

The code is here :
https://gitlab.com/ada-for-automation/ada-for-automation

It can be compiled with the provided "a4a_piano.gpr" project file or the 
makefile.

It can be tested using the provided "a4a.gpr" console project or the 
"a4a_gui.gpr" GtkAda project.

Running either one will connect it via Modbus TCP to the "piano" and 
allow one to play with the command and pattern bytes.

Any comments welcome.

Gnoga is a great project !
Thank you very much Mister Botton and Mister Kazakov for your hard work.

-- 
Cordialement,
Stéphane LOS
http://slo-ist.fr/ada4autom


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list


Re: [Gnoga-list] CAE development, plotting etc.

2016-01-05 Thread LOS Stéphane

Hello,

Someone said that there are plenty of JS plotting libraries. May I 
suggest this reading :

http://www.sitepoint.com/15-best-javascript-charting-libraries/

I like this one :
http://smoothiecharts.org/

Cordialement,
Stéphane LOS
http://slo-ist.fr/ada4autom

Le 05/01/2016 01:43, Rabbi David Botton a écrit :
You can also use the Cairo bindings I modified to remove the 
requirements for GtkAda


http://gnoga.com/cairo.tar.gz

And output SVG. I think I have an example in that tar ball of it.

David Botton



On Mon, Jan 4, 2016 at 7:32 AM Mario S. Mommer > wrote:


Hi,

another option would be to use the SVG backend (or any other image
backend, though SVG will likely produce the best results) from plplot,
and send that to the client.

Regards,
Mario



--


___
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list


--
___
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list