NO Disks Showing at all

Asked by Leroy Jenkins

Recently installed latest ddrescue-gui (running on latest Ubuntu 20.1). This is on a dual-boot MacBook with an internal APFS SSD drive. I heard that ddrescue needs add-ons to work with APFS volumes, so I can understand why it doesn't pull up my internal SSD. However, the program won't detect ANY external drives either. I've plugged in a bunch of good drives that instantly mount in Ubuntu but this program just can't seem to recognize them. Here's the log file, please help:

29/03/2021 08:25:06 PM - DDRescue-GUI - DEBUG: Detected LINUX...
29/03/2021 08:25:09 PM - DDRescue-GUI - INFO: DDRescue-GUI Version 2.1.1 Starting up...
29/03/2021 08:25:09 PM - DDRescue-GUI - INFO: Release date: 26/8/2020
29/03/2021 08:25:09 PM - DDRescue-GUI - INFO: Running on Python version: sys.version_info(major=3, minor=8, micro=6, releaselevel='final', serial=0)...
29/03/2021 08:25:09 PM - DDRescue-GUI - INFO: Running on wxPython version: 4.0.7 gtk3 (phoenix) wxWidgets 3.0.5...
29/03/2021 08:25:09 PM - DDRescue-GUI - INFO: Checking for ddrescue...
29/03/2021 08:25:09 PM - DDRescue-GUI - INFO: Determining ddrescue version...
29/03/2021 08:25:09 PM - Tools.core - DEBUG: start_process(): Starting process: ddrescue --version
29/03/2021 08:25:09 PM - Tools.core - DEBUG: start_process(): Process: ddrescue --version: Return Value: 0, output: "

GNU ddrescue 1.23
Copyright (C) 2018 Antonio Diaz Diaz.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law."

29/03/2021 08:25:09 PM - Tools.core - INFO: ddrescue version 1.23...
29/03/2021 08:25:09 PM - DDRescue-GUI - DEBUG: MainWindow().__init__(): Setting some essential variables...
29/03/2021 08:25:09 PM - DDRescue-GUI - DEBUG: MainWindow().__init__(): Creating Status Bar...
29/03/2021 08:25:09 PM - DDRescue-GUI - DEBUG: MainWindow().__init__(): Creating text...
29/03/2021 08:25:09 PM - DDRescue-GUI - DEBUG: MainWindow().__init__(): Creating buttons...
29/03/2021 08:25:09 PM - DDRescue-GUI - DEBUG: MainWindow().__init__(): Creating choiceboxes...
29/03/2021 08:25:09 PM - DDRescue-GUI - DEBUG: MainWindow().__init__(): Creating all other widgets...
29/03/2021 08:25:09 PM - DDRescue-GUI - DEBUG: MainWindow().__init__(): Creating menus...
29/03/2021 08:25:09 PM - DDRescue-GUI - DEBUG: MainWindow().__init__(): Updating Disk info...
29/03/2021 08:25:09 PM - DDRescue-GUI - INFO: MainWindow().get_diskinfo(): Getting new Disk information...
29/03/2021 08:25:09 PM - DDRescue-GUI - DEBUG: MainWindow().update_status_bar(): New status bar message: Getting new Disk information... Please wait...
29/03/2021 08:25:09 PM - Tools.core - DEBUG: start_process(): Starting process: pkexec /usr/share/ddrescue-gui/Tools/helpers/runasroot_linux_getdevinfo.sh /usr/bin/python3 /usr/share/ddrescue-gui/Tools/run_getdevinfo.py
29/03/2021 08:25:09 PM - DDRescue-GUI - DEBUG: MainWindow().__init__(): Setting up sizers...
29/03/2021 08:25:09 PM - DDRescue-GUI - DEBUG: MainWindow().__init__(): Binding events...
29/03/2021 08:25:09 PM - DDRescue-GUI - INFO: MainWindow().__init__(): Ready. Waiting for events...
29/03/2021 08:25:13 PM - Tools.core - DEBUG: start_process(): Process: pkexec /usr/share/ddrescue-gui/Tools/helpers/runasroot_linux_getdevinfo.sh /usr/bin/python3 /usr/share/ddrescue-gui/Tools/run_getdevinfo.py: Return Value: 1, output: "

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/getdevinfo/linux.py", line 808, in get_file_system
    for config in node.configuration.children:
