Package Details: bugmenot 0.1-1

Git Clone URL: https://aur.archlinux.org/bugmenot.git (read-only, click to copy)
Package Base: bugmenot
Description: An unofficial Python package to retrieve credentials from BugMeNot.com
Upstream URL: https://github.com/ptrstn/bugmenot
Licenses: Unlicense
Submitter: synthead
Maintainer: synthead
Last Packager: synthead
Votes: 0
Popularity: 0.000000
First Submitted: 2023-08-03 20:24 (UTC)
Last Updated: 2023-08-03 20:24 (UTC)

Latest Comments

m040601 commented on 2023-08-05 07:10 (UTC) (edited on 2023-08-05 07:14 (UTC) by m040601)

Thanks for creating this PKGBUILD. Can you confirm that you tested it and it is actually working on your system ?

With for example, the first example mentioned on the README, https://github.com/ptrstn/bugmenot

bugmenot oracle.com

I tried and it fails with,

Traceback (most recent call last):
  File "/usr/bin/bugmenot", line 33, in <module>
    sys.exit(load_entry_point('bugmenot==0.1.0', 'console_scripts', 'bugmenot')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/bugmenot/__main__.py", line 24, in main
    print_as_table(credentials)
  File "/usr/lib/python3.11/site-packages/bugmenot/utils.py", line 13, in print_as_table
    widths = max_widths(list_of_dicts)
             ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/bugmenot/utils.py", line 2, in max_widths
    widths = {key: len(str(key)) for key in list_of_dicts[0].keys()}
                                            ~~~~~~~~~~~~~^^^
IndexError: list index out of range

I then checked the online version , https://bugmenot.com/view/oracle.com, and it is working.

I then removed this PKGBUILD and tried the installation with,

pipx install bugmenot`

And got the same error message,

Traceback (most recent call last):
  File "/usr/bin/bugmenot", line 33, in <module>
    sys.exit(load_entry_point('bugmenot==0.1.0', 'console_scripts', 'bugmenot')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/bugmenot/__main__.py", line 24, in main
    print_as_table(credentials)
  File "/usr/lib/python3.11/site-packages/bugmenot/utils.py", line 13, in print_as_table
    widths = max_widths(list_of_dicts)
             ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/bugmenot/utils.py", line 2, in max_widths
    widths = {key: len(str(key)) for key in list_of_dicts[0].keys()}
                                            ~~~~~~~~~~~~~^^^
IndexError: list index out of range

Is this a problem of the tool itself ? Or Archlinux problem ? Or PKGBUILD ? Or my system ?

Thanks in advance.