Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2016-11

googleapiconv raises ERESTAPI error

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

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 the following infos. The stored json file look wellformed and ok.

Show quoted text 5 lines
C:\Data\development\fpctrunk\fpc\packages\googleapi\examples\generator >googleapiconv.exe -A -k Exception at 0043DF98: ERESTAPI: Unknown class : "¼F ÿ¼F ý¼F »F °│F T┤FTTypeDef  ê█E TTypeDefä`F ÉF googlediscoverytopas TRestMethodParam ê█E ÿ ê█E á TRestMethodParams É".

Any hint 4 me ?

Andreas

Reply by email

Michael Van Canneyt
to Andreas Frieß
Andreas Frieß wrote 16 lines
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 the following infos. The stored json file look wellformed and ok. > C:\Data\development\fpctrunk\fpc\packages\googleapi\examples\generator > >googleapiconv.exe -A -k Exception at 0043DF98: ERESTAPI: > Unknown class : "¼F ÿ¼F ý¼F »F °│F T┤FTTypeDef  ê█E > TTypeDefä`F ÉF googlediscoverytopas TRestMethodParam > ê█E ÿ ê█E á TRestMethodParams É". Any hint 4 me ?

There has been a change in the RTTI, which has not yet been corrected in the restbase unit. This needs to be done still, it is on my TODO list.

Michael.

Reply by email

Andreas Frieß
to Michael Van Canneyt

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

Michael Van Canneyt wrote 33 lines
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 it direct from commandline with -A > -k ig ot the following infos. The stored json file look wellformed > and ok. > > > > C:\Data\development\fpctrunk\fpc\packages\googleapi\examples\generator > > >googleapiconv.exe -A -k Exception at 0043DF98: ERESTAPI: > > Unknown class : "¼F ÿ¼F ý¼F »F °│F T┤FTTypeDef  ê█E > > TTypeDefä`F ÉF googlediscoverytopas TRestMethodParam > > ê█E ÿ ê█E á TRestMethodParams É". > > Any hint 4 me ? There has been a change in the RTTI, which has not yet been corrected in the restbase unit. This needs to be done still, it is on my TODO list. Michael. _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply by email