Bug 2217099 - [abrt] variety: on_copyto_changed(): PreferencesVarietyDialog.py:1257:on_copyto_changed:FileNotFoundError: [Errno 2] No such file or directory: '/home/mianosm/Pictures/Wallpapers'
Summary: [abrt] variety: on_copyto_changed(): PreferencesVarietyDialog.py:1257:on_copy...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: variety
Version: 38
Hardware: x86_64
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: MartinKG
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:c4672df1c8a3b267974da0c750e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-23 21:33 UTC by Steven Miano
Modified: 2023-08-08 13:06 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-08 13:06:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (734 bytes, text/plain)
2023-06-23 21:33 UTC, Steven Miano
no flags Details
File: environ (1.35 KB, text/plain)
2023-06-23 21:33 UTC, Steven Miano
no flags Details
File: mountinfo (3.97 KB, text/plain)
2023-06-23 21:33 UTC, Steven Miano
no flags Details
File: open_fds (2.18 KB, text/plain)
2023-06-23 21:33 UTC, Steven Miano
no flags Details
File: namespaces (171 bytes, text/plain)
2023-06-23 21:33 UTC, Steven Miano
no flags Details
File: backtrace (1.64 KB, text/plain)
2023-06-23 21:33 UTC, Steven Miano
no flags Details
File: cpuinfo (2.96 KB, text/plain)
2023-06-23 21:33 UTC, Steven Miano
no flags Details

Description Steven Miano 2023-06-23 21:33:03 UTC
Description of problem:
Killed off the 'variety' application, and then attempted to reluanch it through GNOME. Immediately crashed.

Version-Release number of selected component:
variety-0.8.10-1.fc38

Additional info:
reporter:       libreport-2.17.10
kernel:         6.3.6-200.fc38.x86_64
cmdline:        /usr/bin/python3 /usr/bin/variety --profile /home/mianosm/.config/variety/
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-variety-3198.scope
uid:            1000
reason:         PreferencesVarietyDialog.py:1257:on_copyto_changed:FileNotFoundError: [Errno 2] No such file or directory: '/home/mianosm/Pictures/Wallpapers'
executable:     /usr/bin/variety
type:           Python3
package:        variety-0.8.10-1.fc38
runlevel:       N 5
exception_type: FileNotFoundError
crash_function: on_copyto_changed
interpreter:    python3-3.11.3-2.fc38.x86_64
comment:        Killed off the 'variety' application, and then attempted to reluanch it through GNOME. Immediately crashed.

Truncated backtrace:
PreferencesVarietyDialog.py:1257:on_copyto_changed:FileNotFoundError: [Errno 2] No such file or directory: '/home/mianosm/Pictures/Wallpapers'

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/variety/VarietyWindow.py", line 181, in _delayed
    self.create_preferences_dialog()
  File "/usr/lib/python3.11/site-packages/variety/VarietyWindow.py", line 218, in create_preferences_dialog
    self.preferences_dialog = PreferencesVarietyDialog(parent=self)  # pylint: disable=E1102
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/variety_lib/PreferencesDialog.py", line 40, in __new__
    new_object.finish_initializing(builder, parent)
  File "/usr/lib/python3.11/site-packages/variety/PreferencesVarietyDialog.py", line 94, in finish_initializing
    self.reload()
  File "/usr/lib/python3.11/site-packages/variety/PreferencesVarietyDialog.py", line 354, in reload
    self.on_copyto_enabled_toggled()
  File "/usr/lib/python3.11/site-packages/variety/PreferencesVarietyDialog.py", line 1243, in on_copyto_enabled_toggled
    self.on_copyto_changed()
  File "/usr/lib/python3.11/site-packages/variety/PreferencesVarietyDialog.py", line 1257, in on_copyto_changed
    can_read = os.stat(folder).st_mode | stat.S_IROTH
               ^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/mianosm/Pictures/Wallpapers'

Local variables in innermost frame:
self: <PreferencesVarietyDialog.PreferencesVarietyDialog object at 0x7ff6b8ab0200 (PreferencesVarietyDialog at 0x55c63982bf70)>
folder: '/home/mianosm/Pictures/Wallpapers'
under_encrypted: False
can_write: False

Comment 1 Steven Miano 2023-06-23 21:33:06 UTC
Created attachment 1972323 [details]
File: os_info

Comment 2 Steven Miano 2023-06-23 21:33:07 UTC
Created attachment 1972324 [details]
File: environ

Comment 3 Steven Miano 2023-06-23 21:33:09 UTC
Created attachment 1972325 [details]
File: mountinfo

Comment 4 Steven Miano 2023-06-23 21:33:10 UTC
Created attachment 1972326 [details]
File: open_fds

Comment 5 Steven Miano 2023-06-23 21:33:11 UTC
Created attachment 1972327 [details]
File: namespaces

Comment 6 Steven Miano 2023-06-23 21:33:12 UTC
Created attachment 1972328 [details]
File: backtrace

Comment 7 Steven Miano 2023-06-23 21:33:14 UTC
Created attachment 1972329 [details]
File: cpuinfo

Comment 8 Steven Miano 2023-06-23 21:38:37 UTC
This can be closed (possibly as a WONTFIX), ABRT wasn't as straightforward as Bugzilla on the missing directory, though I do wonder if there shouldn't be some better user interaction and try/catch if a directory is missing.


Note You need to log in before you can comment on or make changes to this bug.