Wary Puppy 5.1.4.1 released
September 01, 2011 —
BarryK
This is an emergency bugfix upgrade of Wary 5.1.4. The problem is described in this blog post:
http://bkhome.org/archive/blog2/201109/pburn-pmirror-pbackup-pfind-broken.html
Release notes:
http://distro.ibiblio.org/quirky/wary-5.1.4.1/release-Wary-5.1.4.1.htm
Download:
http://distro.ibiblio.org/quirky/wary-5.1.4.1/
If you already have downloaded 5.1.4, the upgraded PETs can be installed, so no need to upgrade to 5.1.4.1. The PETs are in the top (blog) link.
NOTICE TO ALL DEVELOPERS
If you maintain any script that uses gtkdialog, please test with the gtkdialog PET that is in the 'common' repo:
http://distro.ibiblio.org/quirky/pet_packages-common/gtkdialog-0.7.21-thunor224-w5.pet
This is the version of gtkdialog that is currently chosen by default in all Woof-built puppies. I would like to be sure that all the scripts out there run on it. Unless some big bug is found in it, I intend to leave it at that version (revision 224) for some considerable time -- therefore, if you are testing with a later revision of gtkdialog, please test that it still works with 224.
Note, as well as the bugfix for the file-select dialog, there was another thing broken in some scripts, the password-entry box:
http://bkhome.org/archive/blog2/201108/pupdial-fixes.html
EDIT Sept 1 2011:
A solution for the gtkdialog problem: http://bkhome.org/archive/blog2/201109/gtkdialog4.html
Comments
Touchpad problem resolvedUsername: Sage
Perhaps it's because I usually eschew laptops in my daily round? I found the 'touchpad tapping' enable under 'Mouse Wizard/Choose type of mouse' and not, as expected, under 'Configure your touchpad'. Don't recall it being like this when I last ran P on a laptop? Maybe that was series 2 or 3? Any road up, doesn't seem to be 'intuitive' ?
VLC-GTK
Username: scottman
"This is obviously not a priority for you but VLC-GTK needs to be updated, too.. I have updated it - the old gtkdialog was accepting a bad syntax of mine, so VLC-GTK 'worked', but I'm now using 0.7.21, which does not accept the bad syntax - so enabling the 'Play File' button (etc) does not work, when the playback file is chosen.. I have not added anything that needs newer gtkdialogs, just fixes.. I will upload to the Puppy forum soon...
trash -- view summary -- empty
Username: broomdodger
"This is the first time I have put something in the 'Trash', usually right click 'delete'. Went to empty trash and noticed 'View Summary', great check it out. But :( it was empty even though two items were is the trash.
trash -- view summary -- empty
Username: broomdodger
"Oops, forgot to say: wary 5.1.4.1 frugal
broomdodger's missing trash summary
Username: disciple
"My Puppy is 4.1.1, but I have tested the Trash summary feature with the latest gtkdialog and with r224, so I doubt that it is an issue caused by the gtkdialog updates. Can you call "gtkdialog3" in Wary 5.1.4.1? I'm a little unclear... Does the summary feature work for others using Wary 5.1.4.1? Broomdodger: if you also have an older version of Puppy, does the summary feature work in it? What if you copy the contents of your Wary trash into the other version, does it still work there? Would it be possible for you to zip up the contents of your trash and send them to me so I can try to find the problem?
re: broomdodger's missing trash summary
Username: broomdodger
"disciple wary5.1.1 wary5.1.3 both frugal, both restart from ram same result, the summary is empty Any other versions you would like me to try? I can zip the .Trash folder, or do you want the Trash script? Where to send?
re: broomdodger's missing trash summary
Username: broomdodger
">Can you call "gtkdialog3" in Wary 5.1.4.1? Is this what you mean by call? which gtkdialog3 /usr/sbin/gtkdialog3 gtkdialog3 --help Usage: gtkdialog3 [OPTION...] Create dialog boxes and windows according to the given dialog description.For more information try 'info gtkdialog'. Help Options: -h, --help Show help options --help-all Show all help options --help-gtk Show GTK+ Options Application Options: -v, --version Print version information and exit. -d, --debug Debug mode prints the processed characters. -p, --program=variable Get the GUI description from the environment. -g, --glade-xml=filename Get the GUI description from this Glade file. -f, --file=filename Get the GUI description from a regular file. -i, --include=filename Include the given file when executing. -e, --event-driven=filename Execute the file as an event driven program. -s, --stdin Get the GUI description from standard input. -w, --no-warning Suppress warning messages. -G, --geometry=[XxY][+W+H] The placement and the size of the window. -c, --center Center the windows on the screen. --print-ir Print the internal representation and exit. --display=DISPLAY X display to use
re: broomdodger's missing trash summary
Username: disciple
"> wary5.1.1 > wary5.1.3 > both frugal, both restart from ram > same result, the summary is empty > > Any other versions you would like me to try? A 4.x series Puppy would be good if you have one. But don't bother if the problem occurs regardless of [i]what[/i] is in the trash. > I can zip the .Trash folder, or do you want the Trash script? > > Where to send? Yes, PM the .Trash folder to me on the forum. But again, don't bother if you have the same problem regardless of what is in the trash. In that case I think I'd need to download Wary and test. > Is this what you mean by call? Yes, I just wanted to be sure it was in the $PATH with the name gtkdialog3. Thanks.
re: broomdodger's missing trash summary
Username: broomdodger
"wary5.1.1 wary5.1.3 wary5.1.4.1 view summary fails with ANY file added to trash puppy 4.3.1 view summary works ok Would you like me to download a quirky?
re: missing trash summary
Username: disciple
"Well, I didn't even need to check out wary. I tried Quirky 1.1 and it is broken there too. Presumably the fact this wasn't picked up earlier indicates people don't actually use the Trash... The problem is that this line is blanking /tmp/trashitems: [code]cat /tmp/trashitems | sed -e 's/</?/g' | sed -e 's/>/?/g' > /tmp/trashitems[/code] We can fix it simply by eliminating my Useless Use Of Cat, even if we don't touch the Useless Use Of Sed and Useless Use Of A Temporary File :) When I have some time I should do a lot of tidying of the code in the trash. But why is the file being blanked? Is something broken in Woof/Quirky? Or was I relying on something being broken in old versions of Puppy? This seems like something which would cause great confusion to novice coders (like myself ;) ) everywhere. 4.1.1 and Quirky 1.1 seem to have the same bash and cat. What else could be the cause? # cat /tmp/test hello # cat /tmp/test|head hello # cat /tmp/test hello # cat /tmp/test|head>/tmp/test # cat /tmp/test #
Code is wrong
Username: BarryK
"You should never do this: # cat /tmp/test|head>/tmp/test There is nothing wrong with Bash. Reading a file, piping it, then writing back to same file, is bound to break it. You should write to some other file: # cat /tmp/test|head>/tmp/test2 Or: NEWSTUFF="`cat /tmp/test | head`" echo "$NEWSTUFF" > /tmp/test Also, when piping, Bash/Ash does not guarantee completion before the next line of the script is executed. Therefore, in the first solution you should use "sync" before reading /tmp/test2: # cat /tmp/test|head>/tmp/test2 # sync # cat /tmp/test2 ...note, in the vast majority of cases the "sync" is not needed, but for very long pipes it definitely is. The example using "NEWSTUFF" does not need "sync".
But
Username: disciple
"> You should never do this: I know now I should never do it, I didn't know back then when I wrote it :) > Reading a file, piping it, then writing back to same file, is bound to break it. except it works in old puppies... (and in msys for that matter) Thanks for the information on sync - I thought it was just needed to remove a disk, or protect against power failure.
Nvidia kernel module not loaded
Username: linuxman
" Can't get my Nvidia drivers working in this version using 71.86. I tried copying the driver to the same directory as 5.1.3 (where it works), as it seems to not be in the same location anymore. But the system can't find it when I modprobe nvidia. I copied /lib/modules/2.6.32-smp/nvidia/nvidia.ko into /lib/modules/2.6.32-smp/kernel/drivers/video and ../kernel/video/nvidia. Could someone help me figure this out ? Thanks
re sync
Username: BarryK
"I probably should stop giving that advice about 'sync' being needed after a long pipe. I did experience the problem a long time ago, years ago, where a long pipe was writing to a file, then the file was being read in the next line of the script, and I found without a sync that the file was being read before it had been fully written to in the previous line, which caused an error. A sync fixed it. However, I really need to create some code that reproduces that situation. Perhaps there was some other factor at the time that caused the problem. So, perhaps take my advice with a grain of salt.
Tags: wary