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 15 Oct 2018, 18:02
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
YaPI (yet another Puppy Installer) install any Puppy iso
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 5 [67 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Author Message
bigpup


Joined: 11 Oct 2009
Posts: 11123
Location: Charleston S.C. USA

PostPosted: Tue 04 Sep 2018, 13:15    Post subject:  

Did this change.
Code:
sleep 2
disown $PID && kill -9 $XPID

Did not help.
Still get:
Quote:
Make choice which Puppy to install window.
Select actual running Puppy.
animated gif pops up (scanning for iso file), but does not go away when next window comes up (choose which one to take).

It is only this one animated gif that does this.
All the other ones, pop up and close, when they should.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
Argolance


Joined: 06 Jan 2008
Posts: 3410
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Tue 04 Sep 2018, 15:03    Post subject:  

Bonsoir,
bigpup wrote:
It is only this one animated gif that does this.

Sorry mate, I cannot reproduce this. Running ToOpPy/Puppy Precise, this issue doesn't happen... pop up 2 and 3 are displayed one after the other as it should, and the 3rd one is properly closed when the 4th window appears.

[EDIT]: did you try the original yapi, to see if this also happens with Xdialog windows? Note that with a fast PC, they should only be displayed for a fraction of a second.

Cordialement.
180904_204604_636x224_easyshot.jpg
 Description   
 Filesize   66.65 KB
 Viewed   369 Time(s)

180904_204604_636x224_easyshot.jpg


_________________

Back to top
View user's profile Send private message Visit poster's website 
Argolance


Joined: 06 Jan 2008
Posts: 3410
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Tue 04 Sep 2018, 15:54    Post subject:  

I think I found what's wrong: Rolling Eyes
Line 326:
Code:
    for PATTERN in pu sla ta precise
    do
     find / -iname *${PATTERN}*[0-9]*.iso -type f >> ${my_pupISOs}
    done

You say you are running Xenialpup64 7.5? In the code lines above, a pattern for xenial should probably be added (pu for puppy, sla for slacko, ta for tahr)
Something like:
Code:
    for PATTERN in pu sla ta precise xen
    do
     find / -iname *${PATTERN}*[0-9]*.iso -type f >> ${my_pupISOs}
    done

(xen for xenial).

Ditto at line 348 and a corresponding pattern for any other new puppies published since...

_________________

Back to top
View user's profile Send private message Visit poster's website 
bigpup


Joined: 11 Oct 2009
Posts: 11123
Location: Charleston S.C. USA

PostPosted: Wed 05 Sep 2018, 00:58    Post subject:  

Quote:
[EDIT]: did you try the original yapi, to see if this also happens with Xdialog windows?

Yes, I checked.
It works correctly in original Yapi.

Did the above code change.

No help.

That code is for doing a search for iso's, on all the storage devices, to get a list of all available iso's.
But, probably a good idea to add the xen.

As shown in your above post.
pop up 2 stays until 3 is shown.
Then 2 goes away.

It is only a minor bug, but what is causing this and only on this pop up 2 Question Idea Confused

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
Argolance


Joined: 06 Jan 2008
Posts: 3410
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Wed 05 Sep 2018, 04:45    Post subject:  

Bonjour,
Sad
bigpup wrote:
That code is for doing a search for iso's, on all the storage devices, to get a list of all available iso's.

This is indeed what I understood while looking at the code lines and I was wondering if not being able to find the puppy iso whose name and version are previously identified by the values extracted from etc/DISTRO_SPECS file might be the cause of the issue?
I think that if it's not that issue, it's possibly the cause of another one anyway, though "xen" may not be necessary because "xenialpup" includes "pu" whereas "stretch" certainly needs an additional search parameter.
Quote:
But, probably a good idea to add the xen.

Yes, this problem will have let us to find a stuff which has its importance. Wink
Quote:
It is only a minor bug, but what is causing this and only on this pop up 2

And not with Puppy Precise... or a less fast PC/laptop? Cool
Little odd story!
Perhaps there is confusion between 2 values of XPID, so it might be useful to name them differently (XPID1 and XPID2) and anyway kill both to be sure?
Example:
Code:
yaf-splash -placement top -icon /usr/share/pixmaps/yapi_wait.gif -text "TEST 1" -close never &
XPID1=$!
yaf-splash -placement top -icon /usr/share/pixmaps/yapi_wait.gif -text "TEST 2" -close never &
XPID2=$!
sleep 3
kill $XPID1
sleep 3
kill $XPID2


Cordialement.

_________________

Back to top
View user's profile Send private message Visit poster's website 
bigpup


Joined: 11 Oct 2009
Posts: 11123
Location: Charleston S.C. USA

PostPosted: Thu 06 Sep 2018, 09:00    Post subject:  

I am going to do some testing on other Puppy versions and see if this is just a Xenialpup64 7.5 problem with this one pop up.
_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 11123
Location: Charleston S.C. USA

PostPosted: Fri 07 Sep 2018, 15:18    Post subject:  

Argolance,

I tried using the 180903 Yapi in Tahrpup64 6.0.6.
I did not have the problem with that second pop up not going away.

This may be why.
I selected to use this running Puppy as the one I wanted to install. The pop up comes up saying "searching for the iso of Tahrpup64 6.0.6"
It finds the iso and goes to the window to select where to install it. The pop up did not stay and went away when it should.

On Xenialpup64 7.5, when running Yapi, doing the same thing. The pop up hangs.
However, there is an iso of Xenialpup64 7.5 in several locations. So, I get a window that asks which one of the XEnialpup64 7.5 iso's do I want to use.
The pop up is still showing and does not go away until I select a specific iso and the next window opens, asking where to install it.

So, having more than one copy of the running Puppy iso, seems to be the thing that causes this.

Edit:
Checked this setup in other Puppies and the same problem. iIf you choose to install this running Puppy, and there is more than one iso of that Puppy.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
Argolance


Joined: 06 Jan 2008
Posts: 3410
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Sat 08 Sep 2018, 20:55    Post subject:  

Bonsoir,
bigpup wrote:
Checked this setup in other Puppies and the same problem. iIf you choose to install this running Puppy, and there is more than one iso of that Puppy.

Try adding:
Code:
kill $XPID >/dev/null

at the line 250.
Should sound like:
Code:
   [ -s ${ISOS} ] && break # first one only
  done
  kill $XPID >/dev/null
  N=$(wc -l ${ISOS} | cut -d' ' -f1) #  zero or number of lines

Cordialement.

_________________

Back to top
View user's profile Send private message Visit poster's website 
bigpup


Joined: 11 Oct 2009
Posts: 11123
Location: Charleston S.C. USA

PostPosted: Sun 09 Sep 2018, 01:04    Post subject:  

You got it!!! Very Happy Very Happy Very Happy

That fixed it!!
#2 pop up goes away when it should.

Did the above change:
Line 250
Code:
kill $XPID >/dev/null


At this time, that seems to be the last bug to fix.
So, everything in Yapi should now be working correctly.

I made a pet with all the working code changes that have been posted.

I am now testing it on everything.

Give me a few days to get it all tested!!

Argolance,
Thanks very much for the code tweaks and added improvements to YaPI!!
When I post this new pet as the new release version of YaPI.
I will add your name to the developers listed in the first post of this topic!!

We may get a Hurricane, in a few days, in my area of the East coast of the US.
Probably going to loose electrical power in a few days. Rolling Eyes

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked

Last edited by bigpup on Sun 09 Sep 2018, 20:24; edited 1 time in total
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 11123
Location: Charleston S.C. USA

PostPosted: Sun 09 Sep 2018, 01:08    Post subject:  

Argolance,

What do you think about a minor change to the placement of these pop up messages?
You have them all showing at the top center of the desktop.

Seems to me, any message should show at eye level, which is usually the center of the desktop.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
Argolance


Joined: 06 Jan 2008
Posts: 3410
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Sun 09 Sep 2018, 05:06    Post subject:  

Bonjour,
bigpup wrote:
You got it!!!

Very Happy
An "angel" passing by told me where to make the correction. We would like to thank him here! Cool
Quote:
What do you think about a minor change to the placement of these pop up messages?
You have them all showing at the top center of the desktop.
Seems to me, any message should show at eye level, which is usually the center of the desktop.

You are the only master on board and you have the final say. Wink
Nevertheless, in my opinion, there are two reasons why Xdialog windows have to be replaced by yaf-splash windows:
    - First, it's prettier and it allows you to display animated gif images that suggest to the user with a low-performance computer that something is happening and is currently progressing....
    - Most importantly, it allows warning messages to be placed at the top of the screen to better distinguish them from other windows (more or less numerous) which may be in the center and accidentally hide them.
Something else: while we were looking for why the window was not closing, I corrected here and there, some tiny details that are not unimportant and that your package does not take into account (text, text formatting, size of some windows too large or too small, French translation, etc...).

Have a good day!
Cordialement.

_________________

Back to top
View user's profile Send private message Visit poster's website 
bigpup


Joined: 11 Oct 2009
Posts: 11123
Location: Charleston S.C. USA

PostPosted: Sun 09 Sep 2018, 20:11    Post subject:  

Quote:
it allows warning messages to be placed at the top of the screen to better distinguish them from other windows (more or less numerous) which may be in the center and accidentally hide them.

I never have a lot of windows open, at one time. on the desktop. But, I see the point in this for those who do.

Quote:
while we were looking for why the window was not closing, I corrected here and there, some tiny details that are not unimportant and that your package does not take into account (text, text formatting, size of some windows too large or too small, French translation, etc...).

Do you need to post a newer version of the Yapi exec file with all these tweaks?
I only know about code changes that have been given in posts.
I am applying them to your 180903 pet package.
Anything you have done, not posted about, needs you to update Yapi and post a new pet package.

Thanks!!

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 11123
Location: Charleston S.C. USA

PostPosted: Sun 09 Sep 2018, 20:19    Post subject:  

Quote:
it's prettier and it allows you to display animated gif images that suggest to the user with a low-performance computer that something is happening and is currently progressing....

That 180903 Yapi pet package only had one gif image that shows in these message pop ups.
That yapi_wait.gif image.
Is there more images that should be there to use?

This is all that was in the pet package.
capture4407.png
 Description   
 Filesize   16.03 KB
 Viewed   155 Time(s)

capture4407.png


_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 11123
Location: Charleston S.C. USA

PostPosted: Fri 21 Sep 2018, 12:38    Post subject:  

Thanks to Argolance for coding the needed changes!

Newer version of YaPI for testing.
Better message pop ups.
Better for translating.
Minor code tweaks.

Please help test for final release.
yapi-180921.pet
Description  Last changed 180922
pet

 Download 
Filename  yapi-180921.pet 
Filesize  27.19 KB 
Downloaded  29 Time(s) 

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked

Last edited by bigpup on Sat 22 Sep 2018, 22:23; edited 2 times in total
Back to top
View user's profile Send private message 
sheldonisaac

Joined: 21 Jun 2009
Posts: 749
Location: Philadelphia, PA

PostPosted: Fri 21 Sep 2018, 16:14    Post subject:  

bigpup wrote:
Thanks to Argolance for coding the needed changes!

Newer version of YaPI for testing.
Better message pop ups.
Better for translating.
Minor code tweaks.

Please help test for final release.
Thanks, bigpup. This is my first time using yapi.
Code:
yapi
/usr/sbin/yapi: line 183: 26501 Terminated   gtkdialog4 -p BOOT_SPLASH --center
/usr/sbin/yapi: line 213: test: too many arguments
/usr/sbin/yapi: line 216: test: too many arguments

_________________
Dell E6410: Xenial, Bionicpup64, etc
Dell Mini 9, Acer Aspire One, EeePC 1018P, PowerBook G4
Intel D865GBF, Intel DQ35JOE
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 5 [67 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
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.0803s ][ Queries: 13 (0.0176s) ][ GZIP on ]