damonlynch / rapid-photo-downloader

Rapid Photo Downloader is the leading photo and video downloader for the Linux desktop.
https://damonlynch.net/rapid
GNU General Public License v3.0
117 stars 31 forks source link

It takes too long to launch the application #60

Closed eoyilmaz closed 2 years ago

eoyilmaz commented 2 years ago

It takes too long to launch the application. Here is the debug output:

/usr/bin/python3 /home/erkan.yilmaz/.local/bin/rapid-photo-downloader --debug /media/erkan.yilmaz/0123-4567
INFO     Rapid Photo Downloader is starting
INFO     Device auto detection turned on from command line using positional PATH argument
INFO     Rapid Photo Downloader: 0.9.28
INFO     Platform: Linux-5.15.15-76051515-generic-x86_64-with-glibc2.34
INFO     Memory: 3.07 GB used of 16.55 GB
INFO     Confinement: none
INFO     Installed using pip: yes
INFO     Python: 3.9.7
INFO     Python executable: /usr/bin/python3
INFO     Qt: 5.15.2
INFO     PyQt: 5.15.4 (system package)
INFO     SIP: 6.1.0.dev2104271705
INFO     ZeroMQ: 4.3.4
INFO     Python ZeroMQ: 20.0.0 (cython backend)
INFO     gPhoto2: 2.5.27
INFO     Python gPhoto2: 1.9.0 (system package)
INFO     ExifTool: 12.16
INFO     pymediainfo: 5.0.3
INFO     GExiv2: 0.12.01
INFO     Gstreamer: 1.18.5
INFO     PyGObject: 3.40.1
INFO     psutil: 5.8.0
INFO     Show in File Manager: 1.1.2
INFO     Exiv2: 0.27.3
INFO     glibc: 2.34
INFO     Arrow: 0.17.0 (system package)
INFO     dateutil: 2.8.1
INFO     Tornado: 6.1
INFO     Can read HEIF/HEIC metadata: yes
INFO     Pyheif: 0.6.1
INFO     libheif: 1.12.0
INFO     iOS support: yes
INFO     Session: x11
INFO     Desktop scaling: not set
INFO     Desktop scaling detection: undetected (xsetting not running)
INFO     Desktop: pop:GNOME (Pop Gnome)
INFO     Default file manager: nautilus
DEBUG    Available screen geometry: 2560x1408 on 2560x1440 display. Default window size: 1280x1196.
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: 1774x983
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: /mnt/NAS/Users/eoyilmaz/Pictures/photos
INFO     Video download location: /mnt/NAS/Users/eoyilmaz/Videos/Videography
INFO     Backing up files: False
DEBUG    Starting main ExifTool process
DEBUG    Validating CPU core count for thumbnail generation...
DEBUG    ...8 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/erkan.yilmaz/.local/lib/python3.9/site-packages/raphodo/thumbnaildaemon.py --receive 41135 --send 37367 --logging 41719' with pid 46640
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/erkan.yilmaz/.local/lib/python3.9/site-packages/raphodo/thumbloadbalancer.py --receive 46479 --send 35573 --controller 42751 --logging 41719' with pid 46643
DEBUG    Subscribing to logging on port 35871
DEBUG    Subscribing to logging on port 46545
DEBUG    ...thumbnail load balancer started
DEBUG    Stage 4 initialization
DEBUG    Started '/usr/bin/python3 /home/erkan.yilmaz/.local/lib/python3.9/site-packages/raphodo/thumbnailextractor.py --request 42373 --send 35573 --identity 0 --logging 41719' with pid 46650
DEBUG    Started '/usr/bin/python3 /home/erkan.yilmaz/.local/lib/python3.9/site-packages/raphodo/thumbnailextractor.py --request 42373 --send 35573 --identity 1 --logging 41719' with pid 46651
DEBUG    Started '/usr/bin/python3 /home/erkan.yilmaz/.local/lib/python3.9/site-packages/raphodo/thumbnailextractor.py --request 42373 --send 35573 --identity 2 --logging 41719' with pid 46652
DEBUG    Started '/usr/bin/python3 /home/erkan.yilmaz/.local/lib/python3.9/site-packages/raphodo/thumbnailextractor.py --request 42373 --send 35573 --identity 3 --logging 41719' with pid 46653
DEBUG    Locale directory: /home/erkan.yilmaz/.local/share/locale
DEBUG    Getting gphoto2 context
DEBUG    Probing for valid mounts
DEBUG    Media dir is /media/erkan.yilmaz
DEBUG    To be recognized, partitions must be mounted under /media/erkan.yilmaz
DEBUG    Freedesktop.org thumbnails location: /home/erkan.yilmaz/.cache/thumbnails
DEBUG    Started '/usr/bin/python3 /home/erkan.yilmaz/.local/lib/python3.9/site-packages/raphodo/thumbnailextractor.py --request 42373 --send 35573 --identity 4 --logging 41719' with pid 46654
DEBUG    Started '/usr/bin/python3 /home/erkan.yilmaz/.local/lib/python3.9/site-packages/raphodo/thumbnailextractor.py --request 42373 --send 35573 --identity 5 --logging 41719' with pid 46655
DEBUG    Checking path validity
DEBUG    Updating watched paths
DEBUG    Adding to watched paths: /mnt/NAS/Users/eoyilmaz/Pictures, /mnt/NAS/Users/eoyilmaz/Videos
DEBUG    Started '/usr/bin/python3 /home/erkan.yilmaz/.local/lib/python3.9/site-packages/raphodo/thumbnailextractor.py --request 42373 --send 35573 --identity 6 --logging 41719' with pid 46656
DEBUG    Started '/usr/bin/python3 /home/erkan.yilmaz/.local/lib/python3.9/site-packages/raphodo/thumbnailextractor.py --request 42373 --send 35573 --identity 7 --logging 41719' with pid 46658
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/erkan.yilmaz
DEBUG    To be recognized, partitions must be mounted under /media/erkan.yilmaz
DEBUG    Rebuilding photo combobox entries...

