Opened 14 years ago

Closed 14 years ago

#5332 closed bug (fixed)

JPEG Translator not work

Reported by: damoklas Owned by: nobody
Priority: normal Milestone: R1
Component: Add-Ons/Translators/JPEG Version: R1/Development
Keywords: Cc: Jens.Arm@…
Blocked By: Blocking:
Platform: All

Description

JPEG Translator not work. Haiku rev. 35317 gcc2hybrid. When added jpeg traslator from BeOS, jpeg image readable again.

Attachments (1)

error.png (23.3 KB ) - added by jahaiku 14 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 by jahaiku, 14 years ago

Cc: Jens.Arm@… added

by jahaiku, 14 years ago

Attachment: error.png added

comment:2 by jahaiku, 14 years ago

I added a screenshot of what happens if you try to double click in tracker on a jpg image. The build is gcc4 of revision hrev35331.

comment:3 by humdinger, 14 years ago

I just started racker from Terminal and got this output:

JPEG Library Error: Failed to create temporary file /usr/tmp/JPG1mq2NP5
JPEG Library Error: Failed to create temporary file /usr/tmp/JPG19QlBqW
JPEG Library Error: Failed to create temporary file /usr/tmp/JPG1n99jQw

Maybe that's related and points to the error?

comment:4 by jahaiku, 14 years ago

Yes, this could be the problem:
This is a grep in the jpeg directory:

tux@tux:/mnt/data/OSBUILDs/haiku/src/libs/jpeg$ grep -r -i usr *
jmemname.c: *      The default value is /usr/tmp, which is the conventional place for
jmemname.c:#define TEMP_DIRECTORY  "/usr/tmp/" /* recommended setting for Unix */

But /usr/tmp/ do not exist in haiku. How to fix?

comment:5 by jahaiku, 14 years ago

I have for testing changed the /usr/tmp/ to /tmp/ and then it works.
Can someone commit this change?

comment:6 by damoklas, 14 years ago

But /tmp now in common! or not? rev. 35340 gcc2hybrid still jpeg translator not working.

comment:7 by damoklas, 14 years ago

Haiku rev. 35546, JPEG translator work, close bug.

comment:8 by stippi, 14 years ago

Resolution: fixed
Status: newclosed

Thanks for the feedback!

Note: See TracTickets for help on using tickets.