Support

Support is part of Event Gallery Extended.

Please get a subscription if you need support. Feel free to use the ticket system or the contact form for reporting defects or pre-sale questions. Make sure you're logged in in order to be able to create a new ticket.

For general information you can also jump to the manual.

Subscribe now!

#3430 – Google Photos Import Generates Deadlock

Posted in ‘Event Gallery Extended’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Tuesday, 29 January 2019 11:02 UTC
Frank_Bertram
 I used the Google Photos Import Button last weekend to import 257 albums into Event Gallery.
As advertised it took a long time, but I also got a messages that a deadlock was created and was advised to try again.
All of the website operated as normal at that point with the exception of Event Gallery.
If I tried to open Event Gallery it took a long time and after that I got the Deadlock message again.
Finally the problem disappeared and when I went to Event Gallery I noticed that the import had run perfectly.
So this again is not a big deal, but I thought you should know.
Best Regards
Frank Bertram

Custom Fields

Event Gallery Version Event Gallery 3.10.12 (build 996df8e)
Joomla Version 3.9.2.
URL https://www.molenakkers.nl/
PHP Version 7.2.11
Tuesday, 29 January 2019 17:58 UTC
sbluege
Hi,

"deadlock" is the wrong term I guess. You get timeout errors, right? 257 Google Photos albums are a lot!! How many images do they contain? With the Google Photos API a lot of requests are necessary to retrieve all the information and that API is very slow.

So far I don't have a solution for this. I need to query the information at some point in time. A cron job would work but I don't think regular users can set that up.
 
Tuesday, 29 January 2019 18:33 UTC
Frank_Bertram
Hi Sven,

>>>>"deadlock" is the wrong term I guess
I agree, but that was part of the error message I got.
Unless there is something very very smart built in there is no way the system can tell the difference between a time-out and a dead-lock.

So do not worry Sven, in the end I got all the albums I wanted.
And what is more your Component runs fantastic, it seems to have not much difficilty with lots of photos.
I have not counted recently but there must be approx. 3000 photos.

Shall we close this ticket or is there something you'd like to do.

Best Regards.
Frank
Tuesday, 29 January 2019 19:08 UTC
sbluege
We can close this ticket.

If you have many albums, please keep an eye on the daily requests to the Google Photos API (https://www.svenbluege.de/joomla-event-gallery/event-gallery-manual/edit-event-google-photos on the bottom)
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.