The time now is Wed 19 Jun 2013, 14:24
All times are UTC - 4 |
|
Page 6 of 132 [1966 Posts] |
Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, ..., 130, 131, 132 Next |
| Author |
Message |
zigbert

Joined: 29 Mar 2006 Posts: 5295 Location: Valåmoen, Norway
|
Posted: Thu 10 Jan 2008, 03:41 Post subject:
|
|
gray
Thanks for your report.
I tried to mount my ntfs disk (made in Gparted) and it all worked in 3.01, so I need your (or someone else) help. Does it occur with both CD and DVD? Does it occur both with singlesession and multisession? What version of Puppy are you using? Is the ntfs-disk your system disk? Do you have access to try it on another system?...
The commands running when checking media is: | Code: | #(/dev/cdrom should be your burner)
cddetect -d/dev/cdrom
dvd+rw-mediainfo /dev/cdrom
mount | grep "/dev/cdrom"
cdrecord dev=/dev/cdrom -msinfo | You can try these one by one, to determine which gives trouble on your system.
The line spacing issue, seems to be a bug in Xdialog logbox. It could be an alternative to use a terminal to show progress, but....It's end up with a matter of liking. It is on my todo-list (wish-list), so I'll keep an eye on it.
Sigmund
_________________ Stardust resources
|
|
Back to top
|
|
 |
gray

Joined: 23 Feb 2007 Posts: 313 Location: Adelaide - South Australia
|
Posted: Thu 10 Jan 2008, 08:04 Post subject:
pburn check media problem |
|
zigbert,
Just tried a pristine puppy 3.01 and the check media works fine . Then I added the cdrda0-1.2.1 pet using the package manager and the problem appears. Something in the cdrdao package is screwing things up. I tried all the commands you listed, but none cause the problem , yet pburn still has a long disk thrashing pause checking media
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5295 Location: Valåmoen, Norway
|
Posted: Thu 10 Jan 2008, 10:07 Post subject:
|
|
Gray
Since your compiling skills are excellent, I guess your also into some bash!
Would you please insert some 'xmessage "marker"' in the media-check-code. Then you could find out where it hangs. The code is in the file /usr/local/pburn/func, around line 414.
Here I have put in 12 markers that can tell us where error occur. | Code: | -burn)
. $CONFIG
echo "$LOC313 ..." > /tmp/pburn-splashtext
echo 0 > /tmp/pburn-splash #reset progress bar
"$APPDIR"/box_splash &
xmessage "grays bughunt #1"
CDINFO="`cddetect -d$BURNDEV 2>&1`"
DVDINFO="`dvd+rw-mediainfo $BURNDEV 2>&1`"
#error checking
xmessage "grays bughunt #2"
if [ `cat /tmp/pburn-burn | wc -l` = 0 ]; then #Nothing added to burnlist
echo 100 > /tmp/pburn-splash #reset progress bar
TXT1="$LOC302"
. "$APPDIR"/box_ok
exit
fi
xmessage "grays bughunt #3"
if [ "`mount | grep "$BURNDEV"`" != "" ]; then #burner mounted
echo 100 > /tmp/pburn-splash #reset progress bar
TXT1="<b>$LOC375</b>"
. "$APPDIR"/box_ok
exit
fi
xmessage "grays bughunt #4"
if [ "`echo -n "$CDINFO" | grep "tray open"`" ]; then
echo 100 > /tmp/pburn-splash #reset progress bar
TXT1="$LOC303"
. "$APPDIR"/box_ok
exit
fi
xmessage "grays bughunt #5"
if [ "`echo -n "$CDINFO" | grep "no disc"`" ]; then
echo 100 > /tmp/pburn-splash #reset progress bar
TXT1="$LOC304"
. "$APPDIR"/box_ok
exit
fi
#check mediatype
xmessage "grays bughunt #6"
if [ ! "`echo -n "$DVDINFO" | grep --extended-regexp "non\\-DVD|not a DVD unit"`" = "" ]; then #CD
if [ $CHECK_MEDIA = true ]; then
echo "CD" > /tmp/pburn-mediatype
ON_THE_FLY=false
OFF_THE_FLY=true
fi
xmessage "grays bughunt #7"
# #check if valid multisession disc
# if [ "`echo -n "$CDINFO" | grep "MODE21"`" ]; then #MODE21 is multisession
export SECTIONS="`cdrecord dev=$BURNDEV -msinfo 2> /dev/null | grep -F ","`" #get previous session
# fi
#check if writeable
xmessage "grays bughunt #8"
cdrecord dev=$BURNDEV -msinfo
TMP="`cdrecord dev=$BURNDEV -msinfo 2>&1`"
if [ "`echo "$TMP" | grep 'Cannot read first writable address'`" ]; then
echo 100 > /tmp/pburn-splash #reset progress bar
TXT1="$LOC305"
. "$APPDIR"/box_ok
exit
fi
else #DVD
xmessage "grays bughunt #9"
if [ $CHECK_MEDIA = true ]; then
echo "DVD" > /tmp/pburn-mediatype
ON_THE_FLY=true
OFF_THE_FLY=false
fi
#check if valid multisession disc
xmessage "grays bughunt #10"
if [ "`echo -n "$DVDINFO" | grep "Disc status" | grep "appendable"`" ]; then
export SECTIONS="`cdrecord dev=$BURNDEV -msinfo 2> /dev/null | grep -F ","`" #get previous session
fi
#check if writeable
xmessage "grays bughunt #11"
if [ "`echo -n "$DVDINFO" | grep "Disc status" | grep "complete"`" ]; then #Not writable disc
echo 100 > /tmp/pburn-splash #reset progress bar
TXT1="$LOC305"
. "$APPDIR"/box_ok
exit
fi
#remove links and empty dirs from imported session (this is only for growisofs)
xmessage "grays bughunt #12"
for LINK in `cat /tmp/pburn-import_session | sed -e "s/ /{ð®SSSđþ}/g"`; do
LINK=`echo "$LINK" | sed -e "s/{ð®SSSđþ}/ /g"`
rm "$TMPDIR/$LINK"
done
find "$TMPDIR" -mindepth 1 -type d -exec rmdir {} \; 2> /dev/null #empty dirs
fi
#============================================================================= |
_________________ Stardust resources
|
|
Back to top
|
|
 |
