cloud_py_api icon indicating copy to clipboard operation
cloud_py_api copied to clipboard

Unable to open the settings page

Open sprnza opened this issue 1 year ago • 4 comments

Describe the bug Unable to open settings page after fresh install

To Reproduce Steps to reproduce the behavior:

  1. Install the app
  2. Go to Administrative settings
  3. Go to Cloud Python API

Expected behavior The settings page opened

Desktop (please complete the following information):

  • Debian based docker container
  • x86
  • Nextcloud version 26.0.1
  • Database configuration Postgres 10.4
  • app version, that using cloud_py_api
  • cloud_py_api version 0.1.7
  • cloud_py_api config and admin settings (can be obtained in bug report admin settings section) clicking "Collect system info" does nothing

Additional context Logs

{"reqId":"rJ0XBmqRv17bfstKEIRx","level":3,"time":"2023-04-22T16:28:52+00:00","remoteAddr":"158.181.193.51","user":"Speranskiy","app":"index","method":"GET","url":"/apps/cloud_py_api/api/v1/settings","message":"Could not resolve OCA\\Cloud_Py_API\\Service\\UtilsService! Class \"OCA\\Cloud_Py_API\\Service\\UtilsService\" does not exist","userAgent":"Mozilla/5.0 (X11;
Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.15.9 Chrome/87.0.4280.144 Safari/537.36","version":"26.0.1.1","exception":{"Exception":"OCP\\AppFramework\\QueryException","Message":"Could not resolve OCA\\Cloud_Py_API\\Service\\UtilsService! Class \"OCA\\Cloud_Py_API\\Service\\UtilsService\" does not exist","Code":0,"Trace":[{"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":116,"function":"array_map","args":[["Closure"],[["ReflectionParameter","request"],["ReflectionParameter","service"],"*** sensitive parameters replaced ***"]]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":124,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":[["ReflectionClass","OCA\\Cloud_Py_API\\Controller\\SettingsController"]]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":142,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Cloud_Py_API\\Controller\\SettingsController"]},{"file":"/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":493,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Cloud_Py_API\\Controller\\SettingsController"]},{"file":"/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":465,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Cloud_Py_API\\Controller\\SettingsController"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":162,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Cloud_Py_API\\Controller\\SettingsController"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Cloud_Py_API\\Controller\\SettingsController","index",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["cloud_py_api.settings.index"]]},{"file":"/var/www/html/lib/base.php","line":1056,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/cloud_py_api/api/v1/settings"]},{"file":"/var/www/html/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","Line":110,"Previous":{"Exception":"OC\\AppFramework\\Utility\\QueryNotFoundException","Message":"Could not resolve OCA\\Cloud_Py_API\\Service\\UtilsService! Class
\"OCA\\Cloud_Py_API\\Service\\UtilsService\" does not exist","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":142,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Cloud_Py_API\\Service\\UtilsService"]},{"file":"/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":493,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Cloud_Py_API\\Service\\UtilsService"]},{"file":"/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":465,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Cloud_Py_API\\Service\\UtilsService"]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":97,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Cloud_Py_API\\Service\\UtilsService",true]},{"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":116,"function":"array_map","args":[["Closure"],[["ReflectionParameter","request"],["ReflectionParameter","service"],"*** sensitive parameters replaced ***"]]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":124,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":[["ReflectionClass","OCA\\Cloud_Py_API\\Controller\\SettingsController"]]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":142,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Cloud_Py_API\\Controller\\SettingsController"]},{"file":"/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":493,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Cloud_Py_API\\Controller\\SettingsController"]},{"file":"/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":465,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Cloud_Py_API\\Controller\\SettingsController"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":162,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Cloud_Py_API\\Controller\\SettingsController"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Cloud_Py_API\\Controller\\SettingsController","index",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["cloud_py_api.settings.index"]]},{"file":"/var/www/html/lib/base.php","line":1056,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/cloud_py_api/api/v1/settings"]},{"file":"/var/www/html/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","Line":131},"CustomMessage":"--"}}
^C

sprnza avatar Apr 22 '23 16:04 sprnza