Pikona - Puppy Icon Assembler NEW and TINY! - v.0.4e

Window managers, icon programs, widgets, etc.
Message
Author
User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#41 Post by 666philb »

hi vovchik,

i'm using lucid 528, and when i execute obect and save, i get a message saying the icon's saved in /root/pikona/ but there's no icon there?

any ideas?

cheers
666philb
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

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#42 Post by vovchik »

Dear 666philb,

I don't know why that should happen. Pikona creates the ~/pikona dir (/root/pikona in most puppies) if it doesn't exist and should dump its png output into that directory. Since it uses gtk/gdk and nothing else for image resizing and compositing, it is not a dependency problem, I think. Just for curiosoty, click on the Help buttion and see what the log file says. I am thoroughly as puzzled as you are and have not experienced that "feature" of Pikona.:)

With kind regards,
vovchik

User avatar
Tman
Posts: 808
Joined: Sat 22 Jan 2011, 21:39
Location: Toronto

#43 Post by Tman »

666philb wrote:hi vovchik,

i'm using lucid 528, and when i execute obect and save, i get a message saying the icon's saved in /root/pikona/ but there's no icon there?

any ideas?

cheers
666philb
vovchik,
Thanks for your efforts..this will be a fun tool to play around with once I get it working. However, I must report that I just tried your new version and am getting the same error the 666philb got. I used it in Dpup Exprimo. A log file appears in /root/pikona..but no icon. :(

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#44 Post by 666philb »

yes, there's a pikona directory in root, but all it contains is a log folder and log

Code: Select all

Created:  on 12-03-11 at 14:19:32
     Bgd: /usr/local/pikona4/bgd/circle_gy.png
     Obj: /usr/share/icons/moon.png
     Ovl: /usr/local/pikona4/ovl/badge_vignette_soft.png
     Icn: /root/pikona/circle_gy_moon_badge_vignette_soft_96.png
------
Created:  on 12-03-11 at 14:20:24
     Bgd: /usr/local/pikona4/bgd/circle_gy.png
     Obj: /usr/share/icons/moon.png
     Ovl: /usr/local/pikona4/ovl/badge_vignette_soft.png
     Icn: /root/pikona/circle_gy_moon_badge_vignette_soft_96.png
but no icon to be found
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

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#45 Post by vovchik »

Dear guys and gals,

I am sorry I don't have a debug mode so that I can see what its causing that weird behaviour. Pemasu - dpup extremo author - just posted in another thread and indicated that it worked. I am wondering what is going on - where is the icon being deposited, if anywhere? When you run Pikona, try opening /tmp/pikona in Rox after Pikona starts to see what files are being created. This might give me some indication as to the source of this odd stuff.

With kind regards,
vovchik

User avatar
Tman
Posts: 808
Joined: Sat 22 Jan 2011, 21:39
Location: Toronto

#46 Post by Tman »

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

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#47 Post by 666philb »

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

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#48 Post 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

User avatar
Tman
Posts: 808
Joined: Sat 22 Jan 2011, 21:39
Location: Toronto

#49 Post 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?).
Attachments
pikona-before.jpg
(19.46 KiB) Downloaded 774 times
pikona-after.png
(25.52 KiB) Downloaded 819 times

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#50 Post 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

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#51 Post by 666philb »

hi vovchik

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

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#52 Post by vovchik »

Exactly what I have.... so I am still puzzled.

User avatar
oldyeller
Posts: 889
Joined: Tue 15 Nov 2011, 14:26
Location: Alaska

#53 Post by oldyeller »

I don't need anything but what is on the first post correct?

lupu-525

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#54 Post 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

User avatar
oldyeller
Posts: 889
Joined: Tue 15 Nov 2011, 14:26
Location: Alaska

#55 Post by oldyeller »

I just wanted to know if I needed anything else for it to work thats all.


Cheers

Post Reply