BTS

Issue1312

Title grml2usb --grub stops with 'NoneType' object has no attribute 'rfind'
Priority bug Status resolved
Superseder Nosy List mika, patrick
Assigned To mika Topics

Created on 2014-07-17.20:19:28 by patrick, last changed 2014-08-31.09:35:02 by mika.

Messages
msg4846 (view) Author: mika Date: 2014-08-31.09:35:02
This has been resolved already, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755952

Thanks for reporting!
msg4826 (view) Author: patrick Date: 2014-07-24.20:30:05
am 2014-07-21 09:00 Michael Prokop schrieb:
> Which python version are you using?

Python version: 2.7.6-2

As a responsible Debian user I reported a bug in Debian:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755952
-- 
Engineers motto: cheap, good, fast: choose any two
Patrick Strasser <patrick at wirklich priv at>
msg4825 (view) Author: mika Date: 2014-07-21.07:00:24
Which python version are you using?

(Note to myself: we should log the python version when running grml2usb, esp.
when using --verbose option)

regards,
-mika-
msg4824 (view) Author: patrick Date: 2014-07-17.20:19:28
Hello!

It's kind of late now, and I do not have a lot of time right now, but
want to report that. I can provide more information, but not right now.
Hints of what is sensible are wellcome ;-)

System: Debian Testing, not recently updated.

