Sign in Join

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

Mailing lists / lazarus / 2020-01

Google API Ubuntu exception

9 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Francesco Sammarco

Hi, I have a problem. I tried to compile the example for google calendar access and it works correctly on mac os and windows, but when I try to use it on ubuntu I get the following error.

TCalendarList: unsupported array element type

How do I solve?

Lazarus 2.1.0 r62324M FPC 3.2.0 x86_64-linux-gtk2 (Ubuntu 19.10) -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20200113/c485e734/attachment.html>

Reply by email

Michael Van Canneyt
to Francesco Sammarco
Francesco Sammarco wrote 10 lines
Hi, I have a problem. I tried to compile the example for google calendar access and it works correctly on mac os and windows, but when I try to use it on ubuntu I get the following error. TCalendarList: unsupported array element type How do I solve? Lazarus 2.1.0 r62324M FPC 3.2.0 x86_64-linux-gtk2 (Ubuntu 19.10)

Hm. FPC 3.2.0 is not yet out, how did you get that ? Are you sure it is that version ?

Michael.

Reply by email

Francesco Sammarco
to Michael Van Canneyt

I installed it thanks to fpcupdeluxe

Il lun 13 gen 2020, 22:57 Michael Van Canneyt ha
scritto:

Show quoted text 23 lines
On Mon, 13 Jan 2020, Francesco Sammarco via lazarus wrote: > Hi, I have a problem. I tried to compile the example for google calendar > access and it works correctly on mac os and windows, but when I try to use > it on ubuntu I get the following error. > > TCalendarList: unsupported array element type > > How do I solve? > > > Lazarus 2.1.0 r62324M FPC 3.2.0 x86_64-linux-gtk2 (Ubuntu 19.10) Hm. FPC 3.2.0 is not yet out, how did you get that ? Are you sure it is that version ? Michael.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20200113/14b47632/attachment.html>

Reply by email

Michael Van Canneyt
to Francesco Sammarco

Hi,

The serializing code is totally independent of the platform. So somehow there must be a difference in version.

Michael.

Francesco Sammarco wrote 29 lines
I installed it thanks to fpcupdeluxe Il lun 13 gen 2020, 22:57 Michael Van Canneyt ha scritto: > > > On Mon, 13 Jan 2020, Francesco Sammarco via lazarus wrote: > >> Hi, I have a problem. I tried to compile the example for google calendar >> access and it works correctly on mac os and windows, but when I try to > use >> it on ubuntu I get the following error. >> >> TCalendarList: unsupported array element type >> >> How do I solve? >> >> >> Lazarus 2.1.0 r62324M FPC 3.2.0 x86_64-linux-gtk2 (Ubuntu 19.10) > > Hm. FPC 3.2.0 is not yet out, how did you get that ? Are you sure it is > that > version ? > > > Michael. >

Reply by email

Francesco Sammarco
to Michael Van Canneyt

sorry but I don't understand what you mean. did you manage to replicate the problem ?!

Il mar 14 gen 2020, 00:09 Michael Van Canneyt via lazarus <

Show quoted text 49 lines
ha scritto: Hi, The serializing code is totally independent of the platform. So somehow there must be a difference in version. Michael. On Mon, 13 Jan 2020, Francesco Sammarco wrote: > I installed it thanks to fpcupdeluxe > > Il lun 13 gen 2020, 22:57 Michael Van Canneyt ha > scritto: > >> >> >> On Mon, 13 Jan 2020, Francesco Sammarco via lazarus wrote: >> >>> Hi, I have a problem. I tried to compile the example for google calendar >>> access and it works correctly on mac os and windows, but when I try to >> use >>> it on ubuntu I get the following error. >>> >>> TCalendarList: unsupported array element type >>> >>> How do I solve? >>> >>> >>> Lazarus 2.1.0 r62324M FPC 3.2.0 x86_64-linux-gtk2 (Ubuntu 19.10) >> >> Hm. FPC 3.2.0 is not yet out, how did you get that ? Are you sure it is >> that >> version ? >> >> >> Michael. >> > -- _______________________________________________ lazarus mailing list https://lists.lazarus-ide.org/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20200114/c0628dff/attachment.html>

Reply by email

Francesco Sammarco
to Francesco Sammarco

No solution?

Il giorno mar 14 gen 2020 alle ore 07:27 Francesco Sammarco <

