MarcelRobitaille / nextcloud_google_synchronization

🇬 Google integration into Nextcloud
GNU Affero General Public License v3.0
18 stars 1 forks source link

Issue: Calendars Won't Import #11

Closed jacoknapp closed 6 days ago

jacoknapp commented 8 months ago
[index] Error: Exception: Class "Ds\Set" not found in file '/var/www/html/custom_apps/google_synchronization/lib/Service/GoogleCalendarAPIService.php' line 235 at <<closure>>

0. /var/www/html/lib/private/AppFramework/App.php line 183
   OC\AppFramework\Http\Dispatcher->dispatch(["OCA\\Google\\C ... "], "importCalendar")
1. /var/www/html/lib/private/Route/Router.php line 315
   OC\AppFramework\App::main("OCA\\Google\\Co ... r", "importCalendar", ["OC\\AppFramewo ... "], ["google_synchro ... "])
2. /var/www/html/lib/base.php line 1068
   OC\Route\Router->match("/apps/google_sy ... r")
3. /var/www/html/index.php line 36
   OC::handleRequest()

Caused by:

Error: Class "Ds\Set" not found at <<closure>>

0. /var/www/html/custom_apps/google_synchronization/lib/Controller/GoogleAPIController.php line 227
   OCA\Google\Service\GoogleCalendarAPIService->importCalendar("jacob", "family087112760 ... m", "Family", "#c2c2c2")
1. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 230
   OCA\Google\Controller\GoogleAPIController->importCalendar("family087112760 ... m", "Family", "#c2c2c2")
2. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 137
   OC\AppFramework\Http\Dispatcher->executeController(["OCA\\Google\\C ... "], "importCalendar")
3. /var/www/html/lib/private/AppFramework/App.php line 183
   OC\AppFramework\Http\Dispatcher->dispatch(["OCA\\Google\\C ... "], "importCalendar")
4. /var/www/html/lib/private/Route/Router.php line 315
   OC\AppFramework\App::main("OCA\\Google\\Co ... r", "importCalendar", ["OC\\AppFramewo ... "], ["google_synchro ... "])
5. /var/www/html/lib/base.php line 1068
   OC\Route\Router->match("/apps/google_sy ... r")
6. /var/www/html/index.php line 36
   OC::handleRequest()

GET /apps/google_synchronization/import-calendar?calId=family08711276017014144938%40group.calendar.google.com&calName=Family&color=%23c2c2c2
from 192.168.10.200 by jacob at 2023-10-25T03:41:18+00:00

The calendar function also doesn't appear to sync, either despite the information being correct

geraldurbas commented 7 months ago

Fixed by installing https://www.php.net/manual/en/ds.installation.php On Apt systems via: ex: apt install php8.1-ds

AlissonSantos95 commented 6 months ago

Testing the fix here on nx:27


results It worked, installing apt install php8.1-ds and removing the google integration and rebooting the vm it fixed the issue.

MarcelRobitaille commented 4 months ago

Hi everyone. Sorry I haven't been around. For some reason, even though I own this fork, it was not set up to send me notifications on issues and PRs. Sorry about that! I've signed up now.

It sounds like you resolved the problem. May I close this issue?

MarcelRobitaille commented 6 days ago

Closing due to inactivity. Feel free to reopen.