Describe the bug
The phone is connected to Debian in File Transfer/Android Auto. The connexion is ok, files can be transfered.
To open RPD breaks the connexion to No Data Transfer on the phone.
Try to selectect File Transfer/Android Auto on the phone again gives the window “All files on the POCO are inaccessible” and break the connexion to No Data Transfer on the phone.
If you have a way to resolve this behavior I’ld be very happy, RPD is a must have for a daily Linux user ( )
Thanx
Additional context
RPD was always working before the last upgrade of my Debian. I use it every week.
To Reproduce
Steps to reproduce the behavior with the informations below :
- Connext the phone to th computer
- Select “File Transfer/Android Auto”
- clone git GitHub - scorpi11/rapid-photo-downloader
- install with
python3 install.py
- launch
rapid-photo-downloader --debug
- See error
Information
- RPD version : rapid-photo-downloader 0.9.33 (from git)
- Distribution: Debian
- Description: Debian GNU/Linux bookworm/sid
- Release: testing/unstable
- Kernel version (ex.
uname -srmo
):Linux 5.16.0-6-amd64 x86_64 GNU/Linux
- Smartphone : Xiaomi POCO X3
- MIUI version 12.5.5Stable
- Output of
rapid-photo-downloader --debug
:
(python3:13531): Gtk-WARNING **: 04:34:41.780: Theme parsing error: gtk.css:1:106: Failed to import: Error opening file /home/ngux/.local/share/gnome-shell/extensions/no-title-bar@jonaspoehler.de/stylesheet.css: No such file or directory
(python3:13531): Gtk-WARNING **: 04:34:41.780: Theme parsing error: gtk.css:2:112: Failed to import: Error opening file /home/ngux/.local/share/gnome-shell/extensions/no-title-bar@jonaspoehler.de/stylesheet-tiled.css: No such file or directory
(python3:13531): Gtk-WARNING **: 04:34:41.780: Theme parsing error: gtk.css:3:113: Failed to import: Error opening file /home/ngux/.local/share/gnome-shell/extensions/no-title-bar@franglais125.gmail.com/stylesheet.css: No such file or directory
(python3:13531): Gtk-WARNING **: 04:34:41.780: Theme parsing error: gtk.css:4:119: Failed to import: Error opening file /home/ngux/.local/share/gnome-shell/extensions/no-title-bar@franglais125.gmail.com/stylesheet-tiled.css: No such file or directory
(python3:13531): Gtk-WARNING **: 04:34:41.783: Theme parsing error: gtk.css:1969:72: The :insensitive pseudo-class is deprecated. Use :disabled instead.
(python3:13531): Gtk-WARNING **: 04:34:41.783: Theme parsing error: gtk.css:1969:117: The :insensitive pseudo-class is deprecated. Use :disabled instead.
(python3:13531): Gtk-WARNING **: 04:34:41.783: Theme parsing error: gtk.css:1993:72: The :insensitive pseudo-class is deprecated. Use :disabled instead.
(python3:13531): Gtk-WARNING **: 04:34:41.783: Theme parsing error: gtk.css:1993:117: The :insensitive pseudo-class is deprecated. Use :disabled instead.
INFO Rapid Photo Downloader is starting
INFO Rapid Photo Downloader: 0.9.33
INFO Platform: Linux-5.16.0-6-amd64-x86_64-with-glibc2.33
INFO Memory: 3.56 GB used of 67.25 GB
INFO Confinement: none
INFO Installed using pip: yes
INFO Python: 3.10.4
INFO Python executable: /usr/bin/python3
INFO Qt: 5.15.2
INFO PyQt: 5.15.6 (system package)
INFO SIP: 6.6.1
INFO ZeroMQ: 4.3.4
INFO Python ZeroMQ: 22.3.0 (cython backend)
INFO gPhoto2: 2.5.27
INFO Python gPhoto2: 1.9.0 (system package)
INFO ExifTool: 12.41
INFO pymediainfo: 5.0.3
INFO GExiv2: 0.14.0
INFO Gstreamer: 1.20.1
INFO PyGObject: 3.42.1
INFO psutil: 5.9.0
INFO Show in File Manager: 1.1.4
INFO Exiv2: 0.27.5 (CR3 support enabled)
INFO glibc: 2.33
INFO Arrow: 1.2.2 (system package)
INFO dateutil: 2.8.1
INFO Tornado: 6.1
INFO Can read HEIF/HEIC metadata: yes
INFO Pyheif: 0.7.0
INFO libheif: 1.12.0
INFO iOS support: yes
INFO Session: x11
INFO Desktop scaling: not set
INFO Desktop scaling detection: undetected
INFO Desktop: GNOME (Gnome)
INFO Default file manager: nautilus
DEBUG Available screen geometry: 1920x1080 on 1920x1080 display.
INFO High DPI scaling disabled because no scaled screen was detected
INFO Desktop scaling set to 1.0
DEBUG Fractional scaling not set
DEBUG Window maximized when last run: False
DEBUG Window size: 1262x841
INFO Device autodetection: True
INFO For automatically detected devices, only the contents the following folders will be scanned: DCIM, PRIVATE, MP_ROOT
INFO This Computer is not used as a download source
INFO Photo download location: /home/ngux/Pictures
INFO Video download location: /home/ngux/Videos
INFO Backing up files: False
DEBUG Starting main ExifTool process
DEBUG Validating CPU core count for thumbnail generation...
DEBUG ...6 physical cores detected
DEBUG Starting logging subscription manager...
DEBUG ...logging subscription manager started
DEBUG Stage 2 initialization
DEBUG Starting thumbnail daemon model
DEBUG Running sink for Thumbnail Daemon Manager
DEBUG Stage 3 initialization
DEBUG ...thumbnail daemon model started
DEBUG Starting worker for Thumbnail Daemon Manager
DEBUG Starting thumbnail model...
DEBUG Started '/usr/bin/python3 /home/ngux/.local/lib/python3.10/site-packages/raphodo/thumbnaildaemon.py --receive 41663 --send 36977 --logging 46219' with pid 13601
DEBUG Setting arrow locale to en_GB
DEBUG Running sink for Thumbnail Manager
DEBUG ...thumbnail model started
DEBUG Starting thumbnail load balancer...
DEBUG Started '/usr/bin/python3 /home/ngux/.local/lib/python3.10/site-packages/raphodo/thumbloadbalancer.py --receive 45523 --send 38829 --controller 34451 --logging 46219' with pid 13604
DEBUG Subscribing to logging on port 34475
DEBUG ...thumbnail load balancer started
DEBUG Stage 4 initialization
DEBUG Locale directory: /home/ngux/.local/share/locale
DEBUG Getting gphoto2 context
DEBUG Probing for valid mounts
DEBUG Started '/usr/bin/python3 /home/ngux/.local/lib/python3.10/site-packages/raphodo/thumbnailextractor.py --request 34737 --send 38829 --identity 0 --logging 46219' with pid 13611
DEBUG Media dir is /media/ngux
DEBUG To be recognized, partitions must be mounted under /media/ngux
DEBUG Freedesktop.org thumbnails location: /home/ngux/.cache/thumbnails
DEBUG Started '/usr/bin/python3 /home/ngux/.local/lib/python3.10/site-packages/raphodo/thumbnailextractor.py --request 34737 --send 38829 --identity 1 --logging 46219' with pid 13612
DEBUG Checking path validity
DEBUG Started '/usr/bin/python3 /home/ngux/.local/lib/python3.10/site-packages/raphodo/thumbnailextractor.py --request 34737 --send 38829 --identity 2 --logging 46219' with pid 13613
DEBUG Updating watched paths
DEBUG Subscribing to logging on port 45565
DEBUG Adding to watched paths: /home/ngux
DEBUG Started '/usr/bin/python3 /home/ngux/.local/lib/python3.10/site-packages/raphodo/thumbnailextractor.py --request 34737 --send 38829 --identity 3 --logging 46219' with pid 13616
DEBUG Started '/usr/bin/python3 /home/ngux/.local/lib/python3.10/site-packages/raphodo/thumbnailextractor.py --request 34737 --send 38829 --identity 4 --logging 46219' with pid 13618
DEBUG Started '/usr/bin/python3 /home/ngux/.local/lib/python3.10/site-packages/raphodo/thumbnailextractor.py --request 34737 --send 38829 --identity 5 --logging 46219' with pid 13619
DEBUG Using selector: EpollSelector
DEBUG Laying out main window
DEBUG Setting photo combobox chosen value to Original Filename
DEBUG Updating example photo name in rename panel
DEBUG Setting video combobox chosen value to Original Filename
DEBUG Updating example video name in rename panel
DEBUG Inserting 2 job codes into job code widget
DEBUG Media dir is /media/ngux
DEBUG To be recognized, partitions must be mounted under /media/ngux
DEBUG Rebuilding photo combobox entries...
DEBUG ...8 combobox entries added
INFO photo path /home/ngux is a default value or path to an external volume
DEBUG Rebuilding video combobox entries...
DEBUG ...8 combobox entries added
INFO video path /home/ngux is a default value or path to an external volume
DEBUG Have GIO module: True
DEBUG GVFS (GIO) controls mounts: True
DEBUG Starting GVolumeMonitor...
DEBUG ...GVolumeMonitor started
DEBUG Starting version check
DEBUG Starting download tracker
DEBUG Setting up download update timer
DEBUG Starting offload manager...
DEBUG Running sink for Offload Manager
DEBUG ...offload manager started
DEBUG Starting worker for Offload Manager
DEBUG Starting rename manager...
DEBUG Running sink for Rename and Move File Manager
DEBUG ...rename manager started
DEBUG Starting worker for Rename and Move File Manager
DEBUG Started '/usr/bin/python3 /home/ngux/.local/lib/python3.10/site-packages/raphodo/offload.py --receive 42567 --send 41881 --logging 46219' with pid 13630
DEBUG Starting scan manager...
DEBUG Running sink for Scan Manager
DEBUG ...scan manager started
DEBUG Starting copy files manager...
DEBUG Running sink for Copy Files Manager
DEBUG ...copy files manager started
DEBUG Starting backup manager ...
DEBUG Started '/usr/bin/python3 /home/ngux/.local/lib/python3.10/site-packages/raphodo/renameandmovefile.py --receive 46095 --send 41769 --logging 46219' with pid 13633
DEBUG Running sink for Backup Manager
DEBUG ...backup manager started
DEBUG SELECT uid FROM files WHERE marked=? AND file_type=? [True, <FileType.photo: 1>]
DEBUG SELECT uid FROM files WHERE marked=? AND file_type=? [True, <FileType.video: 2>]
DEBUG Searching for cameras
DEBUG Device serial: 9c7b04c6
DEBUG Detected Xiaomi Mi-2s (id2) (MTP) on port usb:001,020
DEBUG Xiaomi Mi-2s (id2) (MTP) was not already mounted
DEBUG Assigning scan id 0 to POCO X3 NFC
DEBUG INSERT OR REPLACE INTO devices (scan_id, device_name) VALUES (?,?) (0, POCO X3 NFC)
DEBUG Adding POCO X3 NFC to Devices display with scan id 0 at row 0
DEBUG Setting device state for POCO X3 NFC to scanning
DEBUG SELECT uid FROM files WHERE marked=? AND file_type=? [True, <FileType.photo: 1>]
DEBUG SELECT uid FROM files WHERE marked=? AND file_type=? [True, <FileType.video: 2>]
DEBUG Setting progress bar to show scanning activity
DEBUG Setting up non-camera devices
DEBUG Not scanning volume with path /media/ngux/BB because it lacks a folder at the base level that indicates it should be scanned
DEBUG Will not scan BB
DEBUG Started '/usr/bin/python3 /home/ngux/.local/lib/python3.10/site-packages/raphodo/scan.py --receive 42441 --send 45807 --controller 38509 --syncclient 41717 --filter 0 --logging 46219' with pid 13683
DEBUG Subscribing to logging on port 34335
(python3:13630): Gtk-WARNING **: 04:34:43.361: Theme parsing error: gtk.css:1:106: Failed to import: Error opening file /home/ngux/.local/share/gnome-shell/extensions/no-title-bar@jonaspoehler.de/stylesheet.css: No such file or directory
(python3:13630): Gtk-WARNING **: 04:34:43.362: Theme parsing error: gtk.css:2:112: Failed to import: Error opening file /home/ngux/.local/share/gnome-shell/extensions/no-title-bar@jonaspoehler.de/stylesheet-tiled.css: No such file or directory
(python3:13630): Gtk-WARNING **: 04:34:43.362: Theme parsing error: gtk.css:3:113: Failed to import: Error opening file /home/ngux/.local/share/gnome-shell/extensions/no-title-bar@franglais125.gmail.com/stylesheet.css: No such file or directory
(python3:13630): Gtk-WARNING **: 04:34:43.362: Theme parsing error: gtk.css:4:119: Failed to import: Error opening file /home/ngux/.local/share/gnome-shell/extensions/no-title-bar@franglais125.gmail.com/stylesheet-tiled.css: No such file or directory
(python3:13630): Gtk-WARNING **: 04:34:43.365: Theme parsing error: gtk.css:1969:72: The :insensitive pseudo-class is deprecated. Use :disabled instead.
(python3:13630): Gtk-WARNING **: 04:34:43.365: Theme parsing error: gtk.css:1969:117: The :insensitive pseudo-class is deprecated. Use :disabled instead.
(python3:13630): Gtk-WARNING **: 04:34:43.365: Theme parsing error: gtk.css:1993:72: The :insensitive pseudo-class is deprecated. Use :disabled instead.
(python3:13630): Gtk-WARNING **: 04:34:43.365: Theme parsing error: gtk.css:1993:117: The :insensitive pseudo-class is deprecated. Use :disabled instead.
DEBUG Subscribing to logging on port 39047
DEBUG Subscribing to logging on port 44527
DEBUG Subscribing to logging on port 33135
DEBUG Subscribing to logging on port 41549
DEBUG Subscribing to logging on port 33639
DEBUG Subscribing to logging on port 35221
DEBUG Subscribing to logging on port 35811
DEBUG Completed stage 9 initializing main window
DEBUG Subscribing to logging on port 46793
DEBUG Starting new HTTPS connection (1): damonlynch.net:443
DEBUG Window position quirk delta: PyQt5.QtCore.QPoint()
ERROR Xiaomi Mi-2s (id2) (MTP) is already mounted
DEBUG Sending 0 scanned files from POCO X3 NFC to sink
DEBUG https://damonlynch.net:443 "GET /rapid/version.json HTTP/1.1" 200 741
DEBUG Examining mount mtp
DEBUG Examining mount POCO X3 NFC
When force to connect to File Transfer/Android Auto again
DEBUG GIO: POCO X3 NFC volume removed
DEBUG GIO: POCO X3 NFC might be a camera
DEBUG Examining system for removed camera
DEBUG Device removed: POCO X3 NFC
DEBUG Clearing all non-downloaded thumbnails for scan id 0
DEBUG SELECT uid FROM files WHERE scan_id=? AND downloaded=? [0, False]
DEBUG SELECT uid FROM files WHERE scan_id=? AND downloaded=? [0, False]
DEBUG Removing 0 thumbnail and rpd_files rows
DEBUG Purging 0 thumbnails from buffer
DEBUG DELETE FROM files WHERE scan_id=? AND downloaded=? ([0, False])
DEBUG DELETE FROM devices WHERE scan_id=? (0, )
DEBUG Removing 2 rows from Devices display, starting at row 0
INFO Cleaning provisional download folders for POCO X3 NFC
DEBUG Cleaning subfolders created for scan id 0
DEBUG Updating file system model and views
DEBUG Unsubscribing to logging on port 35811
DEBUG Scan Manager worker 0 has stopped
DEBUG Deleting camera device from device collection
DEBUG Scan Manager currently has no workers
DEBUG SELECT uid FROM files WHERE marked=? AND file_type=? [True, <FileType.photo: 1>]
DEBUG SELECT uid FROM files WHERE marked=? AND file_type=? [True, <FileType.video: 2>]
DEBUG -- Device Collection --
DEBUG 0 devices: 0 volumes/cameras (0 cameras), 0 this computer
DEBUG Device states:
DEBUG No devices scanning
DEBUG No devices downloading
DEBUG No devices thumbnailing
DEBUG -- Thumbnail Model --
DEBUG 0 thumbnails (0 marked)
DEBUG 0 not downloaded; 0 downloaded; 0 previously downloaded
DEBUG Active devices: (1 removed)
DEBUG Resetting progress bar
DEBUG SELECT uid FROM files WHERE marked=? AND file_type=? [True, <FileType.photo: 1>]
DEBUG SELECT uid FROM files WHERE marked=? AND file_type=? [True, <FileType.video: 2>]
DEBUG GIO: Volume added POCO X3 NFC. Automount: True
DEBUG POCO X3 NFC is a camera at /dev/bus/usb/001/021
DEBUG Examining mount mtp
DEBUG Examining mount POCO X3 NFC
DEBUG POCO X3 NFC is now mounted
DEBUG Searching for cameras
DEBUG Device serial: 9c7b04c6
DEBUG Detected Xiaomi Mi-2s (id2) (MTP) on port usb:001,021
DEBUG GIO: Attempting to unmount Xiaomi Mi-2s (id2) (MTP)...
DEBUG Successfully unmounted Xiaomi Mi-2s (id2) (MTP)
DEBUG ...successfully unmounted Xiaomi Mi-2s (id2) (MTP)
DEBUG Assigning scan id 1 to POCO X3 NFC
DEBUG INSERT OR REPLACE INTO devices (scan_id, device_name) VALUES (?,?) (1, POCO X3 NFC)
DEBUG Adding POCO X3 NFC to Devices display with scan id 1 at row 0
DEBUG Setting device state for POCO X3 NFC to scanning
DEBUG SELECT uid FROM files WHERE marked=? AND file_type=? [True, <FileType.photo: 1>]
DEBUG SELECT uid FROM files WHERE marked=? AND file_type=? [True, <FileType.video: 2>]
DEBUG Setting progress bar to show scanning activity
DEBUG Started '/usr/bin/python3 /home/ngux/.local/lib/python3.10/site-packages/raphodo/scan.py --receive 42441 --send 45807 --controller 38509 --syncclient 41717 --filter 1 --logging 46219' with pid 14039
DEBUG Subscribing to logging on port 42981
DEBUG Scan 1 worker started
ERROR Unable to access camera POCO X3 NFC: GP_ERROR. Is it locked?
DEBUG Sending 0 scanned files from POCO X3 NFC to sink
DEBUG POCO X3 NFC had been automatically mounted