Show quoted text 56 lines
ha scritto: sorry but I don't understand what you mean. did you manage to replicate the problem ?! Il mar 14 gen 2020, 00:09 Michael Van Canneyt via lazarus < > ha scritto: > > Hi, > > The serializing code is totally independent of the platform. > So somehow there must be a difference in version. > > Michael. > > On Mon, 13 Jan 2020, Francesco Sammarco wrote: > > > I installed it thanks to fpcupdeluxe > > > > Il lun 13 gen 2020, 22:57 Michael Van Canneyt > ha > > scritto: > > > >> > >> > >> On Mon, 13 Jan 2020, Francesco Sammarco via lazarus wrote: > >> > >>> Hi, I have a problem. I tried to compile the example for google > calendar > >>> access and it works correctly on mac os and windows, but when I try to > >> use > >>> it on ubuntu I get the following error. > >>> > >>> TCalendarList: unsupported array element type > >>> > >>> How do I solve? > >>> > >>> > >>> Lazarus 2.1.0 r62324M FPC 3.2.0 x86_64-linux-gtk2 (Ubuntu 19.10) > >> > >> Hm. FPC 3.2.0 is not yet out, how did you get that ? Are you sure it is > >> that > >> version ? > >> > >> > >> Michael. > >> > > > -- > _______________________________________________ > lazarus mailing list > > https://lists.lazarus-ide.org/listinfo/lazarus >

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20200116/1cb92938/attachment.html>

Reply by email

Michael Van Canneyt
to Francesco Sammarco

Hello,

I had no time to look at this yet.

This is not something tested quickly in 10 minutes. Maybe I will have time in the weekend.

I repeat: the streaming code is independent of the platform. So if a version of FPC works on windows and mac, it should work on Linux as well. I do all my development on Linux, so that platform is actually best tested.

That is why I suspect your FPC version on linux differs from the one on Windows/Mac. Without logs or something of the kind, it is hard to tell why it fails on your machine.

Michael.

Francesco Sammarco wrote 60 lines
No solution? Il giorno mar 14 gen 2020 alle ore 07:27 Francesco Sammarco < > ha scritto: > sorry but I don't understand what you mean. did you manage to replicate > the problem ?! > > Il mar 14 gen 2020, 00:09 Michael Van Canneyt via lazarus < > > ha scritto: > >> >> Hi, >> >> The serializing code is totally independent of the platform. >> So somehow there must be a difference in version. >> >> Michael. >> >> On Mon, 13 Jan 2020, Francesco Sammarco wrote: >> >>> I installed it thanks to fpcupdeluxe >>> >>> Il lun 13 gen 2020, 22:57 Michael Van Canneyt >> ha >>> scritto: >>> >>>> >>>> >>>> On Mon, 13 Jan 2020, Francesco Sammarco via lazarus wrote: >>>> >>>>> Hi, I have a problem. I tried to compile the example for google >> calendar >>>>> access and it works correctly on mac os and windows, but when I try to >>>> use >>>>> it on ubuntu I get the following error. >>>>> >>>>> TCalendarList: unsupported array element type >>>>> >>>>> How do I solve? >>>>> >>>>> >>>>> Lazarus 2.1.0 r62324M FPC 3.2.0 x86_64-linux-gtk2 (Ubuntu 19.10) >>>> >>>> Hm. FPC 3.2.0 is not yet out, how did you get that ? Are you sure it is >>>> that >>>> version ? >>>> >>>> >>>> Michael. >>>> >>> >> -- >> _______________________________________________ >> lazarus mailing list >> >> https://lists.lazarus-ide.org/listinfo/lazarus >> >

Reply by email

Francesco Sammarco
to Michael Van Canneyt

No problem. I can wait a few days. Can you help me if I send you an email with the screenshot at the time of the exception?

Il giorno gio 16 gen 2020 alle ore 12:38 Michael Van Canneyt via lazarus <