AttributeError: 'NoneType' object has no attribute 'children'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/ddrescue-gui/Tools/run_getdevinfo.py", line 27, in <module>
    sys.stdout.write(str(getdevinfo.getdevinfo.get_info()))
  File "/usr/lib/python3/dist-packages/getdevinfo/getdevinfo.py", line 97, in get_info
    linux.get_info()
  File "/usr/lib/python3/dist-packages/getdevinfo/linux.py", line 131, in get_info
    get_partition_info(subnode, host_disk)
  File "/usr/lib/python3/dist-packages/getdevinfo/linux.py", line 302, in get_partition_info
    DISKINFO[volume]["FileSystem"] = get_file_system(subnode)
  File "/usr/lib/python3/dist-packages/getdevinfo/linux.py", line 828, in get_file_system
    if diskname != "Unknown":
UnboundLocalError: local variable 'diskname' referenced before assignment"

29/03/2021 08:25:13 PM - DDRescue-GUI - ERROR: GetDiskInformation().get_info(): Error: invalid syntax (<unknown>, line 1)
29/03/2021 08:25:13 PM - DDRescue-GUI - INFO: MainWindow().receive_diskinfo(): Getting new Disk information...
29/03/2021 08:25:13 PM - DDRescue-GUI - INFO: MainWindow().update_file_choices(): Updating the GUI with the new Disk information...
29/03/2021 08:25:13 PM - DDRescue-GUI - INFO: MainWindow().update_file_choices(): Updating choiceboxes...
29/03/2021 08:25:13 PM - DDRescue-GUI - DEBUG: MainWindow().update_status_bar(): New status bar message: Ready.
29/03/2021 08:25:16 PM - DDRescue-GUI - INFO: MainWindow().get_diskinfo(): Getting new Disk information...
29/03/2021 08:25:16 PM - DDRescue-GUI - DEBUG: MainWindow().update_status_bar(): New status bar message: Getting new Disk information... Please wait...
29/03/2021 08:25:16 PM - Tools.core - DEBUG: start_process(): Starting process: pkexec /usr/share/ddrescue-gui/Tools/helpers/runasroot_linux_getdevinfo.sh /usr/bin/python3 /usr/share/ddrescue-gui/Tools/run_getdevinfo.py
29/03/2021 08:25:17 PM - Tools.core - DEBUG: start_process(): Process: pkexec /usr/share/ddrescue-gui/Tools/helpers/runasroot_linux_getdevinfo.sh /usr/bin/python3 /usr/share/ddrescue-gui/Tools/run_getdevinfo.py: Return Value: 1, output: "

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/getdevinfo/linux.py", line 808, in get_file_system
    for config in node.configuration.children:
AttributeError: 'NoneType' object has no attribute 'children'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/ddrescue-gui/Tools/run_getdevinfo.py", line 27, in <module>
    sys.stdout.write(str(getdevinfo.getdevinfo.get_info()))
  File "/usr/lib/python3/dist-packages/getdevinfo/getdevinfo.py", line 97, in get_info
    linux.get_info()
  File "/usr/lib/python3/dist-packages/getdevinfo/linux.py", line 131, in get_info
    get_partition_info(subnode, host_disk)
  File "/usr/lib/python3/dist-packages/getdevinfo/linux.py", line 302, in get_partition_info
    DISKINFO[volume]["FileSystem"] = get_file_system(subnode)
  File "/usr/lib/python3/dist-packages/getdevinfo/linux.py", line 828, in get_file_system
    if diskname != "Unknown":
UnboundLocalError: local variable 'diskname' referenced before assignment"