After waiting in that state for 10 minutes or so the application launches and functions as normal. Changing the SDCard also freezes the application for another 10 minutes. This is PopOS 21.10 with the latest updates. On my other computer with Fedora 35 there is no problem.

EDIT 1:

The debug output continues after 10 minutes:

DEBUG    ...8 combobox entries added
DEBUG    Subscribing to logging on port 45927
INFO     photo path /home/erkan.yilmaz is a default value or path to an external volume
DEBUG    Subscribing to logging on port 37517
DEBUG    Rebuilding video combobox entries...
DEBUG    Subscribing to logging on port 38187

and after couple of minutes later:

DEBUG    Subscribing to logging on port 40413
DEBUG    ...8 combobox entries added
DEBUG    Subscribing to logging on port 36791
INFO     video path /home/erkan.yilmaz is a default value or path to an external volume
DEBUG    Subscribing to logging on port 45253
DEBUG    Subscribing to logging on port 34423
DEBUG    Subscribing to logging on port 39657
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    Started '/usr/bin/python3 /home/erkan.yilmaz/.local/lib/python3.9/site-packages/raphodo/offload.py --receive 33231 --send 46599 --logging 41719' with pid 46989
DEBUG    Starting worker for Rename and Move File Manager
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/erkan.yilmaz/.local/lib/python3.9/site-packages/raphodo/renameandmovefile.py --receive 46433 --send 38325 --logging 41719' with pid 46991
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>]

and continues waiting...

EDIT 2:

here are the rest of the output before the UI is shown:

