Yes, I saw the comment by FirstAirBender and need to have a look at it. This problem was supposed to be fixed by the patch included.
Search Criteria
Package Details: authenticator 4.4.0-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/authenticator.git (read-only, click to copy) |
---|---|
Package Base: | authenticator |
Description: | 2FA code generator for GNOME |
Upstream URL: | https://gitlab.gnome.org/World/Authenticator |
Keywords: | 2FA authentication gnome |
Licenses: | GPL3 |
Submitter: | lll2yu |
Maintainer: | lika (Stetsed) |
Last Packager: | Stetsed |
Votes: | 28 |
Popularity: | 0.007156 |
First Submitted: | 2018-03-23 18:23 (UTC) |
Last Updated: | 2023-11-13 15:35 (UTC) |
Dependencies (11)
- gst-plugin-pipewire (gst-plugin-pipewire-gitAUR, gst-plugin-pipewire-full-gitAUR)
- gst-plugins-bad (gst-plugins-bad-gitAUR)
- libadwaita (libadwaita-gitAUR, libadwaita-testingAUR, libadwaita-without-adwaita-gitAUR)
- libsecret
- pipewire (pipewire-full-gitAUR, pipewire-gitAUR)
- zbar (zbar-gitAUR)
- cargo (rust-nightly-binAUR, cargo-gitAUR, rustup-gitAUR, rust, rustup) (make)
- clang (llvm-rocm-gitAUR, llvm-gitAUR, clang-minimal-gitAUR) (make)
- git (git-gitAUR) (make)
- meson (meson-gitAUR, meson-rustAUR) (make)
- appstream-glib (appstream-glib-gitAUR) (check)
Required by (0)
Sources (1)
lika commented on 2021-01-18 08:53 (UTC)
alesasnouski commented on 2021-01-18 08:02 (UTC) (edited on 2021-01-18 08:04 (UTC) by alesasnouski)
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/Authenticator/widgets/window.py", line 79, in add_account
add_window = AddAccountWindow()
File "/usr/lib/python3.9/site-packages/Authenticator/widgets/accounts/add.py", line 41, in __init__
self.init_template('AddAccountWindow')
TypeError: <lambda>() takes 0 positional arguments but 1 was given
FirstAirBender commented on 2021-01-15 03:55 (UTC)
Trying to add a new account button gives the following error:
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/Authenticator/widgets/window.py", line 79, in add_account
add_window = AddAccountWindow()
File "/usr/lib/python3.9/site-packages/Authenticator/widgets/accounts/add.py", line 41, in __init__
self.init_template('AddAccountWindow')
TypeError: <lambda>() takes 0 positional arguments but 1 was given
lika commented on 2020-12-12 20:53 (UTC) (edited on 2020-12-12 20:54 (UTC) by lika)
Hello there,
I had to upgrade python-yoyo-migrations
to 7.2 because it was flagged out-of-date.
Because this package depends on it, there could potentially be problems due to this update; please comment if you experience any trouble.
gr211 commented on 2020-07-27 23:47 (UTC)
Hi @talone
thanks for fixing this, got so fed up with it I wrote my own clone in rust
https://aur.archlinux.org/packages/authenticator-rs-bin/
But still I like this one. Was wondering though, similar fixes have been made upstream, just not released as a version (you probably noticed that too actually):
https://gitlab.gnome.org/World/Authenticator/-/commits/master/
Since the original author does not seem upbeat about creating a new release, would it make it easier somehow to create a patch out of those commits above, ie a la
https://stackoverflow.com/questions/6658313/how-to-generate-a-git-patch-for-a-specific-commit
git diff tag1 tag2 -- > the-patch.diff
in lieu of remove_references.patch ?
Cheers
lika commented on 2020-07-27 13:52 (UTC)
@rafaelff: that's a good idea; anyway, because this is (supposedly) temporary, I think it can stay like that for now, but thanks for noticing it.
rafaelff commented on 2020-07-27 12:25 (UTC)
@talone: FYI, you could run git apply "$srcdir"/remove_references.patch
from inside $pkgname
dir instead of copying it.
lika commented on 2020-07-27 11:39 (UTC)
Hi everyone,
I am the new maintainer of the package, and just made it work today (no workaround needed anymore); no specific update, simply a bugfix.
kaipee2 commented on 2020-05-12 14:24 (UTC) (edited on 2020-05-12 14:26 (UTC) by kaipee2)
Upstream bug report for lambda TypeError: (https://gitlab.gnome.org/World/Authenticator/-/issues/177)
Developer comment:
Seems to be an issue in the code itself, I shouldn't be calling init_template at all
The following disables all calls to init_template
and allows the application to launch
grep -rl "init_template" /usr/lib/python3.*/site-packages/Authenticator/ | sudo xargs sed -i 's/self.init_template/#self.init_template/g'
aorth commented on 2020-05-07 10:47 (UTC)
Currently failing:
$ authenticator
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/Authenticator/application.py", line 208, in _is_locked_changed
Window.get_default().refresh_view()
File "/usr/lib/python3.8/site-packages/Authenticator/widgets/window.py", line 70, in get_default
Window.instance = Window()
File "/usr/lib/python3.8/site-packages/Authenticator/widgets/window.py", line 55, in __init__
self.init_template('Window')
TypeError: <lambda>() takes 0 positional arguments but 1 was given
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/Authenticator/application.py", line 77, in do_activate
window = Window.get_default()
File "/usr/lib/python3.8/site-packages/Authenticator/widgets/window.py", line 70, in get_default
Window.instance = Window()
File "/usr/lib/python3.8/site-packages/Authenticator/widgets/window.py", line 55, in __init__
self.init_template('Window')
TypeError: <lambda>() takes 0 positional arguments but 1 was given
Pinned Comments
Stetsed commented on 2023-11-13 15:46 (UTC) (edited on 2023-11-13 15:48 (UTC) by Stetsed)
Hello,
I was added as a co-maintainer to maintain this package which I had the willingness to do at the time due to me using the package myself however due to me stepping away from it I don't check for updates etc as frequently as can be noted with the recent increase in time it took for a patch to be submitted.
I am looking for somebody to replace me as co-maintainer due to this, if you are willing to do this please contact me at arch@alias.selfhostable.net. Until one can be found I will continue to maintain this package however it might take longer than usual.
Have a pleasant day, Stetsed