gray

Joined: 23 Feb 2007 Posts: 313 Location: Adelaide - South Australia
|
Posted: Thu 10 Jan 2008, 18:30 Post subject:
check media problem |
|
Okay, ran with all the xmessage lines trying to burn an iso file from the ide hard drive to a CD. The problem is not in that part of the code. I think it is in the func_build_command called at line 518. Unfortunately it is going to be over a week before I can look at this again as I am off on Holiday with the family.
|
|
Back to top
|
|
 |
magerlab
Joined: 08 Jul 2007 Posts: 730
|
Posted: Sat 12 Jan 2008, 13:42 Post subject:
|
|
i failed to record a dvd on optiarc burner drive with pburn 0.9
i used default settings to burn
also erase disk did not work
where to find the log of errors?
_________________ skype: desafimager
www.youtube.com/sagartem -videos of my band
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5295 Location: Valåmoen, Norway
|
Posted: Sat 12 Jan 2008, 18:28 Post subject:
|
|
magerlab
If Pburn doesn't show complete errorlog (there is a logbox), copy the command from the advanced tab (burn-dialog) to a terminal. Execute it from there.
Sigmund
_________________ Stardust resources
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Tue 15 Jan 2008, 17:49 Post subject:
|
|
concerning the strange look of the logbox:
cdrecord uses Windows linefeeds.
It can be corrected like this I think:
/usr/local/pburn/func_exec
Line 15:
old:
| Code: | | /tmp/pburn-exec >> $LOG 2>&1 |
new:
| Code: | | /tmp/pburn-exec | sed "s/\r/\n/g">> $LOG 2>&1 |
I have no CD-RWs here, so someone please test it.
Mark
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5295 Location: Valåmoen, Norway
|
Posted: Tue 15 Jan 2008, 17:50 Post subject:
|
|
Version 0.9.1 is uploaded. See main post.
_________________ Stardust resources
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5295 Location: Valåmoen, Norway
|
Posted: Tue 15 Jan 2008, 18:08 Post subject:
|
|
Mark
I'm glad you tried, but logbox becomes empty
Sigmund
_________________ Stardust resources
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Tue 15 Jan 2008, 18:47 Post subject:
|
|
please try instead:
| tr '\r' '\n'
Mark
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Tue 15 Jan 2008, 18:54 Post subject:
|
|
or maybe put this not after
/tmp/pburn-exec, but after the cdrecord command.
I don't know if "|" buffers output.
If that does not help, the log might be simply to long to be displayed in a list quickly.
We might need a selfwriten log-viewer then.
Mark
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Wed 16 Jan 2008, 00:56 Post subject:
|
|
I wrote a new logbox:
http://murga-linux.com/puppy/viewtopic.php?p=167280#167280
If required, I can add changes
Mark
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5295 Location: Valåmoen, Norway
|
Posted: Wed 16 Jan 2008, 04:45 Post subject:
|
|
The tr command fixed it for cdrecord, but failed for mkisofs, so I followed your last advice. | Code: | TMP=`cat /tmp/pburn-exec | grep cdrecord`
sed -i -e "s%$TMP%$TMP | tr '\r' '\n' %g" /tmp/pburn-exec |
gtklogfileviewer would be the greatest hit if it could be used inside a gtkdialog gui. As I see it, showing logs is one of the two big lacks of gtkdialog. The other is to show pictures.
Thank you Mark
Sigmund
_________________ Stardust resources
|
|
Back to top
|
|
 |