DEBUG    Subscribing to logging on port 38559
DEBUG    Subscribing to logging on port 44119
DEBUG    Will scan /media/erkan.yilmaz/0123-4567
DEBUG    Assigning scan id 0 to 0123-4567
DEBUG    INSERT OR REPLACE INTO devices (scan_id, device_name) VALUES (?,?) (0, 0123-4567)
DEBUG    Adding 0123-4567 to Devices display with scan id 0 at row 0
DEBUG    Setting device state for 0123-4567 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/erkan.yilmaz/.local/lib/python3.9/site-packages/raphodo/scan.py --receive 37283 --send 33525 --controller 35657 --syncclient 34883 --filter 0 --logging 41719' with pid 47180
DEBUG    Subscribing to logging on port 38975
DEBUG    Scan 0 worker started
INFO     For device 0123-4567, identified paths: /media/erkan.yilmaz/0123-4567/PRIVATE, /media/erkan.yilmaz/0123-4567/DCIM
INFO     Scanning device 0123-4567
DEBUG    Distinguishing approach to timestamp time zones on 0123-4567
INFO     Scanning /media/erkan.yilmaz/0123-4567/PRIVATE on 0123-4567
DEBUG    Unsubscribing to logging on port 38975
DEBUG    Scan Manager currently has no workers
DEBUG    Completed stage 9 initializing main window
DEBUG    Starting new HTTPS connection (1): damonlynch.net:443
DEBUG    No files are marked for download for 0123-4567
DEBUG    Adding 39 rows to db
DEBUG    SELECT uid, marked FROM files ORDER BY mtime ASC
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 device state for 0123-4567 to idle
DEBUG    Resetting progress bar
DEBUG    Setting 0123-4567 checkbox to checked
DEBUG    -- Device Model for Devices --
DEBUG    Known devices: 0123-4567
DEBUG    Row 0: 0123-4567
DEBUG    Row 1: 0123-4567
DEBUG    Spinner states: 0123-4567: scanning
DEBUG    0123-4567: checked
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    1 devices: 1 volumes/cameras (0 cameras), 0 this computer
DEBUG    Device states: 0123-4567: idle
DEBUG    No devices scanning
DEBUG    No devices downloading
DEBUG    No devices thumbnailing
DEBUG    -- Thumbnail Model --
DEBUG    39 thumbnails (39 marked)
DEBUG    39 not downloaded; 0 downloaded; 0 previously downloaded
DEBUG    39 to be generated; 0 generated
DEBUG    Active devices: 0123-4567
DEBUG    -- Device Model for Devices --
DEBUG    Known devices: 0123-4567
DEBUG    Row 0: 0123-4567
DEBUG    Row 1: 0123-4567
DEBUG    Spinner states: 0123-4567: scanning
DEBUG    0123-4567: checked
INFO     Generating Timeline because a download source has finished being scanned
DEBUG    Updating Timeline state from empty to generating
DEBUG    Setting device state for 0123-4567 to thumbnailing
DEBUG    Setting progress bar maximum to 39
DEBUG    SELECT uid FROM files WHERE scan_id=? (0, )
DEBUG    Window position quirk delta: PyQt5.QtCore.QPoint()
DEBUG    Started '/usr/bin/python3 /home/erkan.yilmaz/.local/lib/python3.9/site-packages/raphodo/thumbnailpara.py --receive 38989 --send 35573 --controller 43649 --syncclient 44723 --filter 0 --logging 41719' with pid 47307
INFO     Timeline validation passed
DEBUG    Provisional download folders received
DEBUG    Provisional download folders change detected
DEBUG    Updating file system model and views
DEBUG    Updating Timeline state from generating to generated
DEBUG    UPDATE files SET proximity_col1=?, proximity_col2=? WHERE uid=? (39 operations)
DEBUG    Subscribing to logging on port 45495
INFO     Generating 39 thumbnails for 0123-4567
DEBUG    https://damonlynch.net:443 "GET /rapid/version.json HTTP/1.1" 200 776
DEBUG    Working on task load_from_exif for A7R03109.ARW
DEBUG    Working on task load_from_exif for A7R03129.ARW
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03109.ARW in RPD thumbnail cache
DEBUG    Working on task load_from_exif for A7R03119.ARW
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03129.ARW in RPD thumbnail cache
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03119.ARW in RPD thumbnail cache
DEBUG    Working on task load_from_exif for A7R03139.ARW
DEBUG    Working on task load_from_exif for A7R03114.ARW
DEBUG    Working on task load_from_exif for A7R03124.ARW
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03139.ARW in RPD thumbnail cache
DEBUG    Working on task load_from_exif for A7R03134.ARW
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03114.ARW in RPD thumbnail cache
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03124.ARW in RPD thumbnail cache
DEBUG    Working on task load_from_exif for A7R03144.ARW
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03134.ARW in RPD thumbnail cache
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03144.ARW in RPD thumbnail cache
DEBUG    Working on task load_from_exif for A7R03112.ARW
DEBUG    Working on task load_from_exif for A7R03117.ARW
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03112.ARW in RPD thumbnail cache
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03117.ARW in RPD thumbnail cache
DEBUG    Working on task load_from_exif for A7R03122.ARW
DEBUG    Working on task load_from_exif for A7R03127.ARW
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03122.ARW in RPD thumbnail cache
DEBUG    Working on task load_from_exif for A7R03132.ARW
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03127.ARW in RPD thumbnail cache
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03132.ARW in RPD thumbnail cache
DEBUG    Working on task load_from_exif for A7R03137.ARW
DEBUG    Working on task load_from_exif for A7R03142.ARW
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03137.ARW in RPD thumbnail cache
DEBUG    Working on task load_from_exif for A7R03146.ARW
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03142.ARW in RPD thumbnail cache
DEBUG    Working on task load_from_exif for A7R03111.ARW
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03146.ARW in RPD thumbnail cache
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03111.ARW in RPD thumbnail cache
DEBUG    Working on task load_from_exif for A7R03113.ARW
DEBUG    Working on task load_from_exif for A7R03116.ARW
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03113.ARW in RPD thumbnail cache
DEBUG    Working on task load_from_exif for A7R03118.ARW
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03116.ARW in RPD thumbnail cache
DEBUG    Working on task load_from_exif for A7R03121.ARW
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03118.ARW in RPD thumbnail cache
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03121.ARW in RPD thumbnail cache
DEBUG    Working on task load_from_exif for A7R03123.ARW
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03123.ARW in RPD thumbnail cache
DEBUG    Working on task load_from_exif for A7R03126.ARW
DEBUG    Working on task load_from_exif for A7R03128.ARW
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03126.ARW in RPD thumbnail cache
DEBUG    Working on task load_from_exif for A7R03131.ARW
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03128.ARW in RPD thumbnail cache
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03131.ARW in RPD thumbnail cache
DEBUG    Working on task load_from_exif for A7R03133.ARW
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03133.ARW in RPD thumbnail cache
DEBUG    Working on task load_from_exif for A7R03136.ARW
DEBUG    Working on task load_from_exif for A7R03138.ARW
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03136.ARW in RPD thumbnail cache
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03138.ARW in RPD thumbnail cache
DEBUG    Working on task load_from_exif for A7R03141.ARW
DEBUG    Working on task load_from_exif for A7R03143.ARW
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03141.ARW in RPD thumbnail cache
DEBUG    Working on task load_from_exif for A7R03145.ARW
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03143.ARW in RPD thumbnail cache
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03145.ARW in RPD thumbnail cache
DEBUG    Working on task load_from_exif for A7R03147.ARW
DEBUG    Working on task load_from_exif for A7R03110.ARW
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03147.ARW in RPD thumbnail cache
DEBUG    Working on task load_from_exif for A7R03115.ARW
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03110.ARW in RPD thumbnail cache
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03115.ARW in RPD thumbnail cache
DEBUG    Working on task load_from_exif for A7R03120.ARW
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03120.ARW in RPD thumbnail cache
DEBUG    Working on task load_from_exif for A7R03125.ARW
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03125.ARW in RPD thumbnail cache
DEBUG    Working on task load_from_exif for A7R03130.ARW
DEBUG    Working on task load_from_exif for A7R03135.ARW
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03130.ARW in RPD thumbnail cache
DEBUG    Finished phase 1 of thumbnail generation for 0123-4567
DEBUG    Unsubscribing to logging on port 45495
DEBUG    Thumbnail Manager currently has no workers
DEBUG    Working on task load_from_exif for A7R03140.ARW
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03135.ARW in RPD thumbnail cache
DEBUG    Saving thumbnail for file:///media/erkan.yilmaz/0123-4567/DCIM/10020205/A7R03140.ARW in RPD thumbnail cache
DEBUG    Setting device state for 0123-4567 to idle
INFO     Finished thumbnail generation for 0123-4567
DEBUG    Resetting progress bar
DEBUG    -- Thumbnail Model --
DEBUG    39 thumbnails (39 marked)
DEBUG    39 not downloaded; 0 downloaded; 0 previously downloaded
DEBUG    Active devices: 0123-4567
damonlynch commented 2 years ago

