Bug 413199 - Error when exporting a video to OneDrive
Summary: Error when exporting a video to OneDrive
Status: RESOLVED DUPLICATE of bug 413196
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-OneDrive (show other bugs)
Version: 6.3.0
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-19 15:43 UTC by Nicofo
Modified: 2019-10-19 17:14 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicofo 2019-10-19 15:43:00 UTC
SUMMARY
Exporting videos (mp4 in my case) to Onedrive produces the following error message:

   Failed to upload photo to OneDrive.

   Do you want to continue?

STEPS TO REPRODUCE
1. Select pictures+videos to export

OBSERVED RESULT
1. For each video, the error message occurs (=popup ; as a result, the export of following files is interrupted until the popup is closed)

EXPECTED RESULT
Video should be exported.
If not possible to export videos, at least the error message should not displayed each time !

SOFTWARE/OS VERSIONS
Digikam 6.3 Appimage
Comment 1 Maik Qualmann 2019-10-19 16:57:15 UTC
Git commit ec7e91b41b547c03666d30c4ad7359db981af196 by Maik Qualmann.
Committed on 19/10/2019 at 16:56.
Pushed by mqualmann into branch 'master'.

add video support up to 4MB

M  +1    -1    core/dplugins/generic/webservices/dropbox/dbtalker.cpp
M  +1    -1    core/dplugins/generic/webservices/google/gdrive/gdtalker.cpp
M  +1    -1    core/dplugins/generic/webservices/google/gphoto/gptalker.cpp
M  +27   -19   core/dplugins/generic/webservices/onedrive/odtalker.cpp

https://invent.kde.org/kde/digikam/commit/ec7e91b41b547c03666d30c4ad7359db981af196
Comment 2 Maik Qualmann 2019-10-19 17:12:07 UTC
The OneDrive plugin uses the "Simple item upload" API. File size is 4MB maximum for videos and images. Support for the "Resumable item upload" API requires more work.

Maik
Comment 3 Maik Qualmann 2019-10-19 17:14:22 UTC

*** This bug has been marked as a duplicate of bug 413196 ***