29/03/2021 08:25:17 PM - DDRescue-GUI - ERROR: GetDiskInformation().get_info(): Error: invalid syntax (<unknown>, line 1)
29/03/2021 08:25:17 PM - DDRescue-GUI - INFO: MainWindow().receive_diskinfo(): Getting new Disk information...
29/03/2021 08:25:17 PM - DDRescue-GUI - INFO: MainWindow().update_file_choices(): Updating the GUI with the new Disk information...
29/03/2021 08:25:17 PM - DDRescue-GUI - INFO: MainWindow().update_file_choices(): Updating choiceboxes...
29/03/2021 08:25:17 PM - DDRescue-GUI - DEBUG: MainWindow().update_status_bar(): New status bar message: Ready.
29/03/2021 08:25:17 PM - DDRescue-GUI - DEBUG: DiskInfoWindow().__init__(): Creating widgets...
29/03/2021 08:25:17 PM - DDRescue-GUI - DEBUG: DiskInfoWindow().__init__(): Setting up sizers...
29/03/2021 08:25:17 PM - DDRescue-GUI - DEBUG: DiskInfoWindow().__init__(): Binding events...
29/03/2021 08:25:17 PM - DDRescue-GUI - DEBUG: DiskInfoWindow().__init__(): Updating list ctrl with Disk info already present...
29/03/2021 08:25:17 PM - DDRescue-GUI - DEBUG: DiskInfoWindow().update_list_ctrl(): Clearing all objects in list ctrl...
29/03/2021 08:25:17 PM - DDRescue-GUI - DEBUG: DiskInfoWindow().update_list_ctrl(): Inserting columns into list ctrl...
29/03/2021 08:25:17 PM - DDRescue-GUI - DEBUG: DiskInfoWindow().update_list_ctrl(): Adding Disk info to list ctrl...
29/03/2021 08:25:17 PM - DDRescue-GUI - INFO: DiskInfoWindow().__init__(): Ready. Waiting for events...
29/03/2021 08:25:19 PM - DDRescue-GUI - INFO: MainWindow().check_for_updates(): Checking for updates...
29/03/2021 08:25:19 PM - Tools.core - DEBUG: start_process(): Starting process: notify-send DDRescue-GUI Checking for updates... -i /usr/share/pixmaps/ddrescue-gui.png
29/03/2021 08:25:19 PM - Tools.core - DEBUG: start_process(): Process: notify-send DDRescue-GUI Checking for updates... -i /usr/share/pixmaps/ddrescue-gui.png: Return Value: 0, output: "

"

29/03/2021 08:25:20 PM - DDRescue-GUI - WARNING: MainWindow().check_for_updates(): No update required.Sending notification...
29/03/2021 08:25:20 PM - Tools.core - DEBUG: start_process(): Starting process: notify-send DDRescue-GUI Up to date -i /usr/share/pixmaps/ddrescue-gui.png
29/03/2021 08:25:20 PM - Tools.core - DEBUG: start_process(): Process: notify-send DDRescue-GUI Up to date -i /usr/share/pixmaps/ddrescue-gui.png: Return Value: 0, output: "

"

29/03/2021 08:25:27 PM - DDRescue-GUI - INFO: DiskInfoWindow().on_exit(): Closing DiskInfoWindow...
29/03/2021 08:25:35 PM - DDRescue-GUI - INFO: MainWindow().get_diskinfo(): Getting new Disk information...
29/03/2021 08:25:35 PM - DDRescue-GUI - DEBUG: MainWindow().update_status_bar(): New status bar message: Getting new Disk information... Please wait...
29/03/2021 08:25:35 PM - Tools.core - DEBUG: start_process(): Starting process: pkexec /usr/share/ddrescue-gui/Tools/helpers/runasroot_linux_getdevinfo.sh /usr/bin/python3 /usr/share/ddrescue-gui/Tools/run_getdevinfo.py
29/03/2021 08:25:35 PM - Tools.core - DEBUG: start_process(): Process: pkexec /usr/share/ddrescue-gui/Tools/helpers/runasroot_linux_getdevinfo.sh /usr/bin/python3 /usr/share/ddrescue-gui/Tools/run_getdevinfo.py: Return Value: 1, output: "

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/getdevinfo/linux.py", line 808, in get_file_system
    for config in node.configuration.children:
