Public bug reported:

I just tried to `ubuntu-bug ubiquity` on a groovy(20.10) qa-test install
using Xubuntu, however `ubuntu-bug` abended with python errors.

I tried to file this with `ubuntu-bug apport` & again errors (but
scanning it looks identical)

I'm filing this report on my primary box and will apport-collect after
filing, plus copy/paste the details from the actual box.

"UnboundLocalError: local variable 'project' referenced before
assignment"

xubuntu@xubuntu:~$ ubuntu-bug ubiquity
Traceback (most recent call last):
  File "/usr/share/apport/apport-gtk", line 597, in <module>
    app.run_argv()
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 708, in run_argv
    return self.run_report_bug()
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 549, in 
run_report_bug
    self.file_report()
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 1396, in file_report
    url = self.crashdb.get_comment_url(self.report, ticket)
  File "/usr/lib/python3/dist-packages/apport/crashdb_impl/launchpad.py", line 
247, in get_comment_url
    if not project:
UnboundLocalError: local variable 'project' referenced before assignment

xubuntu@xubuntu:~$ ubuntu-bug apport
Traceback (most recent call last):
  File "/usr/share/apport/apport-gtk", line 597, in <module>
    app.run_argv()
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 708, in run_argv
    return self.run_report_bug()
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 549, in 
run_report_bug
    self.file_report()
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 1396, in file_report
    url = self.crashdb.get_comment_url(self.report, ticket)
  File "/usr/lib/python3/dist-packages/apport/crashdb_impl/launchpad.py", line 
247, in get_comment_url
    if not project:
UnboundLocalError: local variable 'project' referenced before assignment


---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu40
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.451
CurrentDesktop: XFCE
DistroRelease: Ubuntu 20.10
LiveMediaBuild: Xubuntu 20.10 "Groovy Gorilla" - Alpha amd64 (20200619)
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
Package: apport 2.20.11-0ubuntu40
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
Tags:  groovy
Uname: Linux 5.4.0-26-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True

** Affects: apport (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-collected groovy

** Tags added: apport-collected groovy

** Description changed:

  I just tried to `ubuntu-bug ubiquity` on a groovy(20.10) qa-test install
  using Xubuntu, however `ubuntu-bug` abended with python errors.
  
  I tried to file this with `ubuntu-bug apport` & again errors (but
  scanning it looks identical)
  
  I'm filing this report on my primary box and will apport-collect after
  filing, plus copy/paste the details from the actual box.
  
- "UnboundLocalError: Local variable 'project' referenced before
- assignment"
+ "UnboundLocalError: Local variable 'project' referenced before assignment"
+ --- 
+ ProblemType: Bug
+ ApportVersion: 2.20.11-0ubuntu40
+ Architecture: amd64
+ CasperMD5CheckResult: pass
+ CasperVersion: 1.451
+ CurrentDesktop: XFCE
+ DistroRelease: Ubuntu 20.10
+ LiveMediaBuild: Xubuntu 20.10 "Groovy Gorilla" - Alpha amd64 (20200619)
+ NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
+ Package: apport 2.20.11-0ubuntu40
+ PackageArchitecture: all
+ ProcEnviron:
+  TERM=xterm-256color
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
+ ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
+ Tags:  groovy
+ Uname: Linux 5.4.0-26-generic x86_64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
+ _MarkForUpload: True

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1884221

Title:
  `ubuntu-bug` fails with "UnboundLocalError: local variable 'project'
  referenced before assignment"

Status in apport package in Ubuntu:
  New

Bug description:
  I just tried to `ubuntu-bug ubiquity` on a groovy(20.10) qa-test
  install using Xubuntu, however `ubuntu-bug` abended with python
  errors.

  I tried to file this with `ubuntu-bug apport` & again errors (but
  scanning it looks identical)

  I'm filing this report on my primary box and will apport-collect after
  filing, plus copy/paste the details from the actual box.

  "UnboundLocalError: local variable 'project' referenced before
  assignment"

  xubuntu@xubuntu:~$ ubuntu-bug ubiquity
  Traceback (most recent call last):
    File "/usr/share/apport/apport-gtk", line 597, in <module>
      app.run_argv()
    File "/usr/lib/python3/dist-packages/apport/ui.py", line 708, in run_argv
      return self.run_report_bug()
    File "/usr/lib/python3/dist-packages/apport/ui.py", line 549, in 
run_report_bug
      self.file_report()
    File "/usr/lib/python3/dist-packages/apport/ui.py", line 1396, in 
file_report
      url = self.crashdb.get_comment_url(self.report, ticket)
    File "/usr/lib/python3/dist-packages/apport/crashdb_impl/launchpad.py", 
line 247, in get_comment_url
      if not project:
  UnboundLocalError: local variable 'project' referenced before assignment

  xubuntu@xubuntu:~$ ubuntu-bug apport
  Traceback (most recent call last):
    File "/usr/share/apport/apport-gtk", line 597, in <module>
      app.run_argv()
    File "/usr/lib/python3/dist-packages/apport/ui.py", line 708, in run_argv
      return self.run_report_bug()
    File "/usr/lib/python3/dist-packages/apport/ui.py", line 549, in 
run_report_bug
      self.file_report()
    File "/usr/lib/python3/dist-packages/apport/ui.py", line 1396, in 
file_report
      url = self.crashdb.get_comment_url(self.report, ticket)
    File "/usr/lib/python3/dist-packages/apport/crashdb_impl/launchpad.py", 
line 247, in get_comment_url
      if not project:
  UnboundLocalError: local variable 'project' referenced before assignment

  
  ---
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu40
  Architecture: amd64
  CasperMD5CheckResult: pass
  CasperVersion: 1.451
  CurrentDesktop: XFCE
  DistroRelease: Ubuntu 20.10
  LiveMediaBuild: Xubuntu 20.10 "Groovy Gorilla" - Alpha amd64 (20200619)
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  Package: apport 2.20.11-0ubuntu40
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
  Tags:  groovy
  Uname: Linux 5.4.0-26-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
  _MarkForUpload: True

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1884221/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to