Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 01 Sep 2014, 14:53
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Pikona - Puppy Icon Assembler NEW and TINY! - v.0.4e
Post new topic   Reply to topic View previous topic :: View next topic
Page 4 of 4 [55 Posts]   Goto page: Previous 1, 2, 3, 4
Author Message
Tman


Joined: 22 Jan 2011
Posts: 814
Location: Toronto

PostPosted: 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
icon-test.jpg
 Description   
 Filesize   44.55 KB
 Viewed   629 Time(s)

icon-test.jpg

Back to top
View user's profile Send private message 
666philb


Joined: 07 Feb 2010
Posts: 1663
Location: wales

PostPosted: Sun 11 Mar 2012, 14:19    Post subject:  

ahh... there is an icon created but in /tmp/pikona as opposed to /root/pikona Smile
_________________
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
LÖVE2d, a collection of 27 lua gameshttp://www.murga-linux.com/puppy/viewtopic.php?t=76739
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1285
Location: Ukraine

PostPosted: 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
View user's profile Send private message 
Tman


Joined: 22 Jan 2011
Posts: 814
Location: Toronto

PostPosted: 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 Smile


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?).
pikona-before.jpg
 Description   
 Filesize   19.46 KB
 Viewed   593 Time(s)

pikona-before.jpg

pikona-after.png
 Description   
 Filesize   25.52 KB
 Viewed   613 Time(s)

pikona-after.png

Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1285
Location: Ukraine

PostPosted: 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
View user's profile Send private message 
666philb


Joined: 07 Feb 2010
Posts: 1663
Location: wales

PostPosted: Sun 11 Mar 2012, 15:45    Post subject:  

hi vovchik

i have utf-8 encoding enabled with en-language

_________________
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
LÖVE2d, a collection of 27 lua gameshttp://www.murga-linux.com/puppy/viewtopic.php?t=76739
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1285
Location: Ukraine

PostPosted: Sun 11 Mar 2012, 16:13    Post subject:  

Exactly what I have.... so I am still puzzled.
Back to top
View user's profile Send private message 
oldyeller


Joined: 15 Nov 2011
Posts: 781
Location: Mishawaka IN

PostPosted: 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
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1285
Location: Ukraine

PostPosted: 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
View user's profile Send private message 
oldyeller


Joined: 15 Nov 2011
Posts: 781
Location: Mishawaka IN

PostPosted: 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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 4 of 4 [55 Posts]   Goto page: Previous 1, 2, 3, 4
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0670s ][ Queries: 13 (0.0122s) ][ GZIP on ]