Bug 1812734

Summary: TypeError: remote_method() takes 4 positional arguments but 5 were given
Product: [Fedora] Fedora Reporter: lnie <lnie>
Component: blivet-guiAssignee: Vojtech Trefny <vtrefny>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: anaconda-maint-list, jkonecny, jonathan, kellin, mkolman, vanmeeuwen+fedora, vponcova, vtrefny, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:4e81e639a09854a852daf49415bbf01190f5d0ae63f453a797c1e7e623138bda;VARIANT_ID=workstation;
Fixed In Version: blivet-gui-2.1.12-3.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-24 17:49:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: dbus.log
none
File: environ
none
File: journalctl
none
File: lsblk_output
none
File: lvm.log
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log none

Description lnie 2020-03-12 01:57:22 UTC
Description of problem:
Boot worklive installer,dnf install blivet-gui-2.1.12-2.fc32 downloaded from koji,
then start "Install to Hard Drive",and try to set a mountpoint to an existing partition

Version-Release number of selected component:
anaconda-core-32.24.2-2.fc32.x86_64

The following was filed automatically by anaconda:
anaconda 32.24.2 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.8/site-packages/blivetgui/communication/client.py", line 98, in __setattr__
    remote_res = self.client.remote_method(self.proxy_id, "__setattr__", (attr_name, value), {})
  File "/usr/lib/python3.8/site-packages/blivetgui/blivetgui.py", line 584, in set_mountpoint
    device.format.mountpoint = user_input.mountpoint
TypeError: remote_method() takes 4 positional arguments but 5 were given

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --method=livecd:/dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img root=live:CDLABEL=Fedora-WS-Live-32-20200307-n-0  rd.live.image rd.live.check quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         5.6.0-0.rc3.git0.1.fc32.x86_64
other involved packages: blivet-gui-runtime-2.1.12-2.fc32.noarch
product:        Fedora
release:        Fedora release 32 (Thirty Two)
release_type:   pre-release
type:           anaconda
version:        32

Comment 1 lnie 2020-03-12 01:57:34 UTC
Created attachment 1669504 [details]
File: anaconda-tb

Comment 2 lnie 2020-03-12 01:57:36 UTC
Created attachment 1669505 [details]
File: anaconda.log

Comment 3 lnie 2020-03-12 01:57:38 UTC
Created attachment 1669506 [details]
File: dbus.log

Comment 4 lnie 2020-03-12 01:57:40 UTC
Created attachment 1669507 [details]
File: environ

Comment 5 lnie 2020-03-12 01:57:49 UTC
Created attachment 1669508 [details]
File: journalctl

Comment 6 lnie 2020-03-12 01:57:51 UTC
Created attachment 1669509 [details]
File: lsblk_output

Comment 7 lnie 2020-03-12 01:57:58 UTC
Created attachment 1669510 [details]
File: lvm.log

Comment 8 lnie 2020-03-12 01:58:00 UTC
Created attachment 1669511 [details]
File: nmcli_dev_list

Comment 9 lnie 2020-03-12 01:58:02 UTC
Created attachment 1669512 [details]
File: os_info

Comment 10 lnie 2020-03-12 01:58:05 UTC
Created attachment 1669513 [details]
File: program.log

Comment 11 lnie 2020-03-12 03:13:50 UTC
Vojtech,
It seems that you need change remote_res = self.client.remote_method(self.proxy_id, "__setattr__", (attr_name, value), {}) to remote_res = self.client.remote_method(self.proxy_id, "__setattr__", (attr_name, value))

in blivetgui/communication/client.py

Comment 12 Fedora Update System 2020-03-12 10:02:46 UTC
FEDORA-2020-a51ca0bf96 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-a51ca0bf96

Comment 13 Vojtech Trefny 2020-03-12 10:06:14 UTC
(In reply to lnie from comment #11)
> Vojtech,
> It seems that you need change remote_res =
> self.client.remote_method(self.proxy_id, "__setattr__", (attr_name, value),
> {}) to remote_res = self.client.remote_method(self.proxy_id, "__setattr__",
> (attr_name, value))
> 
> in blivetgui/communication/client.py

Yes thank you, I forgot I made changes to the client-server communication layer and did the build with only fix for rhbz#1810855 (without including other relevant upstream changes). The new version should work, I tested it this time in Anaconda.

Comment 14 Fedora Update System 2020-03-12 18:50:05 UTC
blivet-gui-2.1.12-3.fc32 has been pushed to the Fedora 32 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-a51ca0bf96

Comment 15 Fedora Update System 2020-03-24 17:49:45 UTC
FEDORA-2020-a51ca0bf96 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.