← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 1287594] Re: Import fail with error message about photo library not being writeable

 

Hmm maybe solved?.. I had the same problem, so I started shotwell via
console and I got some output there:

<snip>
L 20406 2014-09-27 11:55:05 [WRN] Debug.vala:95: Unable to open or create log file /home/dn/.cache/shotwell/shotwell.log
L 20406 2014-09-27 11:55:05 [MSG] main.vala:385: Shotwell Photo Manager 0.18.0
L 20406 2014-09-27 11:55:05 [MSG] main.vala:43: Verifying database ...
L 20406 2014-09-27 11:55:18 [MSG] LibraryFiles.vala:86: There was a problem copying /mnt/data/data/images/Pictures/Pictures/1948/03/07/2014-03-08 20.04.56.mp4: Error setting owner: Operation not permitted

(shotwell-video-thumbnailer:20436): GStreamer-CRITICAL **:
gst_structure_new_empty: assertion 'gst_structure_validate_name (name)'
failed

(shotwell:20406): GStreamer-CRITICAL **: gst_structure_new_empty: assertion 'gst_structure_validate_name (name)' failed
L 20406 2014-09-27 11:55:18 [WRN] BatchImport.vala:1118: Failed to import [1] /home/dn/Pictures/2014/03/08/2014-03-08 20.04.56_1.mp4: unable to write thumbnails (File write error)
</snip>

After fiddling around (also deleting ~/.local/share/shotwell/data) and
`chown -R [user]:[group] ~/.local` it was still the same..

But then I observed that my user didn't have the permission to write in
~/.cache/shotwell (see output), very strange. So i deleted
~/.cache/shotwell, restarted Shotwell, did an import again and then it
worked successfully.

So
- Make sure your user *can* write import destination (~/Pictures by default), chown that
- Make sure your user *can* write ~/.local/share/shotwell/data AND ~/.cache/shotwell, chown'ing or possibly delete so it gets re-created..

Also LTS 14.04 on AMD64 with Shotwell 0.18.0..

Does that help others maybe?

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to shotwell in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/1287594

Title:
  Import fail with error message about photo library not being writeable

Status in “shotwell” package in Ubuntu:
  Confirmed

Bug description:
  After importing from folder and using the option to copy the photos I
  get the following dialog:

      17 photos failed to import because the photo library folder was
  not writable

  Following a list of 17 paths pointing to where the images should have
  been stored.

  When closing the dialog noting is showing up, as if they failed to
  import, which is what the dialog said.

  However the photos were actually copied to the location the error dialog claimed not to be writable.
  Only the database was not updated.

  The console show no error messages.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: shotwell 0.17.1-0ubuntu2
  ProcVersionSignature: Ubuntu 3.13.0-8.28-generic 3.13.2
  Uname: Linux 3.13.0-8-generic x86_64
  NonfreeKernelModules: btrfs raid6_pq xor ufs msdos xfs libcrc32c bnep rfcomm bluetooth binfmt_misc joydev snd_usb_audio snd_usbmidi_lib intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm ppdev snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep microcode snd_pcm snd_page_alloc snd_seq_midi snd_seq_midi_event psmouse snd_rawmidi serio_raw snd_seq lpc_ich snd_seq_device mei_me snd_timer mei snd soundcore parport_pc intel_smartconnect mac_hid lp parport dm_crypt hid_generic usbhid hid i915 radeon crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd ttm i2c_algo_bit r8169 8139too 8139cp drm_kms_helper mii drm floppy video
  ApportVersion: 2.13.2-0ubuntu5
  Architecture: amd64
  Date: Tue Mar  4 08:56:17 2014
  InstallationDate: Installed on 2014-02-13 (18 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140211)
  SourcePackage: shotwell
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shotwell/+bug/1287594/+subscriptions