AttributeError: 'NoneType' object has no attribute 'children'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/ddrescue-gui/Tools/run_getdevinfo.py", line 27, in <module>
    sys.stdout.write(str(getdevinfo.getdevinfo.get_info()))
  File "/usr/lib/python3/dist-packages/getdevinfo/getdevinfo.py", line 97, in get_info
    linux.get_info()
  File "/usr/lib/python3/dist-packages/getdevinfo/linux.py", line 131, in get_info
    get_partition_info(subnode, host_disk)
  File "/usr/lib/python3/dist-packages/getdevinfo/linux.py", line 302, in get_partition_info
    DISKINFO[volume]["FileSystem"] = get_file_system(subnode)
  File "/usr/lib/python3/dist-packages/getdevinfo/linux.py", line 828, in get_file_system
    if diskname != "Unknown":
UnboundLocalError: local variable 'diskname' referenced before assignment"

29/03/2021 08:25:35 PM - DDRescue-GUI - ERROR: GetDiskInformation().get_info(): Error: invalid syntax (<unknown>, line 1)
29/03/2021 08:25:35 PM - DDRescue-GUI - INFO: MainWindow().receive_diskinfo(): Getting new Disk information...
29/03/2021 08:25:35 PM - DDRescue-GUI - INFO: MainWindow().update_file_choices(): Updating the GUI with the new Disk information...
29/03/2021 08:25:35 PM - DDRescue-GUI - INFO: MainWindow().update_file_choices(): Updating choiceboxes...
29/03/2021 08:25:35 PM - DDRescue-GUI - DEBUG: MainWindow().update_status_bar(): New status bar message: Ready.
29/03/2021 08:25:37 PM - DDRescue-GUI - DEBUG: DiskInfoWindow().__init__(): Creating widgets...
29/03/2021 08:25:37 PM - DDRescue-GUI - DEBUG: DiskInfoWindow().__init__(): Setting up sizers...
29/03/2021 08:25:37 PM - DDRescue-GUI - DEBUG: DiskInfoWindow().__init__(): Binding events...
29/03/2021 08:25:37 PM - DDRescue-GUI - DEBUG: DiskInfoWindow().__init__(): Updating list ctrl with Disk info already present...
29/03/2021 08:25:37 PM - DDRescue-GUI - DEBUG: DiskInfoWindow().update_list_ctrl(): Clearing all objects in list ctrl...
29/03/2021 08:25:37 PM - DDRescue-GUI - DEBUG: DiskInfoWindow().update_list_ctrl(): Inserting columns into list ctrl...
29/03/2021 08:25:37 PM - DDRescue-GUI - DEBUG: DiskInfoWindow().update_list_ctrl(): Adding Disk info to list ctrl...
29/03/2021 08:25:37 PM - DDRescue-GUI - INFO: DiskInfoWindow().__init__(): Ready. Waiting for events...
29/03/2021 08:25:42 PM - DDRescue-GUI - INFO: DiskInfoWindow().on_exit(): Closing DiskInfoWindow...
29/03/2021 08:25:43 PM - DDRescue-GUI - INFO: MainWindow().on_exit(): Preparing to exit...
29/03/2021 08:25:43 PM - DDRescue-GUI - INFO: MainWindow().on_exit(): Double-checking the exit attempt with the user...
29/03/2021 08:25:45 PM - DDRescue-GUI - INFO: MainWindow().on_exit(): Exiting...
29/03/2021 08:25:54 PM - Tools.core - DEBUG: start_process(): Starting process: cp /tmp/ddrescue-gui.log.1 /home/rozealion/Desktop/a

Question information

Language:
English Edit question
Status:
Expired
For:
DDRescue-GUI Edit question
Assignee:
Hamish McIntyre-Bhatty Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Hamish McIntyre-Bhatty (hamishmb) said (last edit ):
#2

Hi there,

You mean Ubuntu 20.10? Could you post the output from:

"sudo lshw -class disk -class volume -sanitize -xml"

Please?

Revision history for this message
Hamish McIntyre-Bhatty (hamishmb) said :
#3

Apologies for taking a while to see this - re-opened.

Revision history for this message
Hamish McIntyre-Bhatty (hamishmb) said :
#4

Okay, so I'm not sure why this is happening, but I have committed a fix for GetDevInfo that would fix the crash at least.

I can't diagnose further without commandline output though, so I'll close this now.

Revision history for this message
Hamish McIntyre-Bhatty (hamishmb) said :
#5

No response from OP.