Shotwell can't import videos with filenames longer than 63 chars

Bug #1988490 reported by Steve Chadsey
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
shotwell (Ubuntu)
Fix Committed
Low
Unassigned

Bug Description

After importing photos and videos into shotwell, I noticed that several of the media files did not get imported. The missing files had filenames longer than 63 characters. In the shotwell log these errors were reported:

L 218103 2022-09-01 20:17:12 [WRN] ImportPage.vala:1424: Skipping import of /DCIM/awesome video of loki running across yard and exploring and don't eat that.avi: name too long

The main problem here is that this seems to be an arbitrary limitation of the program. Filenames can be up to 255 characters; shotwell should be able to import files regardless of the filename length.

The other problem is that itt is not clear to the end user that these files do not get imported. There is no UI message. The user has to review the log.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: shotwell 0.30.10-0ubuntu0.1
ProcVersionSignature: Ubuntu 5.4.0-124.140-generic 5.4.195
Uname: Linux 5.4.0-124-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.24
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: XFCE
Date: Thu Sep 1 20:01:12 2022
InstallationDate: Installed on 2016-01-05 (2431 days ago)
InstallationMedia: Xubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
SourcePackage: shotwell
UpgradeStatus: Upgraded to focal on 2021-02-04 (574 days ago)

Revision history for this message
Steve Chadsey (schadsey) wrote :
summary: - Shotwell can't import videos with filenames >= 64 chars in length
+ Shotwell can't import videos with filenames > 63 chars in length
summary: - Shotwell can't import videos with filenames > 63 chars in length
+ Shotwell can't import videos with filenames longer than 63 chars
Revision history for this message
Jens Georg (yg-jensge) wrote :

This was a bug in gphoto2 which apparently never was followed up to https://sourceforge.net/p/gphoto/bugs/834/

Revision history for this message
Jens Georg (yg-jensge) wrote :

Please make an upstream ticket once GNOME gitlab is working again

Changed in shotwell (Ubuntu):
importance: Undecided → Low
Revision history for this message
Jens Georg (yg-jensge) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks Jens!

Changed in shotwell (Ubuntu):
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.