Bug 2164145 - [abrt] bottles: process_bottle(): manager.py:750:process_bottle:TypeError: 'str' object does not support item assignment
Summary: [abrt] bottles: process_bottle(): manager.py:750:process_bottle:TypeError: 's...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: bottles
Version: 37
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sandro
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:1effda2314fc1bfe368eb636148...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-24 18:04 UTC by melchior.im.dreital
Modified: 2023-06-03 20:39 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-06-03 20:39:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (2.87 KB, text/plain)
2023-01-24 18:04 UTC, melchior.im.dreital
no flags Details
File: cpuinfo (2.77 KB, text/plain)
2023-01-24 18:04 UTC, melchior.im.dreital
no flags Details
File: environ (1.84 KB, text/plain)
2023-01-24 18:04 UTC, melchior.im.dreital
no flags Details
File: mountinfo (5.99 KB, text/plain)
2023-01-24 18:04 UTC, melchior.im.dreital
no flags Details
File: namespaces (172 bytes, text/plain)
2023-01-24 18:04 UTC, melchior.im.dreital
no flags Details
File: open_fds (1.25 KB, text/plain)
2023-01-24 18:04 UTC, melchior.im.dreital
no flags Details

Description melchior.im.dreital 2023-01-24 18:04:03 UTC
Description of problem:
I called Win-SteuerSparErklaerung_28.23.42.exe from Nautilus

Version-Release number of selected component:
bottles-2022.7.14-2.fc37

Additional info:
reporter:       libreport-2.17.4
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.gnome.Nautilus
cmdline:        /usr/bin/python3 /usr/bin/bottles /home/ertophchriswooderish/ownCloud/Documents/Cloud_Haushalt/Haushalt/Steuer/2023_Steuer/Win-SteuerSparErklaerung_28.23.42.exe
crash_function: process_bottle
exception_type: TypeError
executable:     /usr/bin/bottles
interpreter:    python3-3.11.1-3.fc37.x86_64
kernel:         6.1.7-200.fc37.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
manager.py:750:process_bottle:TypeError: 'str' object does not support item assignment

Traceback (most recent call last):
  File "/usr/share/bottles/bottles/main.py", line 185, in do_command_line
    return self.__process_uri(uri)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/bottles/bottles/main.py", line 198, in __process_uri
    dialog = BottlePickerDialog(application=self, arg_exe=uri)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/bottles/bottles/dialogs/bottlepicker.py", line 52, in __init__
    mng.check_bottles()
  File "/usr/share/bottles/bottles/backend/managers/manager.py", line 813, in check_bottles
    process_bottle(b)
  File "/usr/share/bottles/bottles/backend/managers/manager.py", line 750, in process_bottle
    _v["id"] = _uuid
    ~~^^^^^^
TypeError: 'str' object does not support item assignment

Local variables in innermost frame:
bottle: 'PDFXView'
_name: 'PDFXView'
_bottle: '/home/ertophchriswooderish/.local/share/bottles/bottles/PDFXView'
_placeholder: '/home/ertophchriswooderish/.local/share/bottles/bottles/PDFXView/placeholder.yml'
_config: '/home/ertophchriswooderish/.local/share/bottles/bottles/PDFXView/bottle.yml'
f: <_io.TextIOWrapper name='/home/ertophchriswooderish/.local/share/bottles/bottles/PDFXView/bottle.yml' mode='r' encoding='UTF-8'>
conf_file_yaml: {'Arch': 'win64', 'Creation_Date': '2021-10-01 10:51:51.736393', 'Custom_Path': False, 'DLL_Overrides': {}, 'DXVK': 'dxvk-1.9.1', 'Environment': 'Application', 'Environment_Variables': {}, 'External_Programs': {'PDFXVwer': '/home/jean-baptistepoquelin/Downloads/PDFXVwer/PDFXVwer.exe'}, 'Installed_Dependencies': [], 'Latest_Executables': [], 'NVAPI': '', 'Name': 'PDFXView', 'Parameters': {'aco_compiler': False, 'discrete_gpu': False, 'dxvk': True, 'dxvk_hud': False, 'dxvk_nvapi': False, 'environment_variables': '', 'fixme_logs': False, 'fsr': False, 'fsr_level': 5, 'fullscreen_capture': False, 'gamemode': False, 'gamescope': False, 'gamescope_borderless': False, 'gamescope_fps': 0, 'gamescope_fps_no_focus': 0, 'gamescope_fullscreen': True, 'gamescope_game_height': 0, 'gamescope_game_width': 0, 'gamescope_scaling': False, 'gamescope_window_height': 0, 'gamescope_window_width': 0, 'pulseaudio_latency': False, 'sync': 'wine', 'use_runtime': False, 'virtual_desktop': False, 'virtual_desktop_res': '1280x720', 'vkd3d': True}, 'Path': 'PDFXView', 'Programs': {}, 'Runner': 'vaniglia-6.15', 'State': 0, 'Uninstallers': {}, 'Update_Date': '2022-02-18 19:28:30.325320', 'VKD3D': 'vkd3d-v2.4', 'Versioning': False, 'Windows': 'win10', 'WorkingDir': ''}
_temp: {}
_changed: True
k: 'PDFXVwer'
v: '/home/jean-baptistepoquelin/Downloads/PDFXVwer/PDFXVwer.exe'
_uuid: '2655c6e4-04b1-4171-904f-99689bb70558'
_k: '2655c6e4-04b1-4171-904f-99689bb70558'
_v: '/home/jean-baptistepoquelin/Downloads/PDFXVwer/PDFXVwer.exe'
self: <bottles.backend.managers.manager.Manager object at 0x7f23e471c9d0>

Comment 1 melchior.im.dreital 2023-01-24 18:04:06 UTC
Created attachment 1940251 [details]
File: backtrace

Comment 2 melchior.im.dreital 2023-01-24 18:04:07 UTC
Created attachment 1940252 [details]
File: cpuinfo

Comment 3 melchior.im.dreital 2023-01-24 18:04:09 UTC
Created attachment 1940253 [details]
File: environ

Comment 4 melchior.im.dreital 2023-01-24 18:04:10 UTC
Created attachment 1940254 [details]
File: mountinfo

Comment 5 melchior.im.dreital 2023-01-24 18:04:11 UTC
Created attachment 1940255 [details]
File: namespaces

Comment 6 melchior.im.dreital 2023-01-24 18:04:12 UTC
Created attachment 1940256 [details]
File: open_fds

Comment 7 Sandro 2023-01-24 21:49:32 UTC
Thanks for the bug report.

This bug has likely been fixed in the latest upstream release. Bottles in Fedora will be retired soon in favor of the Flatpak package provided by upstream. For more information see bug 2160007.

Comment 8 Fedora Update System 2023-05-20 13:24:40 UTC
FEDORA-2023-328397d034 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-328397d034

Comment 9 Sandro 2023-05-20 13:37:21 UTC
To all reporters, thank you for taking the time to report bugs. Once the update is pushed to testing, there will be a comment in this bug explaining how to install from the testing repo. If you could do so and test the update to see if that fixes the issues you have been experiencing, that would be very much appreciated. Please also leave karma on the update according to your testing results.

Thank you for your patience!

Comment 10 Fedora Update System 2023-05-21 03:35:43 UTC
FEDORA-2023-328397d034 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-328397d034`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-328397d034

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2023-05-29 01:07:17 UTC
FEDORA-2023-328397d034 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Sandro 2023-06-03 20:39:40 UTC
I failed to have Bodhi close the bugs on pushing latest release to stable.


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