Bug 439913 - iNaturalist Export "Unknown Error" when click in Identification field
Summary: iNaturalist Export "Unknown Error" when click in Identification field
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-iNaturalist (show other bugs)
Version: 7.3.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-15 21:34 UTC by Gary Hundt
Modified: 2021-07-19 20:53 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gary Hundt 2021-07-15 21:34:22 UTC
SUMMARY
iNaturalist Export "Unknown Error" when click in Identification field

STEPS TO REPRODUCE
1. ensure you've registered your iNaturalist account info into digiKam first 
2. select one or a few jpg files (with valid date and GPS info and under 2000px per side dimension)
3. open "Export to iNaturalist" dialog
4. click in "Enter Identification" field 
5. click "OK" to the "Unknown Error" message
6. at the cursor in the "enter ID" field, type in a taxon and select one of the iNat suggestions returned
7. click the "start uploading" button, wait
8. click "OK" to the (2nd) "Unknown Error" message

OBSERVED RESULT
at 4. an "Error - digiKam" pops up with "Unknown Error" message.
at 7. another "Error - digiKam" pops up with "Unknown Error" message. (If the "resize image" check box is checked, there is a short delay before the error pops up.)
The green progress bar shows 50% (if selected one photo, or 25% if selected 3 photos) but that progress never changes.
If you now go to your iNat account directly, a new observation has been created but no image attached. Each time you repeat these steps, a new observation record created with the chosen taxa ID shown but without image(s).
Also, whether or not the "write Photo-ID" to Source Image" is checked, I see no added ID info in the source image metadata.

EXPECTED RESULT
no error msgs, create iNat Observation record with attached image(s), see chosen taxa ID added to caption or description or keyword fields in source jpg file. 


SOFTWARE/OS VERSIONS
Windows: 10 Pro 21H1
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2021-07-19 10:33:17 UTC
Git commit b4ad2a2b63817c975286afba2e370bc8e797976b by Maik Qualmann.
Committed on 19/07/2021 at 10:32.
Pushed by mqualmann into branch 'master'.

fix convert QUrl to path string under Windows

M  +4    -4    core/dplugins/generic/webservices/inaturalist/inattalker.cpp

https://invent.kde.org/graphics/digikam/commit/b4ad2a2b63817c975286afba2e370bc8e797976b
Comment 2 Maik Qualmann 2021-07-19 20:53:42 UTC
You can use the pre-release of digiKam-7.4.0 to test the iNaturalist plugin.

https://files.kde.org/digikam/

Maik