Show quoted text 92 lines
ha scritto: Hello, I had no time to look at this yet. This is not something tested quickly in 10 minutes. Maybe I will have time in the weekend. I repeat: the streaming code is independent of the platform. So if a version of FPC works on windows and mac, it should work on Linux as well. I do all my development on Linux, so that platform is actually best tested. That is why I suspect your FPC version on linux differs from the one on Windows/Mac. Without logs or something of the kind, it is hard to tell why it fails on your machine. Michael. On Thu, 16 Jan 2020, Francesco Sammarco wrote: > No solution? > > Il giorno mar 14 gen 2020 alle ore 07:27 Francesco Sammarco < > > ha scritto: > >> sorry but I don't understand what you mean. did you manage to replicate >> the problem ?! >> >> Il mar 14 gen 2020, 00:09 Michael Van Canneyt via lazarus < >> > ha scritto: >> >>> >>> Hi, >>> >>> The serializing code is totally independent of the platform. >>> So somehow there must be a difference in version. >>> >>> Michael. >>> >>> On Mon, 13 Jan 2020, Francesco Sammarco wrote: >>> >>>> I installed it thanks to fpcupdeluxe >>>> >>>> Il lun 13 gen 2020, 22:57 Michael Van Canneyt < > >>> ha >>>> scritto: >>>> >>>>> >>>>> >>>>> On Mon, 13 Jan 2020, Francesco Sammarco via lazarus wrote: >>>>> >>>>>> Hi, I have a problem. I tried to compile the example for google >>> calendar >>>>>> access and it works correctly on mac os and windows, but when I try to >>>>> use >>>>>> it on ubuntu I get the following error. >>>>>> >>>>>> TCalendarList: unsupported array element type >>>>>> >>>>>> How do I solve? >>>>>> >>>>>> >>>>>> Lazarus 2.1.0 r62324M FPC 3.2.0 x86_64-linux-gtk2 (Ubuntu 19.10) >>>>> >>>>> Hm. FPC 3.2.0 is not yet out, how did you get that ? Are you sure it is >>>>> that >>>>> version ? >>>>> >>>>> >>>>> Michael. >>>>> >>>> >>> -- >>> _______________________________________________ >>> lazarus mailing list >>> >>> https://lists.lazarus-ide.org/listinfo/lazarus >>> >> > -- _______________________________________________ lazarus mailing list https://lists.lazarus-ide.org/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20200116/c6003d0b/attachment.html>

Reply by email

Michael Van Canneyt
to Francesco Sammarco

Yes please, any information can help.

The complete compile log would also be useful. If you compile in Lazarus, in the messages window popup menu, select
"Copy - Copy all/original messages to clipboard"
and send me the resulting log.

Thanks !

Michael.

Francesco Sammarco wrote 97 lines
No problem. I can wait a few days. Can you help me if I send you an email with the screenshot at the time of the exception? Il giorno gio 16 gen 2020 alle ore 12:38 Michael Van Canneyt via lazarus < > ha scritto: > > Hello, > > I had no time to look at this yet. > > This is not something tested quickly in 10 minutes. > Maybe I will have time in the weekend. > > I repeat: the streaming code is independent of the platform. > So if a version of FPC works on windows and mac, it should work on Linux as > well. I do all my development on Linux, so that platform is actually best > tested. > > That is why I suspect your FPC version on linux differs from the one on > Windows/Mac. Without logs or something of the kind, it is hard to tell why > it fails on your machine. > > Michael. > > On Thu, 16 Jan 2020, Francesco Sammarco wrote: > >> No solution? >> >> Il giorno mar 14 gen 2020 alle ore 07:27 Francesco Sammarco < >> > ha scritto: >> >>> sorry but I don't understand what you mean. did you manage to replicate >>> the problem ?! >>> >>> Il mar 14 gen 2020, 00:09 Michael Van Canneyt via lazarus < >>> > ha scritto: >>> >>>> >>>> Hi, >>>> >>>> The serializing code is totally independent of the platform. >>>> So somehow there must be a difference in version. >>>> >>>> Michael. >>>> >>>> On Mon, 13 Jan 2020, Francesco Sammarco wrote: >>>> >>>>> I installed it thanks to fpcupdeluxe >>>>> >>>>> Il lun 13 gen 2020, 22:57 Michael Van Canneyt < >> >>>> ha >>>>> scritto: >>>>> >>>>>> >>>>>> >>>>>> On Mon, 13 Jan 2020, Francesco Sammarco via lazarus wrote: >>>>>> >>>>>>> Hi, I have a problem. I tried to compile the example for google >>>> calendar >>>>>>> access and it works correctly on mac os and windows, but when I try > to >>>>>> use >>>>>>> it on ubuntu I get the following error. >>>>>>> >>>>>>> TCalendarList: unsupported array element type >>>>>>> >>>>>>> How do I solve? >>>>>>> >>>>>>> >>>>>>> Lazarus 2.1.0 r62324M FPC 3.2.0 x86_64-linux-gtk2 (Ubuntu 19.10) >>>>>> >>>>>> Hm. FPC 3.2.0 is not yet out, how did you get that ? Are you sure it > is >>>>>> that >>>>>> version ? >>>>>> >>>>>> >>>>>> Michael. >>>>>> >>>>> >>>> -- >>>> _______________________________________________ >>>> lazarus mailing list >>>> >>>> https://lists.lazarus-ide.org/listinfo/lazarus >>>> >>> >> > -- > _______________________________________________ > lazarus mailing list > > https://lists.lazarus-ide.org/listinfo/lazarus >

Reply by email