Bug#351931: Bug#354173: digikam displays all black when trying to view image

2006-02-23 Thread Achim Bohnet
On Friday 24 February 2006 01:15, you wrote:
[...]
> digikam: WARNING: Running dcraw command : dcraw -c -2 -w -a -q 0
> '/home/shared/pictures/new/2006, February, 23/IMG_0841.JPG'
> sh: dcraw: command not found
> digikam: WARNING: Not a raw digital camera image.

Uhm, that's bad!  dcraw is only necessary for RAW images, not jpegs.
We had a similar problem with PPC.  There was an endian problem
(this was fixed in -3).

http://bugs.kde.org/show_bug.cgi?id=121646
http://bugs.debian.org/351931

But now you have a similar problem with AMD64 :(   Can you append
tany picture (small ones prefered ;) that are shown black 
to the bug report or post an URL where we can download it?

When you visit the album with konqueror, is the image identified
as jpeg by konqueror?  Just to be sure: kuickview, gwenview or
other image displayer can display the jpeg, right?

> Looks like we're missing an app. Thanks!

Yeah, digikam only recommends dcraw ... uhm wait ... no it
does not :(  This is now fixed in svn.

Gilles: see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=351931
for the complete thread.  The jpeg/dcraw patch used in digikam is
your first version, using kfilemetainfo.

  
http://svn.debian.org/wsvn/pkg-kde/kde-extras/digikam/trunk/debian/patches/10_kdesvn_r507545_fix_jpeg_on_ppc.diff?op=file&rev=0&sc=0

But when konqueror identifies it as jpeg then kfilemetainfo should
be okay, right? Can the be another 64bit problem somewhere?

Achim

> 

-- 
  To me vi is Zen.  To use vi is to practice zen. Every command is
  a koan. Profound to the user, unintelligible to the uninitiated.
  You discover truth everytime you use it.
  -- [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#351931: Bug#354173: digikam displays all black when trying to view image

2006-02-23 Thread Rodney Gordon II
On Fri, Feb 24, 2006 at 02:19:44AM +0100, Achim Bohnet wrote:
> On Friday 24 February 2006 01:15, you wrote:
> [...]
> > digikam: WARNING: Running dcraw command : dcraw -c -2 -w -a -q 0
> > '/home/shared/pictures/new/2006, February, 23/IMG_0841.JPG'
> > sh: dcraw: command not found
> > digikam: WARNING: Not a raw digital camera image.
> 
> Uhm, that's bad!  dcraw is only necessary for RAW images, not jpegs.
> We had a similar problem with PPC.  There was an endian problem
> (this was fixed in -3).
> 
>   http://bugs.kde.org/show_bug.cgi?id=121646
>   http://bugs.debian.org/351931
> 
> But now you have a similar problem with AMD64 :(   Can you append
> tany picture (small ones prefered ;) that are shown black 
> to the bug report or post an URL where we can download it?

It is, indeed, a jpeg as I checked/viewed it with gqview fine.
Here it is, a pic of my cat ;) (2.4MB, not shrunk because I wanted to
give you the exact data that can reproduce this.
http://spherevision.org/visual/testfordigikam.jpg

> When you visit the album with konqueror, is the image identified
> as jpeg by konqueror?  Just to be sure: kuickview, gwenview or
> other image displayer can display the jpeg, right?

Have verified, it's a jpeg, straight from my Canon, xferd from
digikam.

> > Looks like we're missing an app. Thanks!
> 
> Yeah, digikam only recommends dcraw ... uhm wait ... no it
> does not :(  This is now fixed in svn.
> 
> Gilles: see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=351931
> for the complete thread.  The jpeg/dcraw patch used in digikam is
> your first version, using kfilemetainfo.
> 
>   
> http://svn.debian.org/wsvn/pkg-kde/kde-extras/digikam/trunk/debian/patches/10_kdesvn_r507545_fix_jpeg_on_ppc.diff?op=file&rev=0&sc=0
> 
> But when konqueror identifies it as jpeg then kfilemetainfo should
> be okay, right? Can the be another 64bit problem somewhere?
> 
> Achim

Odd thing is that in the last version, it worked fine..

Thanks,
-r


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#351931: Bug#354173: digikam displays all black when trying to view image

2006-02-24 Thread Tom Albers
Op vrijdag 24 februari 2006 02:19, schreef Achim Bohnet:
> > Looks like we're missing an app. Thanks!
>
> Yeah, digikam only recommends dcraw

Hmm, seeing a big black frame when trying to see a raw image without dcraw is 
bad imho. If this is a recommend, I suggest we try to detect precense of 
dcraw at runtime and show a messagebox. Gilles, can you add that check?

Toma



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#351931: Bug#354173: digikam displays all black when trying to view image

2006-02-24 Thread Gilles Caulier
Le Vendredi 24 Février 2006 10:04, Tom Albers a écrit :
> Op vrijdag 24 februari 2006 02:19, schreef Achim Bohnet:
> > > Looks like we're missing an app. Thanks!
> >
> > Yeah, digikam only recommends dcraw
>
> Hmm, seeing a big black frame when trying to see a raw image without dcraw
> is bad imho. If this is a recommend, I suggest we try to detect precense of
> dcraw at runtime and show a messagebox. Gilles, can you add that check?
>
> Toma

sure. We have two ways for that :

- using .configure before to compile (more simple and don't increase startup 
time)
- A hardcoded test in digikam (increase a little startup time)

Gilles



Bug#351931: Bug#354173: digikam displays all black when trying to view image

2006-02-24 Thread Tom Albers
Op vrijdag 24 februari 2006 10:09, schreef Gilles Caulier:
> Le Vendredi 24 Février 2006 10:04, Tom Albers a écrit :
> > Op vrijdag 24 februari 2006 02:19, schreef Achim Bohnet:
> > > > Looks like we're missing an app. Thanks!
> > >
> > > Yeah, digikam only recommends dcraw
> >
> > Hmm, seeing a big black frame when trying to see a raw image without
> > dcraw is bad imho. If this is a recommend, I suggest we try to detect
> > precense of dcraw at runtime and show a messagebox. Gilles, can you add
> > that check?
> >
> > Toma
>
> sure. We have two ways for that :
>
> - using .configure before to compile (more simple and don't increase
> startup time)
> - A hardcoded test in digikam (increase a little startup time)

Or when executing the dcraw command catch the output? Just like the sendimages 
kipi plugin does?

Toma



Bug#351931: Bug#354173: digikam displays all black when trying to view image

2006-02-25 Thread Gilles Caulier
Le Vendredi 24 Février 2006 11:16, Tom Albers a écrit :
> Op vrijdag 24 februari 2006 10:09, schreef Gilles Caulier:
> > Le Vendredi 24 Février 2006 10:04, Tom Albers a écrit :
> > > Op vrijdag 24 februari 2006 02:19, schreef Achim Bohnet:
> > > > > Looks like we're missing an app. Thanks!
> > > >
> > > > Yeah, digikam only recommends dcraw
> > >
> > > Hmm, seeing a big black frame when trying to see a raw image without
> > > dcraw is bad imho. If this is a recommend, I suggest we try to detect
> > > precense of dcraw at runtime and show a messagebox. Gilles, can you add
> > > that check?
> > >
> > > Toma
> >
> > sure. We have two ways for that :
> >
> > - using .configure before to compile (more simple and don't increase
> > startup time)
> > - A hardcoded test in digikam (increase a little startup time)
>
> Or when executing the dcraw command catch the output? Just like the
> sendimages kipi plugin does?

or more simple : if dcraw failed to start, return false, and displaying an 
error dialog.

Gilles

>
> Toma