YaPI (yet another Puppy Installer) install any Puppy iso

Core libraries and systems
Message
Author
User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#31 Post by bigpup »

Did this change.

Code: Select all

sleep 2
disown $PID && kill -9 $XPID
Did not help.
Still get:
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.
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 :shock:
YaPI(any iso installer)

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#32 Post by Argolance »

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.
Attachments
180904_204604_636x224_easyshot.jpg
(66.65 KiB) Downloaded 728 times

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#33 Post by Argolance »

I think I found what's wrong: :roll:
Line 326:

Code: Select all

    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: Select all

    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...

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#34 Post by bigpup »

[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 :?: :idea: :?
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 :shock:
YaPI(any iso installer)

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#35 Post by Argolance »

Bonjour,
:(
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.
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:
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? 8)
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: Select all

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.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#36 Post by bigpup »

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.
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 :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#37 Post by bigpup »

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.
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 :shock:
YaPI(any iso installer)

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#38 Post by Argolance »

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: Select all

kill $XPID >/dev/null
at the line 250.
Should sound like:

Code: Select all

   [ -s ${ISOS} ] && break # first one only 
  done
  kill $XPID >/dev/null
  N=$(wc -l ${ISOS} | cut -d' ' -f1) #  zero or number of lines
Cordialement.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#39 Post by bigpup »

You got it!!! :D :D :D

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

Did the above change:
Line 250

Code: Select all

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. :roll:
Last edited by bigpup on Mon 10 Sep 2018, 00:24, edited 1 time in total.
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 :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#40 Post by bigpup »

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.
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 :shock:
YaPI(any iso installer)

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#41 Post by Argolance »

Bonjour,
bigpup wrote:You got it!!!
:D
An "angel" passing by told me where to make the correction. We would like to thank him here! 8)
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.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#42 Post by bigpup »

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.
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!!
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 :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#43 Post by bigpup »

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.
Attachments
capture4407.png
(16.03 KiB) Downloaded 504 times
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 :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#44 Post by bigpup »

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.
Attachments
yapi-180921.pet
Last changed 180922
(27.19 KiB) Downloaded 589 times
Last edited by bigpup on Sun 23 Sep 2018, 02:23, edited 2 times in total.
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 :shock:
YaPI(any iso installer)

sheldonisaac
Posts: 902
Joined: Mon 22 Jun 2009, 01:36
Location: Philadelphia, PA

#45 Post by sheldonisaac »

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: Select all

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: BusterPup, BionicPup64, Xenial, etc
Intel DQ35JOE, Dell Vostro 430
Dell Inspiron, Acer Aspire One, EeePC 1018P

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#46 Post by bigpup »

sheldonisaac,

What Puppy version are you using?
What install were you doing using Yapi?
Did it do the selected install OK?

I assume what you posted was displayed by running Yapi in a terminal.
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 :shock:
YaPI(any iso installer)

sheldonisaac
Posts: 902
Joined: Mon 22 Jun 2009, 01:36
Location: Philadelphia, PA

#47 Post by sheldonisaac »

bigpup wrote:sheldonisaac,

What Puppy version are you using?
What install were you doing using Yapi?
Did it do the selected install OK?
I assume what you posted was displayed by running Yapi in a terminal.
Not sure, probably the new 64-bit Bionic Pup
I just typed yapi in a terminal. Now think that was not how to use it. Will go back and read the thread. Please excuse me.
Dell E6410: BusterPup, BionicPup64, Xenial, etc
Intel DQ35JOE, Dell Vostro 430
Dell Inspiron, Acer Aspire One, EeePC 1018P

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#48 Post by bigpup »

sheldonisaac,

I just re-posted the pet for YaPI 180921
http://www.murga-linux.com/puppy/viewto ... &id=119199
Could you delete the one you have and replace it with this one. Fixed a minor problem with the pet package.
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 :shock:
YaPI(any iso installer)

sheldonisaac
Posts: 902
Joined: Mon 22 Jun 2009, 01:36
Location: Philadelphia, PA

#49 Post by sheldonisaac »

bigpup wrote:sheldonisaac,

I just re-posted the pet for YaPI 180921
http://www.murga-linux.com/puppy/viewto ... &id=119199
Could you delete the one you have and replace it with this one. Fixed a minor problem with the pet package.
I hope this is it?

Code: Select all

-rw-r--r-- 1 root root 27841 Sep 22 22:34 yapi-180921.pet
1f2bda8b2dae6147fdd33a72f692e53f  yapi-180921.pet
Thanks a lot, bigpup; I managed to put a lucid puppy on a 16GB USB flash drive.
Using musher0's 32-bit Xenial puppy.

Code: Select all

Linux puppypc2261 4.1.2-EmSee-32-pae #1 SMP Wed Jul 15 12:39:34 BST 2015 i686 i686 i686 GNU/Linux
Sheldon
Dell E6410: BusterPup, BionicPup64, Xenial, etc
Intel DQ35JOE, Dell Vostro 430
Dell Inspiron, Acer Aspire One, EeePC 1018P

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#50 Post by Argolance »

Bonjour,
Be aware!
I just tested another program than yapi on puppy_tahr_6.0.5 and I noticed that the yaf-splash/gtkdialog-splash of previous Puppy versions has been replaced by /usr/lib/gtkdialog/box_splash, presented as "compatible" with the ancestor but which in reality is not quite :?. In some cases, the display is erratic (huge window that occupies almost the entire desktop!).
The old yaf-splash is not affected by the box_splash options. It simply does not "see" them. However, these options seem essential (such as the width of the icon for example), so they have to be set.
To be investigated further...

Cordialement.

Post Reply