Bug 399064 - Retry camera connection, get Attempt to insert null action
Summary: Retry camera connection, get Attempt to insert null action
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (other bugs)
Version First Reported In: 5.9.0
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-25 16:51 UTC by James Olson
Modified: 2023-10-12 05:36 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Olson 2018-09-25 16:51:33 UTC
SUMMARY
iPhone 8Plus detected, but being told Failed to connect to the camera. Clicking the Retry button on the camera window spits out
QWidget::insertAction: Attempt to insert null action
to the tty used to start digitkam. Full text sent to that window is pasted below.

STEPS TO REPRODUCE
1. Connect iPhone via USB. Becomes visible to lsusb
2. Start DigiKam from an xterm. It auto-recognizes the phone is there.
3. Go to Import menu, click. Menu has an item for the iPhone. Click that.
4. Camera window appears. Get error message that 'camera' failed to connect. Huh? Some comms occurred for it to appear in the menu in the first place.
5. Click the Retry button in the window. Nothing happens. Frustrating.
6. Grabbed stdout/stderr output sent to the window.

OBSERVED RESULT
App says Failed to connect to Camera, in a red banner that runs across bottom of camera window. This is in spite of the app actually detecting the phone (which requires a working connection) and putting the phone in its import menu.

EXPECTED RESULT
No error. App should load images sitting on Camera.
Retry button should do something and not generate a QT error.

SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5
KDE Frameworks Version: 
Qt Version: qt-4.8.7-32.fc27.x86_64


ADDITIONAL INFORMATION
Using a Fedora 27 workstation install on a Dell D630 laptop with 6GB RAM. Only major app running. SWAP not being used. Versions of KDE and components will be current as of today.

Please move this bug to the proper queue/component.
Comment 1 James Olson 2018-09-25 16:55:20 UTC
Forgot to paste the I/O for this DigiKam run (xterm):

vista:~> digikam
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
digikam.metaengine: Cannot load metadata from file   (Error # 11 :  /users/jolson/Pictures/Main Album/MVI_0215.MOV: The file contains data of an unknown image type
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  /users/jolson/Pictures/Main Album/MVI_0215.MOV: The file contains data of an unknown image type
digikam.dimg.qimage: Can not load " "/users/jolson/Pictures/Main Album/MVI_0215.MOV" " using DImg::QImageLoader!
digikam.general: Cannot create thumbnail for  "/users/jolson/Pictures/Main Album/MVI_0215.MOV"
digikam.general: Thumbnail is null for  "/users/jolson/Pictures/Main Album/MVI_0215.MOV"
digikam.metaengine: Cannot load metadata from file   (Error # 11 :  /users/jolson/Pictures/Main Album/MVI_0273.MOV: The file contains data of an unknown image type
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  /users/jolson/Pictures/Main Album/MVI_0273.MOV: The file contains data of an unknown image type
digikam.dimg.qimage: Can not load " "/users/jolson/Pictures/Main Album/MVI_0273.MOV" " using DImg::QImageLoader!
digikam.general: Cannot create thumbnail for  "/users/jolson/Pictures/Main Album/MVI_0273.MOV"
digikam.general: Thumbnail is null for  "/users/jolson/Pictures/Main Album/MVI_0273.MOV"
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QLayout: Attempting to add QLayout "" to Digikam::DNGConvertSettings "", which already has a layout
QFSFileEngine::open: No file name specified
QWidget::insertAction: Attempt to insert null action
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QWidget::insertAction: Attempt to insert null action
QWidget::insertAction: Attempt to insert null action
QWidget::insertAction: Attempt to insert null action
vista:~>
Comment 2 Maik Qualmann 2018-09-25 17:12:36 UTC
Have you unlocked after connecting USB your iPhone and allowed the access? Then start the import under digiKam.

Maik
Comment 3 caulier.gilles 2020-07-31 12:39:28 UTC
https://bugs.kde.org/show_bug.cgi?id=417121

--- Comment #3 from caulier.gilles@gmail.com ---
digiKam 7.0.0 stable release is now published:

https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/

We need a fresh feedback on this file using this version.

Best Regards

Gilles Caulier
Comment 4 caulier.gilles 2022-01-10 06:12:51 UTC
Hi James and happy new year,

Did you see the comment #2 from Maik ?

Gilles Caulier
Comment 5 caulier.gilles 2023-04-29 07:37:20 UTC
@James,

digiKam 8.0.0 is out. This entry still valid with this release ?

Best regards

Gilles Caulier
Comment 6 caulier.gilles 2023-10-12 05:36:15 UTC
James,

What's about this file using current 8.2.0 AppImage Linux bundle ? It's
reproducible ?

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

Note: bundle is now based on Qt 5.15.11 and KDE framework 5.110.

Thanks in advance

Gilles Caulier