[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1060654: marked as done (AttributeError: 'dict' object has no attribute 'openai_api_key')



Your message dated Sat, 13 Jan 2024 02:49:05 +0000
with message-id <E1rOU53-00AiKG-QW@fasolo.debian.org>
and subject line Bug#1060654: fixed in debgpt 0.4.94
has caused the Debian Bug report #1060654,
regarding AttributeError: 'dict' object has no attribute 'openai_api_key'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1060654: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1060654
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debgpt
Version: 0.4.93
Severity: important

Dear Maintainer,

Running `debgpt` with OPENAI_API_KEY set results in:
> Traceback (most recent call last):
>   File "/usr/bin/debgpt", line 8, in <module>
>     sys.exit(main())
>              ^^^^^^
>   File "/usr/lib/python3/dist-packages/debgpt/cli.py", line 401, in main
>     ag = parse_args(argv)
>          ^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/debgpt/cli.py", line 67, in parse_args
>     conf = defaults.Config()
>            ^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/debgpt/defaults.py", line 66, in __init__
>     self.toml.openai_api_key = openai_api_key
>     ^^^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: 'dict' object has no attribute 'openai_api_key'


Cheers,

-- 
Stéphane


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'buildd-unstable'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-5-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages debgpt depends on:
ii  python3                 3.11.4-5+b1
ii  python3-bs4             4.12.2-2
ii  python3-openai          1.6.1-2
ii  python3-prompt-toolkit  3.0.43-1
ii  python3-requests        2.31.0+dfsg-1
ii  python3-rich            13.3.1-2
ii  python3-tomli           2.0.1-2

Versions of packages debgpt recommends:
ii  git          1:2.43.0-1
ii  man-db       2.12.0-1
ii  python3-zmq  24.0.1-5+b1
pn  tldr         <none>

Versions of packages debgpt suggests:
pn  python3-torch | python3-torch-cuda | python3-torch-rocm  <none>
pn  python3-transformers                                     <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: debgpt
Source-Version: 0.4.94
Done: Mo Zhou <lumin@debian.org>

We believe that the bug you reported is fixed in the latest version of
debgpt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1060654@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mo Zhou <lumin@debian.org> (supplier of updated debgpt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 12 Jan 2024 21:35:27 -0500
Source: debgpt
Architecture: source
Version: 0.4.94
Distribution: unstable
Urgency: medium
Maintainer: Debian Deep Learning Team <debian-ai@lists.debian.org>
Changed-By: Mo Zhou <lumin@debian.org>
Closes: 1060654
Changes:
 debgpt (0.4.94) unstable; urgency=medium
 .
   * Release v0.4.94. (Closes: #1060654)
     Find the full changelog at /usr/share/doc/debgpt/changelog-full.md.gz
Checksums-Sha1:
 d7135bd24978e91a6ed1ea84f71909ce47ac4cbc 1806 debgpt_0.4.94.dsc
 d6ae55dbde996f0dac3a017fbc38f1a184eee157 23888 debgpt_0.4.94.tar.xz
 70a798439410c2ff90c330f28fcde9e7bc680e44 7923 debgpt_0.4.94_source.buildinfo
Checksums-Sha256:
 1cc62b3051bf5cbeb892691f6c1a15ef40ee9920105c80b2489c752a2a30e75e 1806 debgpt_0.4.94.dsc
 eb3c239b45c2415f12156fe3c58207f94ef15a3ece871c01581e2e86e0866624 23888 debgpt_0.4.94.tar.xz
 198aecbcb5d8c37dee7bf2afd0d63fd7fb5214800b1df20bae0dc458d92031ba 7923 debgpt_0.4.94_source.buildinfo
Files:
 d762708df1ec854e362ec072adb78495 1806 python optional debgpt_0.4.94.dsc
 8eb3387f03ef806e99aab9a86caf6200 23888 python optional debgpt_0.4.94.tar.xz
 445634604f2440c124f1ea3106842dc5 7923 python optional debgpt_0.4.94_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEY4vHXsHlxYkGfjXeYmRes19oaooFAmWh920RHGx1bWluQGRl
Ymlhbi5vcmcACgkQYmRes19oaooErg/+I23WwZ0hyYWfG11KtPLfZRt152Ry/zXX
a68BP54q13sOJlr6iwMt6XoAzWhwdGK8K0YARsQUOBfX0QhxZywvqt5Xl9dGUbID
cJuhvNgQvBoa+M+iIAqVd0MhjEd/cwr0IEicfRZzisEbFM8qyqe8wJrzBbF7KspB
KLvkfxocgGsgZUb2DgxU9hQpL0aBFwAQRtWm8MZ1dW0gQt2prB1+664cvVYCkL6k
KS/5aGwDDF+l0ukW1HfGl5XR/OvNOxBuKhD7qgXCBckRNDDe1yNgywRMhDUXvjQ1
9mVQNXVryNDwDwVl62rPd3mIIk8lKeyCvtWqWqXoHPeeA92hWOcqfMV4Yibef+Sw
Y+0XqLa+n7IPbeGAyni9yM8RQrEOX8qH9N/kVs1LwHsZi8Sa/QOa+woiX1BGy3Qy
7T8K6NJh1aCdY4PPus7Cz4tzCinCTE+Xu3F78wB3K0vla9J6nZ3s/LmiazgUKL3t
iNtkkrzLMwN4ogFaYf36o0d5Qnmz2wzUof4cXV8hOPYK+6fvj+s6bTbinLsBB0qz
+EFId7DlkvSw1hGMLvzO9/QzgDx4oygi9PSY1b88gK++jXr8k/5881WKlJOPeIkn
4+324AS4bXPNE0s+SGgEueG0hmJWZOk/Icx3a9kb7HNEUfGz00nISDJCJg8euC3/
7hpUqMIkkAg=
=fmiV
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: