Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
94 user(s) are online (53 user(s) are browsing Forums)

Members: 1
Guests: 93

afxgroup, more...

Headlines

 
  Register To Post  

Help me google sync AOrganiser
Quite a regular
Quite a regular


See User information
I just bought AOrganiser 2.2 and find I am unable to do anything with the sync script for google setup. This is the message that pops up when I try to run the google setup script:

Quote:
Unable to initialize google 0Auth API


I thought I saw to all the dependencies. But is this a sign one of them is missing?

Paul

Builder of Frankenthousand The monster A1000
The Young Frankenthousand A1-XE G4
X5000
Go to top
Re: Help me google sync AOrganiser
Home away from home
Home away from home


See User information
@Paul

Thankyou for purchasing AOrganiser.

The installer script should have handled all dependencies except AmiSSL 4 , which you ideally need to preinstall yourself.


So first question have you installed AMISSL 4?

Did you run the installer script or try to install by hand? (really not recommended).


Go to top
Re: Help me google sync AOrganiser
Quite a regular
Quite a regular


See User information
@broadblues

Thanks for the response. I thought I had AmmiSSL 4.1 installed, but where does it install to? I Can't actually find it, just the downloaded archive. For good measure, I saw just now that AmiSSL 4.2 is out, so I just installed that. Again, no idea where it went to.

When I installed AOrganiser, I used the included install script. Program runs fine as far as putting the page up on the screen. But even after installing AmiSSL4.2, I still get the same notification about 0Auth.

Paul

Builder of Frankenthousand The monster A1000
The Young Frankenthousand A1-XE G4
X5000
Go to top
Re: Help me google sync AOrganiser
Home away from home
Home away from home


See User information
@Paul

To see if amissl is correctly installed type

version amisslmaster.library

eg


10.AmigaOS4:> version amisslmaster.library
amisslmaster.library 4.2

and check for
libs:AmiSSL/amissl_v110g.library




Go to top
Re: Help me google sync AOrganiser
Quite a regular
Quite a regular


See User information
@broadblues

OK, I'm showing version 4.2 installed and version 110g.

Paul


Edited by Paul on 2018/8/8 18:03:30
Builder of Frankenthousand The monster A1000
The Young Frankenthousand A1-XE G4
X5000
Go to top
Re: Help me google sync AOrganiser
Not too shy to talk
Not too shy to talk


See User information
I also just bought AO and all is working fine. Have u checked the the installation and feature demo video on youtube.. just in case you might have missed somthing? https://youtu.be/4u1uAeqnngM

AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon RX 550 / ATI X1950 / M-Audio 5.1 -> AmigaOS 4.1 FE / Linux / MorphOS
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the NET
Vampire V4SE TrioBoot
RPI4 AmiKit XE
Go to top
Re: Help me google sync AOrganiser
Quite a regular
Quite a regular


See User information
@Skateman

Yeah, but I watched it again from your link. Since posting to Andy last time, I've reinstalled AOrganiser. It showed all three of the dependencies already in place. And with Andy's help I've verified that AmiSSL4.2 is installed.

Oddly, the "Generic" setup script at least pops up on the screen if I click it, but isn't helpful (for me, anyway.) I don't know what URL I would use for my Google calendar.

Eventually, this might be moot. Maybe with the Hyperion court case "settled" now, AEON might be getting back on track with product releases. Once it's available, I'll be getting an X5000/40. Maybe things will go better on that.

Paul

Builder of Frankenthousand The monster A1000
The Young Frankenthousand A1-XE G4
X5000
Go to top
Re: Help me google sync AOrganiser
Home away from home
Home away from home


See User information
@Paul

Quote:


Oddly, the "Generic" setup script at least pops up on the screen if I click it, but isn't helpful (for me, anyway.) I don't know what URL I would use for my Google calendar.


Generic doesn't work for google even if you know the right URL. Actually Generic is still a WIP anyway

Quote:

Eventually, this might be moot. Maybe with the Hyperion court case "settled" now, AEON might be getting back on track with product releases. Once it's available, I'll be getting an X5000/40. Maybe things will go better on that.


Really shouldn't make a difference.

What system are you using now?


Go to top
Re: Help me google sync AOrganiser
Home away from home
Home away from home


See User information
I'm going to need some log to debug this further.

PLease do this

setenv AORGANISER/LOGFILE "ram:ao.log"
setenv AORGANISER/LOGLEVEL 1

Then run the script again and post the results here.


Go to top
Re: Help me google sync AOrganiser
Quite a regular
Quite a regular


See User information
@broadblues

I'm running 4.1FE update 1 on an A1 XE G4.

I ran the setenv log commands you gave me both from a generic shell and from a shell opened from the AOrganiser drawer. In both cases, the only output I saw was labeled AOrg.log and it was an empty file.

