Reply to topic

Using file property prefixes name with TMP

krichter
Registered Member
Posts
2
Karma
0
I just compiled version skrooge-2.5.0 in order to use the file property. But when i want to read a file, it's name is prefixed with "tmp" and i don't know where it comes from.

I'm running Linux ... 4.2.8-ckt3custom1... x86_64 x86_64 x86_64 GNU/Linux.
I compiled as noted in the README and it succeeded.
A screenshot is provided.

Thank you.

BTW, my system is Xubuntu and fairly up to date. Compiling was done according to the proposal for Ubuntu in the Readme-File.
The message said:
Code: Select all
Die Adresse »file:///tmp/local2/projects/active/config-data/pcinvest/Belege%20PC+Elo/1982-06-26-pc%20tandy%20trs80.pdf« konnte nicht geöffnet werden.

Last edited by krichter on Tue Dec 06, 2016 11:46 am, edited 1 time in total.
krichter
Registered Member
Posts
2
Karma
0
the screenshot did not work ...
User avatar smankowski
Moderator
Posts
1037
Karma
7
OS
Hi,

I think you stored the pdf file into the skrooge document.
In this case, the value of the property should be the name of the file without the path (so "Belege PC+Elo/1982-06-26-pc tandy trs80.pdf" instead of "local2/projects/active/config-data/pcinvest/Belege PC+Elo/1982-06-26-pc tandy trs80.pdf").
Then, skrooge exports the file in the /tmp with the filename and open it.
In you case, due to the path, the export fails and the open too.

You just have to update the property by removing the path in the filename.
I will do a change in skrooge, to support path in value of property.


Skrooge, a personal finances manager powered by KDE
Image - PayPal
User avatar smankowski
Moderator
Posts
1037
Karma
7
OS
Correction done https://commits.kde.org/skrooge/c854492 ... 30f4066c7d
This should work if you build it from git.


Skrooge, a personal finances manager powered by KDE
Image - PayPal

 
Reply to topic

Bookmarks



Who is online

Registered users: alands, Bing [Bot], claydoh, Google [Bot], mmizak, sgage, Sogou [Bot], Yahoo [Bot]