Bug 1812734 - TypeError: remote_method() takes 4 positional arguments but 5 were given
Summary: TypeError: remote_method() takes 4 positional arguments but 5 were given
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: blivet-gui
Version: 32
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vojtech Trefny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:4e81e639a09854a852daf49415b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-12 01:57 UTC by lnie
Modified: 2020-03-24 17:49 UTC (History)
9 users (show)

Fixed In Version: blivet-gui-2.1.12-3.fc32
Clone Of:
Environment:
Last Closed: 2020-03-24 17:49:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (2.38 MB, text/plain)
2020-03-12 01:57 UTC, lnie
no flags Details
File: anaconda.log (17.47 KB, text/plain)
2020-03-12 01:57 UTC, lnie
no flags Details
File: dbus.log (6.21 KB, text/plain)
2020-03-12 01:57 UTC, lnie
no flags Details
File: environ (744 bytes, text/plain)
2020-03-12 01:57 UTC, lnie
no flags Details
File: journalctl (1.00 MB, text/plain)
2020-03-12 01:57 UTC, lnie
no flags Details
File: lsblk_output (2.27 KB, text/plain)
2020-03-12 01:57 UTC, lnie
no flags Details
File: lvm.log (1.17 MB, text/plain)
2020-03-12 01:57 UTC, lnie
no flags Details
File: nmcli_dev_list (1.62 KB, text/plain)
2020-03-12 01:58 UTC, lnie
no flags Details
File: os_info (762 bytes, text/plain)
2020-03-12 01:58 UTC, lnie
no flags Details
File: program.log (44.88 KB, text/plain)
2020-03-12 01:58 UTC, lnie
no flags Details

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.


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