What happens if your destinations are not a NAS, i.e. a directory on the computer Rapid Photo Downloader is running on?

eoyilmaz commented 2 years ago

Unmounting /mnt/NAS and removing the ~/.config/Rapid Photo Downloader doesn't help, still waiting the same amount of time to start the application.

damonlynch commented 2 years ago

I've never seen this before. What is the device 0123-4567?

damonlynch commented 2 years ago

For now I'm going to assume something is wrong with your system, rather than with Rapid Photo Downloader itself. I have no idea what could be causing a problem like this. If you can please provide more information as to what is happening on the system while Rapid Photo Downloader is loading. For example, are any of the Rapid Photo Downloader processes consuming a lot of CPU in the background?

eoyilmaz commented 2 years ago

0123-4567

this is the name given to my SDCard by PopOS while automounting it.

eoyilmaz commented 2 years ago

For now I'm going to assume something is wrong with your system, rather than with Rapid Photo Downloader itself. I have no idea what could be causing a problem like this. If you can please provide more information as to what is happening on the system while Rapid Photo Downloader is loading. For example, are any of the Rapid Photo Downloader processes consuming a lot of CPU in the background?

I checked the CPU usage, nothing is consuming a lot of CPU's in the background. If I remember correctly, the Python process that is running the Rapid Photo Downloader is swimming around 1.5% on my 8-core machine.

But, you could be right, there could be something wrong with my system. I was testing another code, from another package, and that code is stuck with socket.recv() command. Could be something completely unrelated. But, after switching to Python 3.10 fixed that error. I thought it is a good idea to run Rapid Photo Downloader with Python 3.10 but install.py seems to stuck in a loop, where it is trying to install pything3-apt. But, this is a completely different issue.

I'll update this ticket if I find anything new, and I'll mainly switch to my Fedora 35 machine for photo work.

damonlynch commented 2 years ago

Thanks for the update. It looks like something is going wrong with either ZeroMQ or something ZeroMQ uses.

Meanwhile, how did you install Python 3.10 on Pop!_OS? The install.py script should account for it, ideally.

eoyilmaz commented 2 years ago

I installed Python 3.10 via apt-get install, nothing fancy.

damonlynch commented 2 years ago

Rapid Photo Downloader on Python 3.10 is not supported on that version of Ubuntu / Pop because other Python packages are not provided by the distro.

I will close this bug for now since it seems to be an issue outside of Rapid Photo Downloader itself.

eoyilmaz commented 2 years ago

Yeah sure, thank you for that, I'll report back if I can get something more specific, thank you :+1: