[Bug 1822672] Re: popularity-contest is broken due to a bad merge with debian

Francis Ginther 1822672 at bugs.launchpad.net
Thu Jun 25 12:32:41 UTC 2020


** Tags added: id-5ef373379a5b5207f00bee55

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to popularity-contest in Ubuntu.
https://bugs.launchpad.net/bugs/1822672

Title:
  popularity-contest is broken due to a bad merge with debian

Status in popularity-contest package in Ubuntu:
  Confirmed

Bug description:
  I was curious how statistics are submitted by popularity-contest, so I
  checked:

  marc at ellen:~$ sudo bash -x /etc/cron.daily/popularity-contest 
  […]
  + for URL in $SUBMITURLS
  + setsid /usr/share/popularity-contest/popcon-upload -u https://popcon.ubuntu.com/popcon-submit.cgi -f /var/log/popularity-contest.new -C
  + logger -t popularity-contest 'unable to submit report to https://popcon.ubuntu.com/popcon-submit.cgi.'
  […]

  When run manually, the error is:

  marc at ellen:~$ /usr/share/popularity-contest/popcon-upload -u https://popcon.ubuntu.com/popcon-submit.cgi -f /var/log/popularity-contest.new -C -d
  Unable to parse url
  Expected 'PeerHost' at /usr/share/popularity-contest/popcon-upload line 75.

  The URL https://popcon.ubuntu.com/popcon-submit.cgi is set in
  /usr/share/popularity-contest/default.conf

  I noticed that /usr/share/popularity-contest/popcon-upload contains
  hardcoded sequences of "http:", so I tried to manually run popcon-
  upload with "-u http://popcon.ubuntu.com/popcon-submit.cgi". Turns
  out, it works:

  marc at ellen:~$ /usr/share/popularity-contest/popcon-upload -u
  http://popcon.ubuntu.com/popcon-submit.cgi -f /var/log/popularity-
  contest.new -C -d

  I suppose this is globally broken since the URL was changed to https,
  but the script was not updated to support https.

  ProblemType: Bug
  DistroRelease: Ubuntu 19.04
  Package: popularity-contest 1.67ubuntu2
  ProcVersionSignature: Ubuntu 5.0.0-8.9-generic 5.0.1
  Uname: Linux 5.0.0-8-generic x86_64
  ApportVersion: 2.20.10-0ubuntu23
  Architecture: amd64
  CurrentDesktop: LXQt
  Date: Mon Apr  1 21:10:33 2019
  InstallationDate: Installed on 2016-01-20 (1166 days ago)
  InstallationMedia: Xubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
  PackageArchitecture: all
  SourcePackage: popularity-contest
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/popularity-contest/+bug/1822672/+subscriptions



More information about the foundations-bugs mailing list