Paul

Builder of Frankenthousand The monster A1000
The Young Frankenthousand A1-XE G4
X5000
Go to top
Re: Help me google sync AOrganiser
Home away from home
Home away from home


See User information
At what point do you get this message?

Go to top
Re: Help me google sync AOrganiser
Quite a regular
Quite a regular


See User information
@broadblues

It appears about 5 seconds after double clicking the Google setup wizard.

Paul

Builder of Frankenthousand The monster A1000
The Young Frankenthousand A1-XE G4
X5000
Go to top
Re: Help me google sync AOrganiser
Home away from home
Home away from home


See User information
Can you verify is these files are the same?

10.AmigaOS4:> list System/Python/Lib/lib-dynload/_socket.so 
Directory 
"System/Python/Lib/lib-dynload" on Saturday 11-Aug-18
_socket
.so                    98620 ----rwed 11-Apr-17 14:03:03
1 file 
96K bytes 194 blocks used
10.AmigaOS4
:> list System/Python/Lib/lib-dynload/_ssl.so 
Directory 
"System/Python/Lib/lib-dynload" on Saturday 11-Aug-18
_ssl
.so                       73960 ----rwed 11-Apr-17 14:02:58
1 file 
72K bytes 146 blocks used

Go to top
Re: Help me google sync AOrganiser
Quite a regular
Quite a regular


See User information
@broadblues

Shows the same here, except that my partition is labeled System:

Quote:
New Shell process 8
8.System:System/Python/Lib/lib-dynload> list _socket.so
_socket.so 98620 ----rwed 11-Apr-17 14:03:02
1 file - 96K bytes - 194 blocks used
8.System:System/Python/Lib/lib-dynload> list _ssl.so
_ssl.so 73960 ----rwed 11-Apr-17 14:02:58
1 file - 72K bytes - 146 blocks used
8.System:System/Python/Lib/lib-dynload>


Paul

Builder of Frankenthousand The monster A1000
The Young Frankenthousand A1-XE G4
X5000
Go to top
Re: Help me google sync AOrganiser
Home away from home
Home away from home


See User information
@Paul

OK this might be a bit ticky but could you CD into the AOrgansider CalDAV directory and perform this python session for me.

15.Work:AOrganiser/Scripts/CalDAVpython
Python 2.5.6 
(r256:88840Dec 18 201602:20:44
[
GCC 5.3.0on ppc-amiga
Type 
"help""copyright""credits" or "license" for more information.
>>> 
from oauth2client import client
>>> flow client.flow_from_clientsecrets("client_aorganiser.json",scope="https://www.googleapis.com/auth/calendar",redirect_uri='urn:ietf:wg:oauth:2.0:oob')
>>> 
flow
<oauth2client.client.OAuth2WebServerFlow object at 0x498ec250>
>>>

It should go wrong when you type in the second line

"flow = client.flow_from_clientsecrets("client_aorganiser.json",scope="https://www.googleapis.com/auth/calendar",redirect_uri='urn:ietf:wg:oauth:2.0:oob')"

Note the >>> are a prompt don't type those in!

Paste the ouput here.

If the above is too fiddly I can send you it as simple test script, let me know where to email it....



Go to top
Re: Help me google sync AOrganiser
Quite a regular
Quite a regular


See User information
@broadblues

Yup. Gives me a syntax error.

Quote:
New Shell process 7
7.Programs:AOrganiser/Scripts/CalDAV> python
>>> from oauth2client import client
File "<stdin>", line 1
from oauth2client import client
^
SyntaxError: invalid syntax


THe formatting on here is wrong. The ^ should be in the seperate line like it is, but between the "m" in from and the "o" in oauth. Don't know if that makes any difference.

Paul

Sorry tried again typing it all instead of cut and paste of your commnads, and I got to the offending line:

Quote:
>>> from oauth2client import client
>>> flow = client.flow_from_clientsecrets("client_aorganiser.json",scope="https://www.googleapis.com/auth/calendar",redirect_uri='urn:ietf:wg:oauth:2.0:oob')"
File "<stdin>", line 1
flow = client.flow_from_clientsecrets("client_aorganizer.json",scope="https://www.googleapis.com/auth/calendar",redirect_uri='urn:ietf:wg:oauth:2.0:oob')"
^
SyntaxError: EOL while scanning single-quoted string


Once again the ^ character is misplaced here. It should be under the closing end quote " mark after "oob')"

In case this would be easier via email, I'll private mail you my email address

Paul


Edited by Paul on 2018/8/11 20:54:20
Edited by Paul on 2018/8/11 20:57:48
Builder of Frankenthousand The monster A1000
The Young Frankenthousand A1-XE G4
X5000
Go to top
Re: Help me google sync AOrganiser
Home away from home
Home away from home


See User information
Email sent

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project