Re: [fpc-pascal] googleapiconv raises ERESTAPI error

2016-11-08 Thread Andreas Frieß
I think the same problem will appear in Lazarus with the gooleapis components (and examples), because they based on the fpc. ... Exception-Class >>ERESTAPI<< TTasklist: unsopported array element type Andreas Am 06.11.2016 um 16:00 schrieb Michael Van Canneyt: On Sun, 6 Nov 2016, Andre

Re: [fpc-pascal] googleapiconv raises ERESTAPI error

2016-11-06 Thread Michael Van Canneyt
On Sun, 6 Nov 2016, Andreas Frieß wrote: Hello, i will try to use the googleapiconverter from the gooleapi examples directory. I got some excepions, so i reduced the problem to a generic one. I use the trunc of FPC and compile the googleapiconv without a problem (inside lazarus). If i run i

[fpc-pascal] googleapiconv raises ERESTAPI error

2016-11-06 Thread Andreas Frieß
Hello, i will try to use the googleapiconverter from the gooleapi examples directory. I got some excepions, so i reduced the problem to a generic one. I use the trunc of FPC and compile the googleapiconv without a problem (inside lazarus). If i run it direct from commandline with -A -k ig ot t

Re: [fpc-pascal] googleapiconv

2016-08-22 Thread Michael Van Canneyt
On Mon, 22 Aug 2016, Sven Barth wrote: Am 22.08.2016 15:16 schrieb "Michael Van Canneyt" : On Mon, 22 Aug 2016, Dave Connolly wrote: From what I can see the error seems to involve these two lines in the procedure TBaseObject.SetObjectProperty(P: PPropInfo; AValue: TJSONObject); in re

Re: [fpc-pascal] googleapiconv

2016-08-22 Thread Sven Barth
Am 22.08.2016 15:16 schrieb "Michael Van Canneyt" : > > > > On Mon, 22 Aug 2016, Dave Connolly wrote: > >>> From what I can see the error seems to involve these two lines in the >> >> procedure TBaseObject.SetObjectProperty(P: PPropInfo; AValue: TJSONObject); >> in restbase.pp (fcl-web) >> >>PA

Re: [fpc-pascal] googleapiconv