Botanic

Joined: 05 Sep 2007 Posts: 240 Location: Toulouse, France
|
Posted: Wed 16 Jan 2008, 08:44 Post subject:
|
|
hi guys,
i just ruined a CD-R while trying to copy an audio CD. i've been using gcombust - uses cdrecord. problem is, it creates a 2 seconds gap between tracks. i found out i had to write in DAO mode, got an error saying my drive doesn't support it. i gave a try with pregap=0, made no change and i just ruined a second CD-R.
so, i downloaded pburn - looks real nice ! - and tried "copy" it said to me i need cdrdao. I read the same on internet, for straight copies, so i was confident and downloaded cdrdao. I launch pburn again, it works, copies the source CD to hard drive, but then tries to connect to cddb.org or sth (what the h*** do i need track information ) result: no burning because of connection failure.
what can i do? i just want a straight copy ! i used to do it with Nero under Windows, so i know my drive can do it
i may try to select "Media type: Data-CD", so i won't get the cddb thing, but really it's an audio CD, and i don't want to ruin more discs any ideas? if it's possible to disable this cddb.org, tell me where i can do it definitely
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5295 Location: Valåmoen, Norway
|
Posted: Wed 16 Jan 2008, 11:49 Post subject:
|
|
Botanic
What can I say:
This code was taken from Grafburn, and as we both understand, I haven't done a good enough job when checking it for Pburn. But that's what betas are for Thank you for reporting this. Pburn 1.0.0 is not intended to support CD-text. We'll leave that for a later edition.
This bug will be fixed in 0.9.2. If you do not want to wait, and want your music burnt NOW, edit the file /usr/local/pburn/func_copy. Line 21. Remove the parameter --with-cddb
cdrdao read-cd --datafile "$OUTDIR"/pburn-audiocd.bin --with-cddb --device $BURNDEV /tmp/pburn-audiocd.toc
Sigmund
_________________ Stardust resources
|
|
Back to top
|
|
 |
|
|
Page 6 of 132 [1966 Posts] |
Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, ..., 130, 131, 132 Next |
|
|
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
|