This actually may not be a bad ideabigpup wrote: MochiMoppel,
You could help if you edited the first post to show that a pet is available to add this feature to PPM.
Also "force" in the title sounds scary
This actually may not be a bad ideabigpup wrote: MochiMoppel,
You could help if you edited the first post to show that a pet is available to add this feature to PPM.
It works OK with me too but this is only tested on a frugal install on a linux partition I guess.bigpup wrote:PPM seems to be working OK.
Which "Precise 5.72 PAE" is that?Griot wrote:Here's a noob report. Precise 5.72 PAE, frugal on ext3/HDD.
V.7 doesn't work for me. Cannot configure PPM. It just blinks after I click on configure button. Before v.7 install I followed THIS GUIDE to enable 'Download only' button.
Code: Select all
--- a/configure.sh 2014-11-27 11:27:55.000000000 +0200
+++ b/configure.sh 2014-11-29 15:41:56.000000000 +0200
@@ -182,7 +182,7 @@
<text width-request="100"><label>$(gettext 'New directory')</label></text>
<entry accept="folder" width-request="200"><variable>SAVEPATH</variable></entry>
<button>
- "`/usr/lib/gtkdialog/xml_button-icon open`"
+ <input file stock="gtk-open"></input>
<action type="fileselect">SAVEPATH</action>
</button>
</hbox>
Code: Select all
** (gtkdialog:29350): ERROR **: gtkdialog: Error in line 73, near token '</default>': syntax error
Sorry I can not reproduce this error.Griot wrote:Yep, same 5.72. here. Yes, there's an error:AFAIK no system changes lately.Code: Select all
** (gtkdialog:29350): ERROR **: gtkdialog: Error in line 73, near token '</default>': syntax error
Thanx for helping, again.
I can not tell from the animation but did you go to PPM>> configure >> miscellaneous to setup your download folder/ keep-pet option?greengeek wrote:I don't seem to be having any success with this at all. I have just installed the v8 pet and I do not get prompted for download location. My puppy is based on Slacko 5.6 but has some weird modifications (so could be my fault...). I also have MochiMoppels previous "download only" mod installed (via remaster so I can't easily uninstall it for testing).
Anime gif via SFRs T.A.S:
Code: Select all
cat /root/.packages/download_path
Code: Select all
--- /root/Downloads/ppm_down_dir-8/usr/local/petget/configure.sh 2014-11-29 18:31:31.000000000 +0300
+++ /usr/local/petget/configure.sh 2014-11-30 20:16:48.849875463 +0300
@@ -228,9 +228,10 @@
# handle savepath
SAVEPATH="`echo -n "$RETPARAMS" | grep 'SAVEPATH' | cut -f 2 -d '"'`"
+[ "$SAVEPATH" = "" ] && SAVEPATH=$dir_prefix
[ -d "$SAVEPATH" ] && echo dir_prefix=\'$SAVEPATH\' > /root/.packages/download_path \
- || xmessage -bg red -center "`gettext \"The '$SAVEPATH' download folder you specified does not exist.
-Pleae creat it and try again \"`"
+ || xmessage -bg red -center "`gettext \"The '$SAVEPATH' download folder you specified does not exist
+or the partition it's on is not mounted. Please try again \"`"
# option to save installed pets
SAVE_PETS="`echo -n "$RETPARAMS" | grep '^varSAVE_PETS' | grep -oE 'true|false'`"
sed -i -e "2d" /root/.packages/download_path
Good catch.rg66 wrote:If you click ok when the entry box is empty it gives the "The '$SAVEPATH' download folder you specified does not exist" error. There was also a few typos in the error message. This seems to fix it:
Thanks for the tip - no I had not done thatmavrothal wrote: did you go to PPM>> configure >> miscellaneous to setup your download folder/ keep-pet option?
Now that I have set it up to use /opt it says:If you did whatsays?Code: Select all
cat /root/.packages/download_path
Code: Select all
# cat /root/.packages/download_path
dir_prefix='/opt'
save_pets='true'#
Code: Select all
error, failed to download xpr-1.0.4-1486-1.txz
Code: Select all
Finished. The packages have been downloaded to "/opt" directory
greengeek wrote: However, I still have a problem. The package seems to download successfully, but it still appears in /root (not /opt as i asked) and gives two messages. One message saysand after I click on that error another dialog comes up sayingCode: Select all
error, failed to download xpr-1.0.4-1486-1.txz
Code: Select all
Finished. The packages have been downloaded to "/opt" directory
Code: Select all
. /root/.packages/download_path
I couldn't agree more. I see a lot of duplicated and redundant code, which makes maintenance so much "fun". Let's make sure that it doesn't become more convoluted. The main problem I see is that there is no one who feels responsible to clean up this stuff. There isn't even a home for it in the forum. I'm not aware of a main PPM thread in the software forum. This would be the place to publish pets, discuss new features, argue about code details. I welcome and appreciate your efforts to push PPM development forward, but I think it deserves a more prominent place than an odd MochiMoppel HOWTO thread.mavrothal wrote:PPM is such a convoluted mess