icewind1991 / files_external_dropbox

External Storage backend for Dropbox
GNU Affero General Public License v3.0
56 stars 19 forks source link

NC14.0.1 & file_external_dropbox: "App is not compliant" #25

Open GAS85 opened 5 years ago

GAS85 commented 5 years ago

Hi, since update to NC 14 it does not work:

$ sudo -u www-data php occ app:check-code files_external_dropbox
Analysing /var/www/nextcloud/apps/files_external_dropbox/lib/Controller/OauthController.php
 2 errors
    line   85: == - is discouraged
    line   91: == - is discouraged
Invalid appinfo.xml file found: Element 'description': This element is not expected. Expected is one of ( name, summary ).

App is not compliant
xXSTrikeXx commented 5 years ago

Tested it with this error on 14.0.3:

  TypeError: Argument 3 passed to GuzzleHttp\Client::request() must be of the type array, string given, called in /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php on line 89/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php - line 89: GuzzleHttp\Client->request("createRequest", "POST", "https://api ... t")/var/www/nextcloud/apps/files_external_dropbox/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Http/Clients/DropboxGuzzleHttpClient.php - line 54: GuzzleHttp\Client->call("createRequest", [ "POST","ht ... ]])/var/www/nextcloud/apps/files_external_dropbox/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/DropboxClient.php - line 161: Kunnu\Dropbox\Http\Clients\DropboxGuzzleHttpClient->send("https://api ... t", "POST", null, { Authorizat ... "}, [])/var/www/nextcloud/apps/files_external_dropbox/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Dropbox.php - line 269: Kunnu\Dropbox\DropboxClient->sendRequest(Kunnu\Dropbox\DropboxRequest {}, null)/var/www/nextcloud/apps/files_external_dropbox/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Dropbox.php - line 239: Kunnu\Dropbox\Dropbox->sendRequest("POST", "/users/get_current_account", "api", [], "w8c ... S")/var/www/nextcloud/apps/files_external_dropbox/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Dropbox.php - line 1208: Kunnu\Dropbox\Dropbox->postToAPI("/users/get_current_account", [])/var/www/nextcloud/apps/files_external_dropbox/lib/Storage/Dropbox.php - line 209: Kunnu\Dropbox\Dropbox->getCurrentAccount()/var/www/nextcloud/apps/files_external/lib/config.php - line 240: OCA\Files_external_dropbox\Storage\Dropbox->test(false, "false")/var/www/nextcloud/apps/files_external/lib/Controller/StoragesController.php - line 256: OC_Mount_Config::getBackendStatus("\OCA\File ... x", { configured ... "}, false, "false")/var/www/nextcloud/apps/files_external/lib/Controller/StoragesController.php - line 305: OCA\Files_External\Controller\StoragesController->updateStorageStatus(OCA\Files_Ex ... {}, "false")/var/www/nextcloud/apps/files_external/lib/Controller/UserStoragesController.php - line 107: OCA\Files_External\Controller\StoragesController->show("10", "false")/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 166: OCA\Files_External\Controller\UserStoragesController->show("10", "false")/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 99: OC\AppFramework\Http\Dispatcher->executeController(OCA\Files_Ex ... {}, "show")/var/www/nextcloud/lib/private/AppFramework/App.php - line 118: OC\AppFramework\Http\Dispatcher->dispatch(OCA\FilesEx ... {}, "show")/var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47: OC\AppFramework\App::main("OCA\Files ... r", "show", OC\AppFramew ... {}, { id: "10",_ ... "})OC\AppFramework\Routing\RouteActionHandler->invoke({ id: "10",_ ... "})/var/www/nextcloud/lib/private/Route/Router.php - line 297: call_userfunc(OC\AppFramew ... {}, { id: "10", ... "})/var/www/nextcloud/lib/base.php - line 987: OC\Route\Router->match("/apps/files ... 0")/var/www/nextcloud/index.php - line 42: OC::handleRequest()

Someone any ideas?