pBurn 4.3.19
Sigmund,I am running lupupluslibre-528.005-2 and have tried installing pburn 2.6.1. It fails as mentioned above. I reinstalled the NLS file and tried pburn 2.6.1 again. It still hangs at its splash window but produces the following in the xerrs.log:zigbert wrote:Please try to download/install the Pburn_NLS pet once more. I have forgotten to update it to meet the new NLS-structure.
Code: Select all
sed: -e expression #2, char 0: no previous regular expression
sh: line 0: echo: write error: Broken pipe
sh: line 0: echo: write error: Broken pipe
sh: line 0: echo: write error: Broken pipe
sh: line 0: echo: write error: Broken pipe
sh: line 0: echo: write error: Broken pipe
sh: line 0: echo: write error: Broken pipe
[repeated forever!]
In case this is related to the version of gtkdialog in the lupu528.005 ISOs, here are the versions I see:
Code: Select all
sh-4.1# gtkdialog -v
gtkdialog version 0.7.21 (C) 2004, 2005, 2006, 2007 by Laszlo Pere
sh-4.1# gtkdialog4 -v
gtkdialog version 0.8.0 (C) 2003-2007 Laszlo Pere, 2011 Thunor
sh-4.1#
Richard
Hi Sigmund
Bigpup seems to have found a bug in Slacko testing. On first run of Pburn, opening the help from the menu fails.
I took a look and this patch seems to fix it:
Bigpup seems to have found a bug in Slacko testing. On first run of Pburn, opening the help from the menu fails.
I took a look and this patch seems to fix it:
Code: Select all
--- func.orig 2012-05-27 00:38:40.000000000 +1000
+++ func 2012-06-27 22:15:32.088043406 +1000
@@ -261,7 +261,7 @@
if [ -f /usr/share/doc/pburn/$TMP.html ]; then
$BROWSER /usr/share/doc/pburn/$TMP.html
else
- $BROWSER /usr/share/doc/pburn/en_US:english.html
+ $BROWSER /usr/share/doc/pburn/en.html
fi
;;
-slideshow_time)
Puppy Linux Blog - contact me for access
help file and locale
@zigbert
I don't like the LANGUAGE setting, which is saved in the pburnrc, is modified by the script.
I don't like the LANGUAGE setting, which is saved in the pburnrc, is modified by the script.
pburn line 241- wrote:#install helptext
TMP_LANG=$LANGUAGE
[ ! -s /usr/share/doc/pburn/$LANGUAGE.html ] && export LANGUAGE=en
$APPDIR/func -install #check help variables
if [ -s $HOME/.pburn/pburnhlp-$LANGUAGE ]; then
. $HOME/.pburn/pburnhlp-$LANGUAGE #read help text (preferable in installed language)
else
. $HOME/.pburn/pburnhlp-auto
fi
export LANGUAGE=$TMP_LANG
Last edited by shinobar on Wed 27 Jun 2012, 13:23, edited 1 time in total.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
help file and locale, cont.
How about using pman to search the help file?
http://www.murga-linux.com/puppy/viewtopic.php?t=56887
http://www.murga-linux.com/puppy/viewtopic.php?t=56887
pman searches documents in the order of the following...
2. under /usr/share/doc/help/$lang, where $lang is determined from $LANG.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
I have ordered some BD-RE for testing, but troubles to get DVD-RW around here. Do you have one laying somewhere on your table, please test if this command blanks/erases the disc properly. It works for DVD+RW, and if it works for -RW too we will get a much faster blanking of DVDs.
I want this improvement for next release
Thank you
Sigmund
Code: Select all
dd if=/dev/zero of=/dev/sr0 bs=32k count=32
Thank you
Sigmund
Re: help file and locale
The last line should take it back to the initial value, but fails because pburnrc is written during 'func -install'. Now fixed. Thank you!!!!shinobar wrote:@zigbert
I don't like the LANGUAGE setting, which is saved in the pburnrc, is modified by the script.pburn line 241- wrote:#install helptext
TMP_LANG=$LANGUAGE
[ ! -s /usr/share/doc/pburn/$LANGUAGE.html ] && export LANGUAGE=en
$APPDIR/func -install #check help variables
if [ -s $HOME/.pburn/pburnhlp-$LANGUAGE ]; then
. $HOME/.pburn/pburnhlp-$LANGUAGE #read help text (preferable in installed language)
else
. $HOME/.pburn/pburnhlp-auto
fi
export LANGUAGE=$TMP_LANG
Sigmund
Re: help file and locale, cont.
Pburn has become more than a Puppy-app, so I try to keep it less Puppy-specific.shinobar wrote:How about using pman to search the help file?
http://www.murga-linux.com/puppy/viewtopic.php?t=56887pman searches documents in the order of the following...
2. under /usr/share/doc/help/$lang, where $lang is determined from $LANG.
I tried the latest Pman, but it didn't catch the Pburn help-file. I though I have found a proper place in /usr/share/doc/pburn/$LANG.html.
What would be the correct structure?
Sigmund
Re: help file and locale, cont.
For your information,zigbert wrote:I tried the latest Pman, but it didn't catch the Pburn help-file.
pman searches files from /usr/share/doc/help/$LANG/pburn.html, /usr/share/doc/pburn_$LANG.html, /usr/share/doc/pburn.html, /usr/share/doc/pburn/pburn.html, /usr/share/doc/pburn/index.html ...
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
zigbert,
I am using 3.6.1 to burn an ISO file (fatdog64) to a CDRW in multisession mode. Verification always fails. I compared the logic in func_exec with similar logic in burniso2cd and found that the disc md5sum is incorrect. The difference in logic is that burniso2cd limits the data to be summed to the length of the iso file. Func_exec does not do that. When I insert the byte-calculation logic into the command generating the disk md5sum, the produced value is correct. Here is what I did:Is there any reason why the
| head -c `stat --format=%s $ISOFILE`
string should not be added to pburn's command:
MD5_DISC="$( dd if=$BURNDEV 2> /dev/null | md5sum | cut -f 1 -d " " )"
Also, the dialog reporting the md5sum mismatch does not show the sum for the ISO file, only the incorrect sum for the disk. And, to make the message more self-explanatory, I think it should begin with a statement that the verification shows that the burn was unsuccessful. Saying that "the burn failed" might be a little harsh, but words to that effect would more direct and would introduce the displayed sums. It may be, though, that showing the sums is only of value for debugging.
I don't know whether a successful burn produces a "Burn successful" dialog window. But it took me a while to infer from the md5sum window that the burn was not to be trusted.
Richard
UPDATE: I assume the change would also apply to writing an ISO file to a DVD. I just have not found the place to mod.
I am using 3.6.1 to burn an ISO file (fatdog64) to a CDRW in multisession mode. Verification always fails. I compared the logic in func_exec with similar logic in burniso2cd and found that the disc md5sum is incorrect. The difference in logic is that burniso2cd limits the data to be summed to the length of the iso file. Func_exec does not do that. When I insert the byte-calculation logic into the command generating the disk md5sum, the produced value is correct. Here is what I did:
Code: Select all
sh-4.1# ISOFILE=/mnt/sdb1/Puppy_Archives/downloads/fatdog64/Fatdog64-600b2.iso
sh-4.1# echo "$( md5sum $ISOFILE | cut -f 1 -d " " )"
4b695686a0a3d8ab7c9c739431337427
sh-4.1# CDR=/dev/sr0
sh-4.1# echo "$(dd if=$CDR 2>> /tmp/burniso2cd.log | head -c `stat --format=%s $ISOFILE` | md5sum | cut -f 1 -d " " )"
4b695686a0a3d8ab7c9c739431337427
sh-4.1# BURNDEV=$CDR
sh-4.1# echo "$( dd if=$BURNDEV 2> /dev/null | md5sum | cut -f 1 -d " " )"
9924796f7e0a5fd3181ed78e2480a29e
sh-4.1# echo "$( dd if=$BURNDEV 2> /dev/null | head -c `stat --format=%s $ISOFILE` | md5sum | cut -f 1 -d " " )"
4b695686a0a3d8ab7c9c739431337427
| head -c `stat --format=%s $ISOFILE`
string should not be added to pburn's command:
MD5_DISC="$( dd if=$BURNDEV 2> /dev/null | md5sum | cut -f 1 -d " " )"
Also, the dialog reporting the md5sum mismatch does not show the sum for the ISO file, only the incorrect sum for the disk. And, to make the message more self-explanatory, I think it should begin with a statement that the verification shows that the burn was unsuccessful. Saying that "the burn failed" might be a little harsh, but words to that effect would more direct and would introduce the displayed sums. It may be, though, that showing the sums is only of value for debugging.
I don't know whether a successful burn produces a "Burn successful" dialog window. But it took me a while to infer from the md5sum window that the burn was not to be trusted.
Richard
UPDATE: I assume the change would also apply to writing an ISO file to a DVD. I just have not found the place to mod.
Last edited by rerwin on Fri 29 Jun 2012, 19:21, edited 1 time in total.
Re: help file and locale, cont.
I have moved the NLS-help-files to /usr/share/doc/help/$LANG/pburn.html, so that should be ok now. But where is the 'correct' place for the english (native) help-file. Will it be in:shinobar wrote:For your information,zigbert wrote:I tried the latest Pman, but it didn't catch the Pburn help-file.
pman searches files from /usr/share/doc/help/$LANG/pburn.html, /usr/share/doc/pburn_$LANG.html, /usr/share/doc/pburn.html, /usr/share/doc/pburn/pburn.html, /usr/share/doc/pburn/index.html ...
/usr/share/doc/help/en/pburn.html (does not exist, so I guess NO )
/usr/share/doc/help/C/pburn.html (and what does C means? - I see you have used it for grubconfig)
/usr/share/doc/pburn.html
Thanks for any explanation - I am blank, and wonder if there is some kind of standard out there.
Sigmund
Furter testing gave me more issues using dd for fast blanking. I have made the code ready, but for now it will use the old alterantive...
case "$(<$WORKDIR/MEDIATYPE_FULL)" in
'DVD-rom (DVD-RW)') echo "$PRIORITY""dvd+rw-format -force $BURNDEV" >> $WORKDIR/exec;;
#DVD+RW and BD-RE works with quick blanking using dd
#but -check_media) still reads the burnt size
#so, for now we keep it the conservative way...
*) echo "$PRIORITY""dvd+rw-format -force $BURNDEV" >> $WORKDIR/exec;;
#echo "$PRIORITY""dd if=/dev/zero of=$BURNDEV bs=32k count=256" >> $WORKDIR/exec;;
esac