[go: up one dir, main page]

Menu

#975 Can't import DNG files from Nokia Lumia 1020

closed-fixed
None
5
2014-04-09
2014-03-10
msirapian
No

Hi,

As you may know, the Nokia Lumia 1020 supports RAW format (DNG). When connected, the device is seen via MTP. Unfortunately, while importing JPG and DNG files work on Windows, it fails on DNG ones on Linux.

The operation is said to be unsupported (error 6).

gphoto2 --list-files shows both the JPG and the DNGs, for instance:

35 WP_20140308_20_57_35_Raw.jpgrd 1488 KB image/jpeg
36 WP_20140308_20_57_35_Raw__highres.dngrd 42653 KB application/x-unknown

(the Lumia takes both the RAW and a JPG)

The DNG files can be seen in a file manager but when copying, it fails. Has the DNG format to be added to the WP8 driver?

I can provide more details if needed.

Thank you in advance

regards

Massis

Discussion

  • msirapian

    msirapian - 2014-03-25

    Hi

    I have further investigated and here is an additional input if it can help.

    For sure, JPG can be copied or opened directly on device. But .DNG or .NAR (which is a specific Nokia format) won't even copy, because of

    "*** Erreur (-6 : « Opération non prise en charge ») ***"
    

    I've tested two things: the gphoto2 shell and the -P command. First the shell:

    For a DNG:

    gphoto2: {/tmp} /store_00010001/Pictures/Camera Roll> get WP_20140323_11_29_17_Raw__highres.dng
    Téléchargement de « WP_20140323_11_29_17_Raw__highres.dng » depuis le répertoire « /store_00010001/Pictures/Camera Roll »…
    *** Erreur (-6 : « Opération non prise en charge ») ***
    

    When for the associated JPG, everything goes well:

    gphoto2: {/tmp} /store_00010001/Pictures/Camera Roll> get WP_20140323_11_29_17_Raw.jpg 
    Téléchargement de « WP_20140323_11_29_17_Raw.jpg » depuis le répertoire « /store_00010001/Pictures/Camera Roll »…
    Le fichier WP_20140323_11_29_17_Raw.jpg existe. Voulez-vous l'écraser ? [y|n] n
    

    Now the gphoto2 -P test. I have a huge logfile obtained by :
    env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt -P
    which weighs like 30 MB even bzip2-ed.

    Basically, it's the same:

    Downloading 'WP_20140323_11_29_37_Raw.jpg' from folder '/store_00010001/Pictures/Camera Roll'...
    Saving file as WP_20140323_11_29_37_Raw.jpg 
    Downloading 'WP_20140323_11_29_37_Raw__highres.dng' from folder '/store_00010001/Pictures/Camera Roll'...
    Downloading 'WP_20140323_13_29_36_Raw.jpg' from folder '/store_00010001/Pictures/Camera Roll'...
    Saving file as WP_20140323_13_29_36_Raw.jpg
    Downloading 'WP_20140323_13_29_36_Raw__highres.dng' from folder '/store_00010001/Pictures/Camera Roll'...
    Downloading 'WP_20140323_13_30_40_Raw.jpg' from folder '/store_00010001/Pictures/Camera Roll'...
    Saving file as WP_20140323_13_30_40_Raw.jpg 
    Downloading 'WP_20140323_13_30_40_Raw__highres.dng' from folder '/store_00010001/Pictures/Camera Roll'...
    

    As you can see, the saving lines are missing for the DNGs.

    I have uploaded the debug file here if it can help: http://1drv.ms/1gyhuOj

    I'm happy to provide further details in order to solve this issue, that apparently is not an isolated case, refer: http://t.co/gpzp3Jm6kx

    This being said, I know that copy of these DNGs can work actually. Somebody just installed ubuntu and it worked out-of-the box: https://t.co/SpMa5KzSRf

    Besides, his libgphoto2 and libmtp libraries are older than the ones I use (I run Debian unstable up to date).

    It's a real pain to boot a virtual machine just to copy the raw files (no need for jpgs), or to reboot under Windows just for that.

    Thank you in advance and again happy to provide further details or test whatever is needed to be tested.

    Massis

     
  • Hubert Figuiere

    Hubert Figuiere - 2014-03-27

    Glad to see it violate the DCF specs, much like Android....

    Not that I think it is the problem here.

     
  • Marcus Meissner

    Marcus Meissner - 2014-03-27
    • status: open --> pending-fixed
    • assigned_to: Marcus Meissner
     
  • Marcus Meissner

    Marcus Meissner - 2014-03-27

    please test 2.5.4 , i relaxed the file download restrictions on mtp devices

     
  • Ari Haapasaari

    Ari Haapasaari - 2014-04-06

    Just compiled new version (2.5.4 on gphoto2 and libgphoto2) and I'm running a little bit different problem right now:

    # /usr/local/bin/gphoto2 --list-files
    There is no file in folder '/'.                                                
    There is no file in folder '/store_00010001'.
    

    Is there some library missing or what is going on? :)

     
  • Marcus Meissner

    Marcus Meissner - 2014-04-07

    no additional library required.

    the screen is unlocked when plugging in?

    can you capture a debug trace (--debug --debug-logfile=xx.log)

     
  • Ari Haapasaari

    Ari Haapasaari - 2014-04-07

    Yup, the screen is unlocked. Tried also with with --camera="USB PTP Class Camera" and --port option, same results.

    The debug file is without any of those parameters.

     
  • Marcus Meissner

    Marcus Meissner - 2014-04-09

    One of my 2.5.4 fixes for a different camera was too eager and broke this due to slight incorrect protocol interpretation by the nokia.

    can you apply the attached patch, where I try to do that a bit better..?

     
  • Ari Haapasaari

    Ari Haapasaari - 2014-04-09

    Just patched and I have good news. Listing files is working perfectly fine and importing those DNG-files is also working fine.

    Do you want any debug log to confirm this, or is my word enough? :)

    Anyways, thanks for fixing this.

     
    • giabri

      giabri - 2015-03-17

      hello my friend,i am an new user of linux from greece but an photographer and cannot transfer my dng photos,have the same problem with you.how did you fix this?do you maybe have an deb from 2.5.5 gphoto2 for my to install it ?

       
  • Marcus Meissner

    Marcus Meissner - 2014-04-09

    thanks for testing! :) I believe you ;)

     
  • Marcus Meissner

    Marcus Meissner - 2014-04-09
    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.