Beep6581 / RawTherapee

A powerful cross-platform raw photo processing program
https://rawtherapee.com
GNU General Public License v3.0
2.9k stars 323 forks source link

Segfault Failed to open file recently-used.xbel Permission denied #2757

Open Beep6581 opened 9 years ago

Beep6581 commented 9 years ago

Originally reported on Google Code with ID 2777

Verion 4.2.0

OS:  PC-BSD Joule  Laptop dual core with 3gb ram

When I click increase thumbnail size or other buttons it closes and get the below message.
 The issue number changes each time even if I click the same button again.

(rawtherapee:2860): Gtk-WARNING **: Attempting to read the recently used resources
file at `/usr/home/robert/.local/share/recently-used.xbel', but the parser failed:
Failed to open file '/usr/home/robert/.local/share/recently-used.xbel': Permission
denied.

Help is greatly appreciated.

Regards.

Robert

Reported by robspit on 2015-05-13 18:40:00

Beep6581 commented 9 years ago
What if you delete /usr/home/robert/.local/share/recently-used.xbel ?
http://rawpedia.rawtherapee.com/How_to_write_useful_bug_reports

Reported by entertheyoni on 2015-05-13 21:25:00

Beep6581 commented 9 years ago
I will give it a try.  But I think that if I delete it, probably rawtherapee will look
for it and will not find it. Or it creates a new one ?

May be I have to change the permissions of that file somehow ?

Reported by robspit on 2015-05-14 08:08:40

Beep6581 commented 9 years ago
Actually the whole path looks wrong, /usr/home/robert/.local/share/recently-used.xbel
, it should be without the /usr part, so just /home/robert/.local/share/recently-used.xbel
/usr/home/robert/.local/share/recently-used.xbel probably doesn't exist so there is
nothing to delete. 1- Please verify and report.

2- Do you have any idea why the /usr part is there?
3- Where did you get your build of RawTherapee from? Did you compile it yourself?
4- What is the output of "whereis rawtherapee"?
5- Where did you run RawTherapee from? From the desktop menu, or from a console? If
from a console, where were you at the time? "pwd" will tell you.
6- What if you first cd to home ( cd ~ ) and then run RawTherapee (from the console
of course), does it work?

Reported by entertheyoni on 2015-05-14 12:13:34

Beep6581 commented 9 years ago
1 - Will try and let you know
2 - No, I have no idea
3 - I used the port from freshports.org
4 - Can you please explain further ?
5 - I am using Lumina desktop and it is in the desktop menu
6 - I will try tonight and let you know

Reported by robspit on 2015-05-14 12:22:55

Beep6581 commented 9 years ago
4- Open a console and write "whereis rawtherapee" (without the quotes).
So far this looks like an issue created by freshports.org and not a problem in RawTherapee
itself, so it's very likely you will need to report it to them.

Reported by entertheyoni on 2015-05-14 12:29:25

Beep6581 commented 9 years ago
below is the path where rawtherapee is

rawtherapee: /usr/local/bin/rawtherapee /usr/local/man/man1/rawtherapee.1.gz /usr/ports/graphics/rawtherapee

if I type rawtherapee in console it does work but with the same issue

Reported by robspit on 2015-05-14 20:08:10

Beep6581 commented 9 years ago
Maybe removing the #ifdef __APPLE__ from rtgui/options.cc line 1373 would prevent this?

Reported by entertheyoni on 2015-05-14 20:58:19