2016-08-22 Thread Michael Van Canneyt
On Mon, 22 Aug 2016, Dave Connolly wrote: From what I can see the error seems to involve these two lines in the procedure TBaseObject.SetObjectProperty(P: PPropInfo; AValue: TJSONObject); in restbase.pp (fcl-web) PA:=@(pdynarraytypeinfo(P^.PropType)^.elesize)+i; PA:=@(pdynarraytypeinfo

Re: [fpc-pascal] googleapiconv

2016-08-22 Thread Dave Connolly
>From what I can see the error seems to involve these two lines in the procedure TBaseObject.SetObjectProperty(P: PPropInfo; AValue: TJSONObject); in restbase.pp (fcl-web) PA:=@(pdynarraytypeinfo(P^.PropType)^.elesize)+i; PA:=@(pdynarraytypeinfo(P^.PropType)^.eletype)+i; AN:=PTYpeInf

Re: [fpc-pascal] googleapiconv

2016-08-16 Thread Michael Van Canneyt
On Mon, 15 Aug 2016, Dave Connolly wrote: The Google APIs run fine when compiled with FPC 3.0.0 Strange. I will look into it. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo

Re: [fpc-pascal] googleapiconv

2016-08-15 Thread Dave Connolly
The Google APIs run fine when compiled with FPC 3.0.0 On 15 August 2016 at 11:03, Dave Connolly wrote: > Hi Michael, > > I've tried ./googleapiconv -i ./calander.json on both 32-bit and 64-bit > Linux and I get the same error on both platforms. > > 32-bit > ./googleapiconv -i ./calendar.json >

Re: [fpc-pascal] googleapiconv

2016-08-15 Thread Dave Connolly
Hi Michael, I've tried ./googleapiconv -i ./calander.json on both 32-bit and 64-bit Linux and I get the same error on both platforms. 32-bit ./googleapiconv -i ./calendar.json Exception at 080BA538: ERESTAPI: Unknown class : " �(�X�t�@�`� �<�l�,�x�(�l���0�D�P�h�0�D

Re: [fpc-pascal] googleapiconv

2016-08-14 Thread Lubos Pintes
Well it didn't seem relevant. I am a screen reader user and Lazarus is inaccessible, so I don't use it, it is currently unusable. I tryed to compile some demos but I was unable to drive the IDe, even button captions are not read for me. And there were some packages missing, maybe only on Windows

Re: [fpc-pascal] googleapiconv

2016-08-13 Thread Michael Van Canneyt
On Sat, 13 Aug 2016, Marco van de Voort wrote: In our previous episode, Michael Van Canneyt said: On Fri, 12 Aug 2016, Dave Connolly wrote: ./googleapiconv -k -s calendar/v3 -o calendar.pp I tested the converter on the JSON output, and it works fine, it compiles: ./googleapiconv -i /hom

Re: [fpc-pascal] googleapiconv

2016-08-13 Thread Marco van de Voort
In our previous episode, Michael Van Canneyt said: > On Fri, 12 Aug 2016, Dave Connolly wrote: > > > ./googleapiconv -k -s calendar/v3 -o calendar.pp > > > > I tested the converter on the JSON output, and it works fine, it compiles: > > ./googleapiconv -i /home/michael/calendar.json > fpc /home/

Re: [fpc-pascal] googleapiconv

2016-08-13 Thread Michael Van Canneyt
On Fri, 12 Aug 2016, Dave Connolly wrote: ./googleapiconv -k -s calendar/v3 -o calendar.pp I tested the converter on the JSON output, and it works fine, it compiles: ./googleapiconv -i /home/michael/calendar.json fpc /home/michael/calendar.pp I'm completely baffled. Can you try with the t

Re: [fpc-pascal] googleapiconv

2016-08-13 Thread Dave Connolly
./googleapiconv -k -s calendar/v3 -o calendar.pp On 12 August 2016 at 12:18, Michael Van Canneyt wrote: > > > On Fri, 12 Aug 2016, Dave Connolly wrote: > > Hi all, >> >> When I run googleapiconv, I get the following >> >> ./googleapiconv -s calendar/v3 -o calendar.pp >> Exception at 00

Re: [fpc-pascal] googleapiconv

2016-08-13 Thread Michael Van Canneyt
On Sat, 13 Aug 2016, Lubos Pintes wrote: Hello, It seems to me that all this is broken in some way. Well it may be my stupidity because I am receiving an Unhandled exception. I don't know how to generate useful trace, I am developing on Windows from command line. The lines I was able to see w

Re: [fpc-pascal] googleapiconv

2016-08-13 Thread Lubos Pintes
Hello, It seems to me that all this is broken in some way. Well it may be my stupidity because I am receiving an Unhandled exception. I don't know how to generate useful trace, I am developing on Windows from command line. The lines I was able to see was GoogleService.pp, line 350 and GoogleCale

Re: [fpc-pascal] googleapiconv

2016-08-12 Thread Michael Van Canneyt
On Fri, 12 Aug 2016, Dave Connolly wrote: Hi all, When I run googleapiconv, I get the following ./googleapiconv -s calendar/v3 -o calendar.pp Exception at 00494F7F: ERESTAPI: Unknown class : "t@\tX\t???\t???\t???\t(]t???]t???]tX^tp^t". and ./googleapiconv -s tasks/v1 -o tasks.pp Ex

[fpc-pascal] googleapiconv

2016-08-12 Thread Dave Connolly
Hi all, When I run googleapiconv, I get the following ./googleapiconv -s calendar/v3 -o calendar.pp Exception at 00494F7F: ERESTAPI: Unknown class : "t@\tX\t�\t�\t�\t(]t�]t�]tX^tp^t". and ./googleapiconv -s tasks/v1 -o tasks.pp Exception at 00494F7F: ERESTAPI: Unknown class : "t