Author |
Message |
Tman

Joined: 22 Jan 2011 Posts: 815 Location: Toronto
|
Posted: Sun 11 Mar 2012, 14:02 Post subject:
|
|
I have attached a pic of the test-icon I was making in Dpup Exprimo SMP 5.X.13.5
Description |
|
Filesize |
44.55 KB |
Viewed |
803 Time(s) |

|
|
Back to top
|
|
 |
666philb

Joined: 07 Feb 2010 Posts: 3171 Location: wales
|
Posted: Sun 11 Mar 2012, 14:19 Post subject:
|
|
ahh... there is an icon created but in /tmp/pikona as opposed to /root/pikona
_________________ Tahrpup, built with trusty tahr packages http://murga-linux.com/puppy/viewtopic.php?t=96178
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1447 Location: Ukraine
|
Posted: Sun 11 Mar 2012, 14:33 Post subject:
|
|
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
|
Back to top
|
|
 |
Tman

Joined: 22 Jan 2011 Posts: 815 Location: Toronto
|
Posted: Sun 11 Mar 2012, 14:59 Post subject:
|
|
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?).
Description |
|
Filesize |
19.46 KB |
Viewed |
743 Time(s) |

|
Description |
|
Filesize |
25.52 KB |
Viewed |
785 Time(s) |

|
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1447 Location: Ukraine
|
Posted: Sun 11 Mar 2012, 15:37 Post subject:
|
|
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: | 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: | SETENVIRON "OUTPUT_CHARSET", "UTF-8" |
I wonder whether that isn't at the root of this odd problem.
With kind regards,
vovchik
|
Back to top
|
|
 |
666philb

Joined: 07 Feb 2010 Posts: 3171 Location: wales
|
Posted: Sun 11 Mar 2012, 15:45 Post subject:
|
|
hi vovchik
i have utf-8 encoding enabled with en-language
_________________ Tahrpup, built with trusty tahr packages http://murga-linux.com/puppy/viewtopic.php?t=96178
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1447 Location: Ukraine
|
Posted: Sun 11 Mar 2012, 16:13 Post subject:
|
|
Exactly what I have.... so I am still puzzled.
|
Back to top
|
|
 |
oldyeller

Joined: 15 Nov 2011 Posts: 888 Location: Alaska
|
Posted: Mon 08 Oct 2012, 20:11 Post subject:
|
|
I don't need anything but what is on the first post correct?
lupu-525
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1447 Location: Ukraine
|
Posted: Tue 09 Oct 2012, 05:32 Post subject:
|
|
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
|
Back to top
|
|
 |
oldyeller

Joined: 15 Nov 2011 Posts: 888 Location: Alaska
|
Posted: Tue 09 Oct 2012, 10:46 Post subject:
|
|
I just wanted to know if I needed anything else for it to work thats all.
Cheers
|
Back to top
|
|
 |
|