Pikona - Puppy Icon Assembler NEW and TINY! - v.0.4e
I have attached a pic of the test-icon I was making in Dpup Exprimo SMP 5.X.13.5
- Attachments
-
- icon-test.jpg
- (44.55 KiB) Downloaded 835 times
ahh... there is an icon created but in /tmp/pikona as opposed to /root/pikona
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
oh..thanks to you, I found it as well.666philb wrote:ahh... there is an icon created but in /tmp/pikona as opposed to /root/pikona
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?).
- Attachments
-
- pikona-before.jpg
- (19.46 KiB) Downloaded 774 times
-
- pikona-after.png
- (25.52 KiB) Downloaded 819 times
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:
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:
I wonder whether that isn't at the root of this odd problem.
With kind regards,
vovchik
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
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"
With kind regards,
vovchik
hi vovchik
i have utf-8 encoding enabled with en-language
i have utf-8 encoding enabled with en-language
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
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
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