When I try to upload the image tests/imgqsort/testimages/test.jpg from digiKam source code repository, I get the following warning message: "Failed to upload photo to Google Drive. Failed to upload photo Do you want to continue?" And the file is not uploaded, i.e. I don't see it at drive.google.com. Image properties: $ file /home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg /home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg: JPEG image data, Exif standard: [TIFF image data, big-endian, direntries=8, manufacturer=EASTMAN KODAK COMPANY, model=KODAK Z1275 ZOOM DIGITAL CAMERA, orientation=upper-left, xresolution=488, yresolution=496, resolutionunit=2], baseline, precision 8, 4000x3000, frames 3 Reproducible: Always === KDebug log below === $ ./kipicmd -w -a "Export to &Google Drive..." --selectedimages ~/kde-git/digikam/tests/imgqsort/testimages/test.jpg kipiplugins(28237)/KIPI (general) KIPI::PluginLoader::PluginLoader: KDE XML application instance is null... kipiplugins(28237)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-aspotashev/ksycoca4" kipiplugins(28237)/KIPI (general) CallAction: "Looking for action "Export to &Google Drive..."..." kipiplugins(28237)/KIPI (general) LoadPlugins: Will load all libraries, if possible. kipiplugins(28237)/KIPI (loading) KIPIGoogleDrivePlugin::Plugin_GoogleDrive::Plugin_GoogleDrive: Plugin_GoogleDrive Plugin Loaded kipiplugins(28237)/KIPI (loading) KIPI::PluginLoader::Info::plugin: Loaded plugin "Google Drive Export" "Export to &Google Drive..." kipiplugins(28237)/KIPI (general) CallAction: "Found action "Export to &Google Drive..." in library "kipiplugin_googledrive", will now call it." kipiplugins(28237)/KIPI (general) KIPIPlugins::KPImagesListViewItem::KPImagesListViewItem: Creating new ImageListViewItem with url KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") for list view KIPIPlugins::KPImagesListView(0x1dacda0) kipiplugins(28237)/KIPI (general) KIPIPlugins::KPImagesListViewItem::setThumb: Received new thumbnail for url KUrl("") . My view is KIPIPlugins::KPImagesListView(0x1dacda0) kipiplugins(28237)/KIPI (loading) KIPIPlugins::KPAboutData::KPAboutData: 0x1f0c7ca kipiplugins(28237)/KIPI (general) KIPIGoogleDrivePlugin::GDTalker::doOAuth: OAuth URL: KUrl("https://accounts.google.com/o/oauth2/auth?scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&response_type=code&client_id=735222197981-mrcgtaqf05914buqjkts7mk79blsquas.apps.googleusercontent.com&access_type=offline") kipiplugins(28237) KToolInvocation::invokeBrowser: Starting service "/usr/share/applications/google-chrome.desktop" В текущем сеансе браузера создано новое окно. kipiplugins(28237)/KIPI (general) KIPIGoogleDrivePlugin::GDTalker::doOAuth: 1 kipiplugins(28237)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x20189d0) kipiplugins(28237)/kio (Scheduler) KIO::SchedulerPrivate::protoQ: creating ProtoQueue instance for "https" kipiplugins(28237)/kio (Scheduler) KIO::ProtoQueue::ProtoQueue: m_maxConnectionsTotal: 20 m_maxConnectionsPerHost: 5 kipiplugins(28237)/KIPI (general) CallAction: "Plugin is done." kipiplugins(28237)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on "local:/tmp/ksocket-aspotashev/kipipluginsa28237.slave-socket" kipiplugins(28237)/kio (Slave) KIO::Slave::createSlave: createSlave "https" for KUrl("https://accounts.google.com/o/oauth2/token?scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive&response_type=code&token_uri=https%3A%2F%2Faccounts.google.com%2Fo%2Foauth2%2Ftoken") kipiplugins(28237)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on "local:/tmp/ksocket-aspotashev/kipipluginsq28237.slave-socket" kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::instance: instance(): ... initialised kipiplugins(28237)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::readConfig: readConfig(): local zone= "Europe/Moscow" kipiplugins(28237)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::readZoneTab: readZoneTab( "/usr/share/zoneinfo/zone.tab" ) kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("https://accounts.google.com/o/oauth2/token?scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive&response_type=code&token_uri=https%3A%2F%2Faccounts.google.com%2Fo%2Foauth2%2Ftoken") kipiplugins(28237)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0x20189d0) KIO::Slave(0x1db3ab0) kipiplugins(28237)/KIPI (general) KIPIGoogleDrivePlugin::GDTalker::slotResult: In GD_ACCESSTOKEN kipiplugins(28237)/KIPI (general) KIPIGoogleDrivePlugin::GDTalker::parseResponseAccessToken: In parse GD_ACCESSTOKEN "Bearer ya29.fwGKE8kotwERXUWqRa6MWeNTNHrNVXHk5zgUg1dagXpYE_BR3OEEdI4nVW8p_BTrRX_lhHb6BrBPzw" "{ "access_token" : "ya29.fwGKE8kotwERXUWqRa6MWeNTNHrNVXHk5zgUg1dagXpYE_BR3OEEdI4nVW8p_BTrRX_lhHb6BrBPzw", "token_type" : "Bearer", "expires_in" : 3600, "refresh_token" : "1/FjpdBckUjRYi7xLyVA8RuhCnoA_E8irENVidnfLzshU" }" kipiplugins(28237)/KIPI (general) KIPIGoogleDrivePlugin::GDTalker::listFolders: "Authorization: Bearer ya29.fwGKE8kotwERXUWqRa6MWeNTNHrNVXHk5zgUg1dagXpYE_BR3OEEdI4nVW8p_BTrRX_lhHb6BrBPzw" kipiplugins(28237)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x203b430) kipiplugins(28237)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("https://www.googleapis.com/drive/v2/files?q=mimeType%20=%20'application/vnd.google-apps.folder'") kipiplugins(28237)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0x203b430) KIO::Slave(0x1db3ab0) kipiplugins(28237)/KIPI (general) KIPIGoogleDrivePlugin::GDTalker::slotResult: In GD_LISTFOLDERS kipiplugins(28237)/KIPI (general) KIPIGoogleDrivePlugin::GDWindow::slotListAlbumsDone: slotListAlbumsDone1: 43 kipiplugins(28237)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x2209230) kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("https://www.googleapis.com/drive/v2/about?scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive&access_token=ya29.fwGKE8kotwERXUWqRa6MWeNTNHrNVXHk5zgUg1dagXpYE_BR3OEEdI4nVW8p_BTrRX_lhHb6BrBPzw") kipiplugins(28237)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0x2209230) KIO::Slave(0x1db3ab0) kipiplugins(28237)/KIPI (general) KIPIGoogleDrivePlugin::GDTalker::slotResult: In GD_USERNAME kipiplugins(28237)/KIPI (general) KIPIGoogleDrivePlugin::GDTalker::parseResponseUserName: in parseResponseUserName kipiplugins(28237)/KIPI (general) KIPIGoogleDrivePlugin::GDTalker::parseResponseUserName: size 23 kipiplugins(28237)/KIPI (general) KIPIGoogleDrivePlugin::GDTalker::parseResponseUserName: username: "Alexander Potashev" kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/KIPI (general) KIPIPlugins::KPHostSettings::metadataSettings: KPMetaSettings::writeRawFiles: false, KPMetaSettings::updateFileTimeStamp: false, KPMetaSettings::useXMPSidecar4Reading: true, KPMetaSettings::metadataWritingMode: 3 kipiplugins(28237)/KEXIV2 KExiv2Iface::KExiv2::getImageDateTime: DateTime => Exif.Photo.DateTimeOriginal => QDateTime("чт окт 4 16:37:53 2007") kipiplugins(28237)/KIPI (general) KIPIPlugins::KPHostSettings::metadataSettings: KPMetaSettings::writeRawFiles: false, KPMetaSettings::updateFileTimeStamp: false, KPMetaSettings::useXMPSidecar4Reading: true, KPMetaSettings::metadataWritingMode: 3 kipiplugins(28237)/KEXIV2 KExiv2Iface::KExiv2::getImageDateTime: DateTime => Exif.Photo.DateTimeOriginal => QDateTime("чт окт 4 16:37:53 2007") kipiplugins(28237)/KIPI (general) KIPIPlugins::KPHostSettings::metadataSettings: KPMetaSettings::writeRawFiles: false, KPMetaSettings::updateFileTimeStamp: false, KPMetaSettings::useXMPSidecar4Reading: true, KPMetaSettings::metadataWritingMode: 3 kipiplugins(28237)/KEXIV2 KExiv2Iface::KExiv2::getImageDateTime: DateTime => Exif.Photo.DateTimeOriginal => QDateTime("чт окт 4 16:37:53 2007") kipiplugins(28237)/KIPI (general) KIPIGoogleDrivePlugin::GDWindow::slotStartTransfer: in start transfer info "" "Image located at "file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg"" kipiplugins(28237)/KIPI (general) KIPIPlugins::KPHostSettings::metadataSettings: KPMetaSettings::writeRawFiles: false, KPMetaSettings::updateFileTimeStamp: false, KPMetaSettings::useXMPSidecar4Reading: true, KPMetaSettings::metadataWritingMode: 3 kipiplugins(28237)/KEXIV2 KExiv2Iface::KExiv2::getImageDateTime: DateTime => Exif.Photo.DateTimeOriginal => QDateTime("чт окт 4 16:37:53 2007") kipiplugins(28237)/KIPI (general) KIPIPlugins::KPHostSettings::metadataSettings: KPMetaSettings::writeRawFiles: false, KPMetaSettings::updateFileTimeStamp: false, KPMetaSettings::useXMPSidecar4Reading: true, KPMetaSettings::metadataWritingMode: 3 kipiplugins(28237)/KEXIV2 KExiv2Iface::KExiv2::getImageDateTime: DateTime => Exif.Photo.DateTimeOriginal => QDateTime("чт окт 4 16:37:53 2007") kipiplugins(28237)/KIPI (general) KIPIPlugins::KPHostSettings::metadataSettings: KPMetaSettings::writeRawFiles: false, KPMetaSettings::updateFileTimeStamp: false, KPMetaSettings::useXMPSidecar4Reading: true, KPMetaSettings::metadataWritingMode: 3 kipiplugins(28237)/KEXIV2 KExiv2Iface::KExiv2::getImageDateTime: DateTime => Exif.Photo.DateTimeOriginal => QDateTime("чт окт 4 16:37:53 2007") kipiplugins(28237)/KIPI (general) KIPIGoogleDrivePlugin::GDWindow::uploadNextPhoto: in upload nextphoto 1 kipiplugins(28237)/KIPI (general) KIPIGoogleDrivePlugin::MPForm::addPair: in add pair: "test.jpg" "Image located at "file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg"" "/home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg" "0B8K7S7XmFNKpM3A1WUtqbWVNTWc" "image/jpeg" kipiplugins(28237)/KIPI (general) KIPIPlugins::KPHostSettings::metadataSettings: KPMetaSettings::writeRawFiles: false, KPMetaSettings::updateFileTimeStamp: false, KPMetaSettings::useXMPSidecar4Reading: true, KPMetaSettings::metadataWritingMode: 3 kipiplugins(28237)/KEXIV2 KExiv2Iface::KExiv2::save: KExiv2::metadataWritingMode 3 kipiplugins(28237)/KEXIV2 KExiv2Iface::KExiv2::save: Will write Metadata to file "test.jpg" kipiplugins(28237)/KEXIV2 KExiv2Iface::KExiv2::Private::saveOperations: wroteComment: true kipiplugins(28237)/KEXIV2 KExiv2Iface::KExiv2::Private::saveOperations: wroteEXIF: true kipiplugins(28237)/KEXIV2 KExiv2Iface::KExiv2::Private::saveOperations: wroteIPTC: true kipiplugins(28237)/KEXIV2 KExiv2Iface::KExiv2::Private::saveOperations: wroteXMP: true kipiplugins(28237)/KEXIV2 KExiv2Iface::KExiv2::Private::saveOperations: File time stamp restored kipiplugins(28237)/KEXIV2 KExiv2Iface::KExiv2::save: Metadata for file "test.jpg" written to file. kipiplugins(28237)/KIPI (general) KIPIGoogleDrivePlugin::MPForm::addFile: in addfile "/tmp/kde-aspotashev/test.jpg" kipiplugins(28237)/KIPI (general) KIPIGoogleDrivePlugin::MPForm::finish: in finish kipiplugins(28237)/KIPI (general) KIPIGoogleDrivePlugin::MPForm::finish: finish: "--Aql6IqRt9E3wxKedI21P5RdTWS1o7VxHLgLdWkUdzVZuoCW4EXTHz6l Content-Type:application/json; charset=UTF-8 {"title":"test.jpg", "description":"Image located at "file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg"", "mimeType":"image/jpeg", "parents":[{"id":"0B8K7S7XmFNKpM3A1WUtqbWVNTWc"}] } --Aql6IqRt9E3wxKedI21P5RdTWS1o7VxHLgLdWkUdzVZuoCW4EXTHz6l Content-Type: image/jpeg ÿØÿà " kipiplugins(28237)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x226e2f0) kipiplugins(28237)/KIPI (general) KIPIGoogleDrivePlugin::GDTalker::addPhoto: In add photo kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("https://www.googleapis.com/upload/drive/v2/files?uploadType=multipart") kipiplugins(28237)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0x226e2f0) KIO::Slave(0x1db3ab0) kipiplugins(28237)/KIPI (general) KIPIGoogleDrivePlugin::GDTalker::slotResult: In GD_ADDPHOTO kipiplugins(28237)/KIPI (general) KIPIGoogleDrivePlugin::GDTalker::parseResponseAddPhoto: in parse folder 1 kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview kipiplugins(28237)/KIPI (general) KIPIPlugins::KPRawThumbThread::run: KUrl("file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg") :: not a RAW file kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "ThumbCreator" not found kipiplugins(28237)/kdeui (KNotification) KNotificationManager::notificationClosed: 16
Alexander, Not reproducible here. Did you have a problem with you Gdrive account ? Gilles Caulier
It probably does not work with tests/kipicmd. Now I tried the same with KPhotoAlbum and it worked, except for an AVI file.
And exporting to Google Photo also works when the GDrive export plugin is invoked from KPhotoAlbum.
kipicmd has a very light kipi interface implemented. This can introduce side effects. To check all features of a tool, it's always better to use a kipi host. digiKam has of course the most complete kipi interface. Gilles
But it should not fail with a vague error message. It should instead check for necessary host features and show a descriptive error message if the host lacks some capabilities.
It's probably reported in the console when debug space are turned on. kipicmd still very simple kipi host application.
Because I was tired of arguing, I tracked down the problem: the description is not escaped before inserting in the JSON sent to the server, this is how it manifests in kipicmd: {"title":"test.jpg", "description":"Image located at "file:///home/aspotashev/kde-git/digikam/tests/imgqsort/testimages/test.jpg"", "mimeType":"image/jpeg", "parents":[{"id":"0B8K7S7XmFNKpM3A1WUtqbWVNTWc"}] } Will fix it soon.
Git commit e02a738c15e1f46a6c1d3a4c569ff339df212401 by Alexander Potashev. Committed on 03/06/2015 at 22:08. Pushed by aspotashev into branch 'master'. googledrive: Escape photo title and description when inserting in JSON Export to GDriver was failing when using with kipicmd because it sets the description to 'Image located at "file:///path/to/image.jpg"'. Because the double quotes were not escaped, the Google Drive server received a broken JSON and complained about it. M +34 -18 googledrive/mpform.cpp http://commits.kde.org/kipi-plugins/e02a738c15e1f46a6c1d3a4c569ff339df212401
Git commit 64d211424372890eabbe4d0c6b89a4bcdfcafc0d by Alexander Potashev. Committed on 04/06/2015 at 08:08. Pushed by aspotashev into branch 'frameworks'. Merge commit e02a738c15e1f46a6c1d3a4c569ff339df212401 from master to frameworks googledrive: Escape photo title and description when inserting in JSON Export to GDriver was failing when using with kipicmd because it sets the description to 'Image located at "file:///path/to/image.jpg"'. Because the double quotes were not escaped, the Google Drive server received a broken JSON and complained about it. M +34 -18 PORT.KF5/FACTORIZE/googledrive/mpform.cpp http://commits.kde.org/kipi-plugins/64d211424372890eabbe4d0c6b89a4bcdfcafc0d