Opened 9 years ago

Closed 9 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:
Has a Patch: no 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 9 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 9 years ago by jahaiku

Cc: Jens.Arm@… added

Changed 9 years ago by jahaiku

Attachment: error.png added

comment:2 Changed 9 years ago by jahaiku

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 Changed 9 years ago by humdinger

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 Changed 9 years ago by jahaiku

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 Changed 9 years ago by jahaiku

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

comment:6 Changed 9 years ago by damoklas

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

comment:7 Changed 9 years ago by damoklas

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

comment:8 Changed 9 years ago by stippi

Resolution: fixed
Status: newclosed

Thanks for the feedback!

Note: See TracTickets for help on using tickets.