[Oqapy 3.0.0] Unable to open directory with RAW files

Bug #1716852 reported by Dariusz Duma
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Oqapy
Fix Committed
Undecided
Unassigned

Bug Description

Hi,

Please find below error which I got while trying to open source directory with RAW files (and unchecked option 'Ignore RAW Files'):

09:37:07 WARNING: core - Bad argument, error: argument should be string, bytes or integer, not list
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/share/oqapy/demosaicing/rawviewer.py", line 87, in process
    self.thumbs_fld)
  File "/usr/share/oqapy/demosaicing/rawviewer.py", line 593, in __init__
    self.get_preview_filename()
  File "/usr/share/oqapy/demosaicing/rawviewer.py", line 792, in get_preview_filename
    self.preview = os.path.join(self.previews_fld.path, prev)
AttributeError: 'NoneType' object has no attribute 'path'

I've tried source directory with one .nef file, some .orf files - result was the same.

Revision history for this message
Dariusz Duma (dhor) wrote :

Dcraw in system is 9.21.

Revision history for this message
VinsS (vincent-vandevyvre) wrote :

I'm not able to reproduce this bug.

Anyway, try with the latest (today) version 3.0.2 which had some changes in the folder handling.

Say me if it's OK .

Thanks

Revision history for this message
Dariusz Duma (dhor) wrote :

Hi,

More details on this.

I'm getting this error message when there are only RAW files in source directory, however I'm able to open directory contains 'mixed' images (jpg, raw).

When there are jpegs and raws in directory Oqapy displays jpegs properly and I can switch to RAWs. Unfortunately I can't switch back to jpegs.

best regards,

Revision history for this message
VinsS (vincent-vandevyvre) wrote :

Fixed in revision #1283.

Thanks.

Changed in oqapy:
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.