past@localhost /opt/downloads % sudo grml2usb --grub --verbose
grml32-full_2014.03.iso /dev/sdf1
2014-07-17 22:04:55,549 Executing grml2usb version 0.14.6
2014-07-17 22:04:55,551 Using ISO grml32-full_2014.03.iso
2014-07-17 22:04:55,552 mount ['-o', 'loop,ro', '-t', 'iso9660']
grml32-full_2014.03.iso /tmp/grml2usb_vNit_
2014-07-17 22:04:55,557 register_mountpoint(/tmp/grml2usb_vNit_)
2014-07-17 22:04:55,571 bootflag is enabled
2014-07-17 22:04:55,572 mount ['-o', 'utf8,iocharset=iso8859-1']
/dev/sdf1 /tmp/grml2usbBSd7sZ
2014-07-17 22:04:55,696 register_mountpoint(/tmp/grml2usbBSd7sZ)
2014-07-17 22:04:55,706 version_files =
['/tmp/grml2usb_vNit_/GRML/grml32-full/grml-version']
2014-07-17 22:04:55,707 Identified grml flavour "grml32-full".
2014-07-17 22:04:55,707 Copying files. This might take a while....
2014-07-17 22:04:55,711 Source:
/tmp/grml2usb_vNit_/live/grml32-full/grml32-full.squashfs / Target:
/tmp/grml2usbBSd7sZ/live/grml32-full/grml32-full.squashfs
2014-07-17 22:06:37,883 Source:
/tmp/grml2usb_vNit_/live/grml32-full/filesystem.module / Target:
/tmp/grml2usbBSd7sZ/live/grml32-full/filesystem.module
2014-07-17 22:06:38,004 Source: /tmp/grml2usb_vNit_/boot/grml32full /
Target: /tmp/grml2usbBSd7sZ/boot
2014-07-17 22:06:48,044 Source: /tmp/grml2usb_vNit_/GRML/grml32-full /
Target: /tmp/grml2usbBSd7sZ/grml/
2014-07-17 22:06:48,281 Source:
/tmp/grml2usb_vNit_/boot/addons/allinone.img / Target:
/tmp/grml2usbBSd7sZ/boot/addons/
2014-07-17 22:06:49,209 Source: /tmp/grml2usb_vNit_/boot/addons/bsd4grml
/ Target: /tmp/grml2usbBSd7sZ/boot/addons/
2014-07-17 22:06:51,686 Source:
/tmp/grml2usb_vNit_/boot/addons/balder10.imz / Target:
/tmp/grml2usbBSd7sZ/boot/addons/
2014-07-17 22:06:52,356 Source:
/tmp/grml2usb_vNit_/boot/addons/chain.c32 / Target:
/tmp/grml2usbBSd7sZ/boot/addons/
2014-07-17 22:06:52,412 Source: /tmp/grml2usb_vNit_/boot/addons/hdt.c32
/ Target: /tmp/grml2usbBSd7sZ/boot/addons/
2014-07-17 22:06:52,588 Source:
/tmp/grml2usb_vNit_/boot/addons/mboot.c32 / Target:
/tmp/grml2usbBSd7sZ/boot/addons/
2014-07-17 22:06:52,634 Source: /tmp/grml2usb_vNit_/boot/addons/menu.c32
/ Target: /tmp/grml2usbBSd7sZ/boot/addons/
2014-07-17 22:06:52,679 Source: /tmp/grml2usb_vNit_/boot/addons/pci.ids
/ Target: /tmp/grml2usbBSd7sZ/boot/addons/
2014-07-17 22:06:53,144 Source: /tmp/grml2usb_vNit_/boot/addons/memdisk
/ Target: /tmp/grml2usbBSd7sZ/boot/addons/
2014-07-17 22:06:53,190 Source: /tmp/grml2usb_vNit_/boot/addons/memtest
/ Target: /tmp/grml2usbBSd7sZ/boot/addons/
2014-07-17 22:06:53,275 Source:
/tmp/grml2usb_vNit_/boot/addons/ipxe.lkrn / Target:
/tmp/grml2usbBSd7sZ/boot/addons/
2014-07-17 22:06:53,490 Source:
/tmp/grml2usb_vNit_/boot/isolinux/logo.16 / Target:
/tmp/grml2usbBSd7sZ/boot/syslinux/logo.16
2014-07-17 22:06:53,547 Source: /tmp/grml2usb_vNit_/boot/isolinux/f1 /
Target: /tmp/grml2usbBSd7sZ/boot/syslinux/f1
2014-07-17 22:06:53,599 Source: /tmp/grml2usb_vNit_/boot/isolinux/f2 /
Target: /tmp/grml2usbBSd7sZ/boot/syslinux/f2
2014-07-17 22:06:53,649 Source: /tmp/grml2usb_vNit_/boot/isolinux/f3 /
Target: /tmp/grml2usbBSd7sZ/boot/syslinux/f3
2014-07-17 22:06:53,699 Source: /tmp/grml2usb_vNit_/boot/isolinux/f4 /
Target: /tmp/grml2usbBSd7sZ/boot/syslinux/f4
2014-07-17 22:06:53,749 Source: /tmp/grml2usb_vNit_/boot/isolinux/f5 /
Target: /tmp/grml2usbBSd7sZ/boot/syslinux/f5
2014-07-17 22:06:53,796 Source: /tmp/grml2usb_vNit_/boot/isolinux/f6 /
Target: /tmp/grml2usbBSd7sZ/boot/syslinux/f6
2014-07-17 22:06:53,847 Source: /tmp/grml2usb_vNit_/boot/isolinux/f7 /
Target: /tmp/grml2usbBSd7sZ/boot/syslinux/f7
2014-07-17 22:06:53,896 Source: /tmp/grml2usb_vNit_/boot/isolinux/f8 /
Target: /tmp/grml2usbBSd7sZ/boot/syslinux/f8
2014-07-17 22:06:53,953 Source: /tmp/grml2usb_vNit_/boot/isolinux/f10 /
Target: /tmp/grml2usbBSd7sZ/boot/syslinux/f10
2014-07-17 22:06:53,998 Source:
/tmp/grml2usb_vNit_/boot/isolinux/default.cfg / Target:
/tmp/grml2usbBSd7sZ/boot/syslinux/
2014-07-17 22:06:54,043 Source:
/tmp/grml2usb_vNit_/boot/isolinux/distri.cfg / Target:
/tmp/grml2usbBSd7sZ/boot/syslinux/
2014-07-17 22:06:54,088 Source:
/tmp/grml2usb_vNit_/boot/isolinux/grml.cfg / Target:
/tmp/grml2usbBSd7sZ/boot/syslinux/
2014-07-17 22:06:54,133 Source:
/tmp/grml2usb_vNit_/boot/isolinux/grml.png / Target:
/tmp/grml2usbBSd7sZ/boot/syslinux/
2014-07-17 22:06:54,224 Source: /tmp/grml2usb_vNit_/boot/isolinux/hd.cfg
/ Target: /tmp/grml2usbBSd7sZ/boot/syslinux/
2014-07-17 22:06:54,269 Source:
/tmp/grml2usb_vNit_/boot/isolinux/isolinux.cfg / Target:
/tmp/grml2usbBSd7sZ/boot/syslinux/
2014-07-17 22:06:54,314 Source:
/tmp/grml2usb_vNit_/boot/isolinux/isolinux.bin / Target:
/tmp/grml2usbBSd7sZ/boot/syslinux/
2014-07-17 22:06:54,360 Source:
/tmp/grml2usb_vNit_/boot/isolinux/isoprompt.cfg / Target:
/tmp/grml2usbBSd7sZ/boot/syslinux/
2014-07-17 22:06:54,405 Source:
/tmp/grml2usb_vNit_/boot/isolinux/options.cfg / Target:
/tmp/grml2usbBSd7sZ/boot/syslinux/
2014-07-17 22:06:54,449 Source:
/tmp/grml2usb_vNit_/boot/isolinux/prompt.cfg / Target:
/tmp/grml2usbBSd7sZ/boot/syslinux/
2014-07-17 22:06:54,494 Source:
/tmp/grml2usb_vNit_/boot/isolinux/vesamenu.cfg / Target:
/tmp/grml2usbBSd7sZ/boot/syslinux/
2014-07-17 22:06:54,539 Source:
/tmp/grml2usb_vNit_/boot/isolinux/grml.png / Target:
/tmp/grml2usbBSd7sZ/boot/syslinux/
2014-07-17 22:06:54,583 Source:
/tmp/grml2usb_vNit_/boot/isolinux/ifcpu64.c32 / Target:
/tmp/grml2usbBSd7sZ/boot/syslinux/
2014-07-17 22:06:54,628 Source:
/tmp/grml2usb_vNit_/boot/isolinux/vesamenu.c32 / Target:
/tmp/grml2usbBSd7sZ/boot/syslinux/
2014-07-17 22:06:54,775 Source: /usr/lib/syslinux/ifcpu64.c32 / Target:
/tmp/grml2usbBSd7sZ/boot/syslinux/
2014-07-17 22:06:54,849 Source: /usr/lib/syslinux/vesamenu.c32 / Target:
/tmp/grml2usbBSd7sZ/boot/syslinux/
2014-07-17 22:06:54,908 Source:
/tmp/grml2usb_vNit_/boot/isolinux/addons.cfg / Target:
/tmp/grml2usbBSd7sZ/boot/syslinux/
2014-07-17 22:06:54,952 Source:
/tmp/grml2usb_vNit_/boot/isolinux/addons_list.cfg / Target:
/tmp/grml2usbBSd7sZ/boot/syslinux/
2014-07-17 22:06:54,998 Source:
/tmp/grml2usb_vNit_/boot/isolinux/addon_10_grub2.cfg / Target:
/tmp/grml2usbBSd7sZ/boot/syslinux/
2014-07-17 22:06:55,043 Source:
/tmp/grml2usb_vNit_/boot/isolinux/addon_20_allinone.cfg / Target:
/tmp/grml2usbBSd7sZ/boot/syslinux/
2014-07-17 22:06:55,088 Source:
/tmp/grml2usb_vNit_/boot/isolinux/addon_25_gxpe.cfg / Target:
/tmp/grml2usbBSd7sZ/boot/syslinux/
2014-07-17 22:06:55,134 Source:
/tmp/grml2usb_vNit_/boot/isolinux/addon_30_dos.cfg / Target:
/tmp/grml2usbBSd7sZ/boot/syslinux/
2014-07-17 22:06:55,179 Source:
/tmp/grml2usb_vNit_/boot/isolinux/addon_35_bsd.cfg / Target:
/tmp/grml2usbBSd7sZ/boot/syslinux/
2014-07-17 22:06:55,224 Source:
/tmp/grml2usb_vNit_/boot/isolinux/addon_40_memtest.cfg / Target:
/tmp/grml2usbBSd7sZ/boot/syslinux/
2014-07-17 22:06:55,269 Source:
/tmp/grml2usb_vNit_/boot/isolinux/addon_45_hdt.cfg / Target:
/tmp/grml2usbBSd7sZ/boot/syslinux/
2014-07-17 22:06:55,315 Source:
/tmp/grml2usb_vNit_/boot/isolinux/hidden.cfg / Target:
/tmp/grml2usbBSd7sZ/boot/syslinux/new_hidden.cfg
2014-07-17 22:06:55,360 Source: /tmp/grml2usb_vNit_/boot/grub/addons.cfg
/ Target: /tmp/grml2usbBSd7sZ/boot/grub/
2014-07-17 22:06:55,405 Source: /tmp/grml2usb_vNit_/boot/grub/ascii.pf2
/ Target: /tmp/grml2usbBSd7sZ/boot/grub/
2014-07-17 22:06:55,451 Source: /tmp/grml2usb_vNit_/boot/grub/core.img /
Target: /tmp/grml2usbBSd7sZ/boot/grub/
2014-07-17 22:06:55,502 Source: /tmp/grml2usb_vNit_/boot/grub/footer.cfg
/ Target: /tmp/grml2usbBSd7sZ/boot/grub/
2014-07-17 22:06:55,546 Source:
/tmp/grml2usb_vNit_/boot/grub/grml32full_default.cfg / Target:
/tmp/grml2usbBSd7sZ/boot/grub/
2014-07-17 22:06:55,592 Source:
/tmp/grml2usb_vNit_/boot/grub/grml32full_options.cfg / Target:
/tmp/grml2usbBSd7sZ/boot/grub/
2014-07-17 22:06:55,638 Source: /tmp/grml2usb_vNit_/boot/grub/grml-theme
/ Target: /tmp/grml2usbBSd7sZ/boot/grub/
2014-07-17 22:06:55,684 Source: /tmp/grml2usb_vNit_/boot/grub/grub.cfg /
Target: /tmp/grml2usbBSd7sZ/boot/grub/
2014-07-17 22:06:55,730 Source: /tmp/grml2usb_vNit_/boot/grub/grub.img /
Target: /tmp/grml2usbBSd7sZ/boot/grub/
2014-07-17 22:06:55,775 Source: /tmp/grml2usb_vNit_/boot/grub/header.cfg
/ Target: /tmp/grml2usbBSd7sZ/boot/grub/
2014-07-17 22:06:55,820 Source: /tmp/grml2usb_vNit_/boot/grub/i386-pc /
Target: /tmp/grml2usbBSd7sZ/boot/grub/
2014-07-17 22:06:56,589 Source:
/tmp/grml2usb_vNit_/boot/grub/loopback.cfg / Target:
/tmp/grml2usbBSd7sZ/boot/grub/
2014-07-17 22:06:56,634 Source: /tmp/grml2usb_vNit_/boot/grub/x86_64-efi
/ Target: /tmp/grml2usbBSd7sZ/boot/grub/
2014-07-17 22:06:58,039 Found source file/boot/grub/grml32full_default.cfg
2014-07-17 22:06:58,040 Found source file/boot/grub/grml32full_options.cfg
2014-07-17 22:06:58,135 Generating syslinux configuration
2014-07-17 22:06:58,154 Updating grub configuration
2014-07-17 22:07:34,320 umount [] /tmp/grml2usbBSd7sZ
2014-07-17 22:07:34,786 unregister_mountpoint(/tmp/grml2usbBSd7sZ)
2014-07-17 22:07:34,787 umount [] /tmp/grml2usb_vNit_
2014-07-17 22:07:34,812 unregister_mountpoint(/tmp/grml2usb_vNit_)
2014-07-17 22:07:34,813 Installing default MBR
2014-07-17 22:07:34,832 executing: dd if='/dev/sdf' of='/tmp/tmpzKBRFo'
bs=512 count=1
2014-07-17 22:07:34,885 executing: dd if=/usr/share/grml2usb/mbr/mbrldr
of=/tmp/tmpzKBRFo bs=439 count=1 conv=notrunc
2014-07-17 22:07:34,948 executing: dd if='/tmp/tmpzKBRFo' of='/dev/sdf'
bs=512 count=1 conv=notrunc
2014-07-17 22:07:34,957 mount  /dev/sdf1 /tmp/grml2usbotago0
2014-07-17 22:07:35,246 register_mountpoint(/tmp/grml2usbotago0)
2014-07-17 22:07:35,247 Installing grub as bootloader
2014-07-17 22:07:35,247 grub-install --recheck  --no-floppy
--root-directory=/tmp/grml2usbotago0 /dev/sdf1
2014-07-17 22:07:35,323 umount [] /tmp/grml2usbotago0
2014-07-17 22:07:35,345 unregister_mountpoint(/tmp/grml2usbotago0)
2014-07-17 22:07:35,346 Fatal: 'NoneType' object has no attribute 'rfind'



-- 
Engineers motto: cheap, good, fast: choose any two
Patrick Strasser <patrick at wirklich priv at>
History
Date User Action Args
2014-08-31 09:35:02mikasetstatus: chatting -> resolved
assignedto: mika
messages: + msg4846
nosy: + mika
2014-07-24 20:30:05patricksetmessages: + msg4826
2014-07-21 07:00:24mikasetpriority: bug
status: unread -> chatting
messages: + msg4825
2014-07-17 20:19:28patrickcreate