home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   linux.debian.bugs.dist      Ohh some weird Debian bug report thing      28,835 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 27,493 of 28,835   
   Guillem Jover to All   
   Bug#1127831: kamcli: AttributeError conf   
   13 Feb 26 18:30:01   
   
   From: gjover@sipwise.com   
      
   Package: kamcli   
   Version: 2.0.0-2   
   Severity: serious   
   Tags: fixed-upstream trixie forky sid   
      
   [ Used release tags to mark it as affecting stable/testing/unstable,   
     if that's inappropriate, let me know and I can fix, or feel free to   
     correct. ]   
      
   Hi!   
      
   When trying out this package in Debian trixie, I noticed it emits a   
   back trace, such as:   
      
   ,---   
   $ kamcli uptime   
   Traceback (most recent call last):   
     File "/usr/bin/kamcli", line 33, in    
       sys.exit(load_entry_point('kamcli==2.0.0', 'console_scripts', 'kamcli')())   
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^   
     File "/usr/lib/python3/dist-packages/click/core.py", line 1161, in __call__   
       return self.main(*args, **kwargs)   
              ~~~~~~~~~^^^^^^^^^^^^^^^^^   
     File "/usr/lib/python3/dist-packages/click/core.py", line 1082, in main   
       rv = self.invoke(ctx)   
     File "/usr/lib/python3/dist-packages/click/core.py", line 1697, in invoke   
       return _process_result(sub_ctx.command.invoke(sub_ctx))   
                              ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^   
     File "/usr/lib/python3/dist-packages/click/core.py", line 1443, in invoke   
       return ctx.invoke(self.callback, **ctx.params)   
              ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   
     File "/usr/lib/python3/dist-packages/click/core.py", line 788, in invoke   
       return __callback(*args, **kwargs)   
     File "/usr/lib/python3/dist-packages/click/decorators.py", line 92, in   
   new_func   
       return ctx.invoke(f, obj, *args, **kwargs)   
              ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^   
     File "/usr/lib/python3/dist-packages/click/core.py", line 788, in invoke   
       return __callback(*args, **kwargs)   
     File "/usr/lib/python3/dist-packages/kamcli/commands/cmd_uptime.py", line   
   17, in cli   
       command_ctl(ctx, 'core.uptime', [])   
       ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^   
     File "/usr/lib/python3/dist-packages/kamcli/iorpc.py", line 387, in   
   command_ctl   
       if ctx.gconfig.get('jsonrpc', 'transport') == 'socket':   
          ^^^^^^^^^^^   
     File "/usr/lib/python3/dist-packages/kamcli/cli.py", line 93, in gconfig   
       self._gconfig = read_global_config(self.gconfig_paths)   
                       ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^   
     File "/usr/lib/python3/dist-packages/kamcli/cli.py", line 12, in   
   read_global_config   
       parser = configparser.SafeConfigParser()   
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   
   AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did   
   you mean: 'RawConfigParser'?   
   `---   
      
   The same when trying to use other commands such as "dispatch", etc.   
      
   It appears this has been fixed upstream with   
      
   (thanks to Richard Fuchs for digging that up).   
      
   It would be great to fix this also in Debian trixie, as otherwise I'm not   
   sure how it can be used there (although perhaps there's a   
   workaround?).   
      
   Thanks,   
   Guillem   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca