{"action":"created","issue":{"url":"https://api.github.com/repos/mbusb/multibootusb/issues/336","repository_url":"https://api.github.com/repos/mbusb/multibootusb","labels_url":"https://api.github.com/repos/mbusb/multibootusb/issues/336/labels{/name}","comments_url":"https://api.github.com/repos/mbusb/multibootusb/issues/336/comments","events_url":"https://api.github.com/repos/mbusb/multibootusb/issues/336/events","html_url":"https://github.com/mbusb/multibootusb/issues/336","id":313832740,"node_id":"MDU6SXNzdWUzMTM4MzI3NDA=","number":336,"title":"TypeError installing syslinux... usb_disk[:-1]","user":{"login":"anthonymobile","id":121955,"node_id":"MDQ6VXNlcjEyMTk1NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/121955?v=4","gravatar_id":"","url":"https://api.github.com/users/anthonymobile","html_url":"https://github.com/anthonymobile","followers_url":"https://api.github.com/users/anthonymobile/followers","following_url":"https://api.github.com/users/anthonymobile/following{/other_user}","gists_url":"https://api.github.com/users/anthonymobile/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonymobile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonymobile/subscriptions","organizations_url":"https://api.github.com/users/anthonymobile/orgs","repos_url":"https://api.github.com/users/anthonymobile/repos","events_url":"https://api.github.com/users/anthonymobile/events{/privacy}","received_events_url":"https://api.github.com/users/anthonymobile/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-04-12T18:09:41Z","updated_at":"2018-10-03T12:06:39Z","closed_at":null,"author_association":"NONE","body":"The following is an example of output that I receive either installing syslinux at the end of a distro install or installing syslinux independently (what is shown below). It appears to be a type mismatch on the usb_disk[:-1] expression?\r\n\r\nThis is a brand new Ubuntu 17 installation.\r\n\r\n```\r\nanthony@sanfrancisco:/usr/bin$ sudo multibootusb\r\nUsing python version  3.6.3 (default, Oct  3 2017, 21:45:48) \r\n[GCC 7.2.0] on platform Linux-4.13.0-38-generic-x86_64-with-Ubuntu-17.10-artful\r\nCould not find resource 'data/tools/gdisk/gdisk.exe'.\r\nRunning multibootusb version 9.2.0 from installed system...\r\nStarting multibootusb GUI...\r\nQStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'\r\nCleaning old multibootusb directory...\r\nSyslinux exist in multibootusb directory...\r\nUsing pyudev for detecting USB drives...\r\n\t/dev/sdc\r\n\t/dev/sdc1\r\n\t/dev/sdc2\r\n\t/dev/sdc3\r\n\t/dev/sdc4\r\n\t/dev/sdc5\r\n\t/dev/sdb\r\n\t/dev/sdb1\r\n\t/dev/sdb2\r\n\t/dev/sdb3\r\nSelected device /dev/sdb\r\nDevice /dev/sdb is a GPT disk...\r\nUSB disk is not mounted and can't update list widget...\r\nSelected device /dev/sdc3\r\n/media/root/kali\r\nDevice /dev/sdc3 is a GPT disk...\r\nInstalling default syslinux on /dev/sdc3\r\nUsing gptmbr.bin for mbr install.\r\nCould not find resource 'data/tools/gptmbr.bin'.\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python3/dist-packages/scripts/mbusb_gui.py\", line 387, in onInstall_syslinuxClick\r\n    ret = syslinux_default(config.usb_disk)\r\n  File \"/usr/lib/python3/dist-packages/scripts/syslinux.py\", line 107, in syslinux_default\r\n    mbr_install_cmd = 'dd bs=440 count=1 conv=notrunc if=' + mbr_bin + ' of=' + usb_disk[:-1]\r\nTypeError: must be str, not NoneType\r\n```"},"comment":{"url":"https://api.github.com/repos/mbusb/multibootusb/issues/comments/426612447","html_url":"https://github.com/mbusb/multibootusb/issues/336#issuecomment-426612447","issue_url":"https://api.github.com/repos/mbusb/multibootusb/issues/336","id":426612447,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjYxMjQ0Nw==","user":{"login":"ShalokShalom","id":6344099,"node_id":"MDQ6VXNlcjYzNDQwOTk=","avatar_url":"https://avatars0.githubusercontent.com/u/6344099?v=4","gravatar_id":"","url":"https://api.github.com/users/ShalokShalom","html_url":"https://github.com/ShalokShalom","followers_url":"https://api.github.com/users/ShalokShalom/followers","following_url":"https://api.github.com/users/ShalokShalom/following{/other_user}","gists_url":"https://api.github.com/users/ShalokShalom/gists{/gist_id}","starred_url":"https://api.github.com/users/ShalokShalom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShalokShalom/subscriptions","organizations_url":"https://api.github.com/users/ShalokShalom/orgs","repos_url":"https://api.github.com/users/ShalokShalom/repos","events_url":"https://api.github.com/users/ShalokShalom/events{/privacy}","received_events_url":"https://api.github.com/users/ShalokShalom/received_events","type":"User","site_admin":false},"created_at":"2018-10-03T12:06:39Z","updated_at":"2018-10-03T12:06:39Z","author_association":"NONE","body":"Here confirmed as well, on a KaOS Linux."}}
{"actor":{"display_login":"ShalokShalom"}}