Page 3 of 3

Posted: Sun 11 Mar 2012, 18:02
by Tman
I have attached a pic of the test-icon I was making in Dpup Exprimo SMP 5.X.13.5

Posted: Sun 11 Mar 2012, 18:19
by 666philb
ahh... there is an icon created but in /tmp/pikona as opposed to /root/pikona :)

Posted: Sun 11 Mar 2012, 18:33
by vovchik
Dear Phil,

Glad you found it, but why didn't it save the icon in /root/pikona???? I am scratching my head, because that is part of what the Save routine does - moves the icon from tmp to /root/pikona. Weird....I will have to investigate that.

With kind regards,
vovchik

Posted: Sun 11 Mar 2012, 18:59
by Tman
666philb wrote:ahh... there is an icon created but in /tmp/pikona as opposed to /root/pikona :)
oh..thanks to you, I found it as well.

vovchik, I've provided before and after screenshots of the /tmp/pikona folder. It appears one old picture remains, and the new pic hasn't been moved (or copied?).

Posted: Sun 11 Mar 2012, 19:37
by vovchik
I see that the new file is greated in /tmp/pikona, which is entirely as expected. The code in my prog (from line 919) saves it like this:

Code: Select all

	IF FILEEXISTS(CONCAT$("/tmp/pikona/", new_file$)) THEN
		IF FILEEXISTS(CONCAT$(home$, "/pikona/", new_file$)) THEN
			DELETE FILE CONCAT$(home$, "/pikona/", new_file$)
		END IF
		RENAME CONCAT$("/tmp/pikona/", new_file$) TO CONCAT$(home$, "/pikona/", \
			new_file$)
		Write_Log
which means:

if there is a file with that new name in /tmp/pikona, move it to /root/pikona (and if a file in /root/pikona already exists with that name, first delete it). Since you are getting the "Save" notification, the routine is kicking in, just not moving the file. I am wondering whether this is not another UDT/non-UTF problem. Are you - Phil and Tman - using a UTF locale? Or just LANG_en? I have seen weird things occur as a result of UTF/non-UTF settings. Pikona itself explicitly sets a UTF environment so as to support various languages:

Code: Select all

SETENVIRON "OUTPUT_CHARSET", "UTF-8"
I wonder whether that isn't at the root of this odd problem.

With kind regards,
vovchik

Posted: Sun 11 Mar 2012, 19:45
by 666philb
hi vovchik

i have utf-8 encoding enabled with en-language

Posted: Sun 11 Mar 2012, 20:13
by vovchik
Exactly what I have.... so I am still puzzled.

Posted: Tue 09 Oct 2012, 00:11
by oldyeller
I don't need anything but what is on the first post correct?

lupu-525

Posted: Tue 09 Oct 2012, 09:32
by vovchik
Dear oldyeller,

I don't quite get the question. The stuff in the first post is the latest version. You actually need pikona4-base.pet. Everything else is optional, but useful if you want to design icons. I wrote Pikona, and it works in lucid as expected - for me, at any rate. The source is included, so if it does not work in your system, you can try compiling it and replacing the executable with your new one.

With kind regards,
vovchik

Posted: Tue 09 Oct 2012, 14:46
by oldyeller
I just wanted to know if I needed anything else for it to work thats all.


Cheers