[Bug 51149] Re: popularity-contest does not work out of the box

2007-06-18 Thread Michael Vogt
This is fixed in feisty/gutsy, closing here too.

** Changed in: popularity-contest (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
popularity-contest does not work out of the box
https://bugs.launchpad.net/bugs/51149
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 51149] Re: popularity-contest does not work out of the box

2007-03-02 Thread Brian Murray
I tested with 1.33ubuntu2 and had the same failure with the cronjob in
/etc/cron.weekly/popularity-contest.  I then upgraded to 1.33ubuntu2.2
from edgy-proposed and the cronjob completed and there was also a log
file in /var/log/popularity-contest so it looks good to me.

** Tags added: verification-done

** Tags removed: verification-needed

-- 
popularity-contest does not work out of the box
https://launchpad.net/bugs/51149

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 51149] Re: popularity-contest does not work out of the box

2007-02-02 Thread Martin Pitt
SRU is already handled in bug 35291, closing backports tasks.

** Changed in: popularity-contest (Ubuntu Dapper)
   Status: Unconfirmed => Rejected

** Changed in: popularity-contest (Ubuntu Edgy)
   Status: Unconfirmed => Rejected

-- 
popularity-contest does not work out of the box
https://launchpad.net/bugs/51149

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 51149] Re: popularity-contest does not work out of the box

2007-01-30 Thread Martin Pitt
Setting edgy task back to unconfirmed since this has not been fixed in
Feisty yet and I'd like to get the SRU bug list to a trackable state.

** Changed in: popularity-contest (Ubuntu Edgy)
   Status: In Progress => Unconfirmed

-- 
popularity-contest does not work out of the box
https://launchpad.net/bugs/51149

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 51149] Re: popularity-contest does not work out of the box

2007-01-29 Thread Michael Vogt
Thanks Mr Canis for testing this fix!

we discovered that there was indeed another problem that made popcon-
upload return the a "unable to submit report..." even when it did
succseed. The latest version in feisty does fix this issue. And we are
also preparing backports to fix this problem in dapper and feisty. I
will post debdiffs to the bug #35291 to ensure that we also fix the
problem that popcon tries to send mail for some people.

Cheers,
 Michael

-- 
popularity-contest does not work out of the box
https://launchpad.net/bugs/51149

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 51149] Re: popularity-contest does not work out of the box

2007-01-23 Thread Mr Canis
Hello Michael Vogt,
I have ubuntu 6.10 edgy installed. What I did was following. I changed the two 
lines ( 55 and 56 ):

#if setsid /usr/share/popularity-contest/popcon-upload-ubuntu \
#-u $URL -f $POPCON 2>/dev/null ; then
if setsid /usr/share/popularity-contest/popcon-upload \
-u $URL -f $POPCON -C 2>/dev/null ; then

but I the same error appears, after start, at the command prompt,
/etc/cron.weekly/popularity-contest:

Jan 19 10:41:35 laptop popularity-contest: unable to submit report to 
http://popcon.ubuntu.com/popcon-submit.cgi.
Jan 19 10:41:35 laptop popularity-contest: unable to submit report using 
sendmail.
Jan 19 10:41:35 laptop popularity-contest: unable to submit report.

Then I examined the python script. For the result see my message from 
2007-01-21 13:07:43 CET. And with that changes no errors appear.
Perhaps I did something wrong. I questioned that in the message from 2007-01-22 
16:45:43 CET.
What do you think, what happens?
How I mentioned earlier, I don't want make my system incompatible to the Ubuntu 
update mechanism.

Thanks in advance,
  Mr Canis

-- 
popularity-contest does not work out of the box
https://launchpad.net/bugs/51149

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 51149] Re: popularity-contest does not work out of the box

2007-01-23 Thread Michael Vogt

** Attachment added: "Patch to fix the popcon submission problem for dapper"
   
http://librarian.launchpad.net/5831580/popularity-contest_1.31ubuntu2.1.debdiff

-- 
popularity-contest does not work out of the box
https://launchpad.net/bugs/51149

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 51149] Re: popularity-contest does not work out of the box

2007-01-23 Thread Michael Vogt
Uploaded to edgy-proposed

** Changed in: popularity-contest (Ubuntu Edgy)
   Status: Unconfirmed => In Progress

-- 
popularity-contest does not work out of the box
https://launchpad.net/bugs/51149

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 51149] Re: popularity-contest does not work out of the box

2007-01-23 Thread Michael Vogt
Hello Mr. Canis,

thanks for your comment. I looked at the support ticket and it does not
mention that you tried my patch. Could you please elaborate what did not
work for you?

Thanks,
 Michael

-- 
popularity-contest does not work out of the box
https://launchpad.net/bugs/51149

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 51149] Re: popularity-contest does not work out of the box

2007-01-23 Thread Michael Vogt
I also just noticed that this bug (or a different bug) seems to affect
dapper as well. We certainly want to check that.

-- 
popularity-contest does not work out of the box
https://launchpad.net/bugs/51149

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 51149] Re: popularity-contest does not work out of the box

2007-01-23 Thread Colin Watson
Mr Canis: my message was administrative, to do with the stable update
process. Ignore it.

-- 
popularity-contest does not work out of the box
https://launchpad.net/bugs/51149

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 51149] Re: popularity-contest does not work out of the box

2007-01-23 Thread Tollef Fog Heen
Accepted into edgy-proposed.

** Changed in: popularity-contest (Ubuntu)
   Status: In Progress => Fix Committed

** Tags added: verification-needed

-- 
popularity-contest does not work out of the box
https://launchpad.net/bugs/51149

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 51149] Re: popularity-contest does not work out of the box

2007-01-22 Thread Mr Canis
Hello,
what patch is the right, that suggested from Colin Watson or from Michael Vogt? 
Or they
are the same?
The changes from the fix by Michael Vogt, doesn't fix the error on my system ( 
see
my support request https://launchpad.net/ubuntu/+ticket/3249 ). And please see 
my 
explanations from 2007-01-21 13:07:43 CET. With this changes no errors appear.
What shall I do?
I don't want make my system incompatible to the Ubuntu update mechanism. 

For any suggestions, thanks in advance,
  Mr Canis

-- 
popularity-contest does not work out of the box
https://launchpad.net/bugs/51149

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 51149] Re: popularity-contest does not work out of the box

2007-01-22 Thread Michael Vogt
The patch I posted here is used in feisty already.  The reason we used
the -ubuntu version before was that the ubuntu version is older than the
debian version.

-- 
popularity-contest does not work out of the box
https://launchpad.net/bugs/51149

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 51149] Re: popularity-contest does not work out of the box

2007-01-22 Thread Colin Watson
http://librarian.launchpad.net/5581450/popularity-
contest_1.33ubuntu2.1.debdiff approved for edgy-proposed. (Other
cleanups should be done in feisty.)

-- 
popularity-contest does not work out of the box
https://launchpad.net/bugs/51149

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 51149] Re: popularity-contest does not work out of the box

2007-01-21 Thread Mr Canis
Hello,
I did a support request:

https://launchpad.net/ubuntu/+ticket/3249

And by this way I came to this bug report.
The fix as here suggest, doesn't work for me, details see at the support 
request as
described above.
I think I found a other solution but I'm not really sure. Below a description 
what I
did: 

The python script
/usr/share/popularity-contest/popcon-upload-ubuntu
want to read from stdin, but the shell script 
/etc/cron.weekly/popularity-contest
gives the python script the parameter -u and -f. This parameter I have ignored, 
because
the server and filename are hard coded:

ret= post_multipart('popcon.ubuntu.com', '/popcon-submit.cgi', '' ,
data)

This should be changed. If I learn enough about python, perhaps I do so.
~:)

I did following changes:

 #if setsid /usr/share/popularity-contest/popcon-upload-ubuntu \
 # -u $URL -f $POPCON 2>/dev/null ; then
 if setsid /usr/share/popularity-contest/popcon-upload-ubuntu \
< $POPCON 2>/dev/null ; then

Now the python script reads from stdin, so how it expected. The script runs 
with out any
errors. I don't know whether the data comes correctly at the Ubuntu server or 
not. Is
there a way to check this?

Thanks in advance,
 Mr Canis

-- 
popularity-contest does not work out of the box
https://launchpad.net/bugs/51149

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 51149] Re: popularity-contest does not work out of the box

2007-01-07 Thread Dave Love
Michael Vogt <[EMAIL PROTECTED]> writes:

> Attached is a fix that I plan to upload to edgy-proposed. Please test
> and let me know if it works for you.

I assumed there was some reason for not using the Perl version in
Ubuntu.  If you go with that, presumably you should either remove the
-ubuntu version (and get Debian to) or apply my patch to fix it.

It also needs mention of mail submission removed from the doc and the
.conf file.  (The doc also talks about Debian and debian.org in some
places where it should say Ubuntu.)

-- 
popularity-contest does not work out of the box
https://launchpad.net/bugs/51149

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 51149] Re: popularity-contest does not work out of the box

2007-01-03 Thread gokdeniz
Yes this fix seems to work. The script ended normally and netstat showed
an open connection and traffic to popcon.ubuntu...

-- 
popularity-contest does not work out of the box
https://launchpad.net/bugs/51149

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 51149] Re: popularity-contest does not work out of the box

2007-01-03 Thread Michael Vogt
Thanks for your bugreport.

Attached is a fix that I plan to upload to edgy-proposed. Please test
and let me know if it works for you.

Thanks,
 Michael

** Changed in: popularity-contest (Ubuntu)
   Importance: Undecided => High
 Assignee: (unassigned) => Michael Vogt
   Status: Confirmed => In Progress

-- 
popularity-contest does not work out of the box
https://launchpad.net/bugs/51149

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 51149] Re: popularity-contest does not work out of the box

2007-01-03 Thread Michael Vogt

** Attachment added: "Fix for http upload problem"
   
http://librarian.launchpad.net/5581450/popularity-contest_1.33ubuntu2.1.debdiff

** Changed in: popularity-contest (Ubuntu)
   Target: None => edgy-updates

-- 
popularity-contest does not work out of the box
https://launchpad.net/bugs/51149

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 51149] Re: popularity-contest does not work out of the box

2006-12-04 Thread MacIomhair
Thilo Six: that's fine.  The cron job doesn't output anything.

As a follow-up to my previous post, it seems as if this worked.
Packages that I have on my system that weren't in the popcon results
yesterday are there today.

-- 
popularity-contest does not work out of the box
https://launchpad.net/bugs/51149

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 51149] Re: popularity-contest does not work out of the box

2006-12-03 Thread Thilo Six
# ls -l nohup.out
-rw--- 1 root root 0 03.12.2006 21:07 nohup.out


it is emtpy after running it. Is this good or bad?

-- 
popularity-contest does not work out of the box
https://launchpad.net/bugs/51149

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 51149] Re: popularity-contest does not work out of the box

2006-12-03 Thread MacIomhair
Before today, this package hasn't seemed to work at all for me.  HTTP
submission is broken out of the box, and the e-mail address for
submission is broken as well.

I tried a few other fixes (manual, patches submitted with other bugs),
but this is the only fix that seemed to actually transmit something.

Thilo Six, to test the cron script from the command line, use nohup:
$ nohup /etc/cron.weekly/popularity-contest

-- 
popularity-contest does not work out of the box
https://launchpad.net/bugs/51149

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 51149] Re: popularity-contest does not work out of the box

2006-08-16 Thread Michel D'HOOGE
I am no Python expert, but it seems to me that the '-u $URL' part is
ignored. Indeed, everything is hardcoded in the python script. I tried
the 'simple' following line:

# /usr/share/popularity-contest/popcon-upload-ubuntu < /var/log
/popularity-contest

which resulted in 69kb sent (according to tcpdump). This bug could
surely also explains part of bug #35291.

-- 
popularity-contest does not work out of the box
https://launchpad.net/bugs/51149

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 51149] Re: popularity-contest does not work out of the box

2006-07-31 Thread Thilo Six
I also came across this "manual running of cronjob makes it wait
indefinitely" today as i wanted to test it.

With the fix above it seems to work (as i don´t now on which webpage to
look for my data i can´t tell if they are correctly send out and
received).

** Changed in: popularity-contest (Ubuntu)
   Status: Unconfirmed => Confirmed

-- 
popularity-contest does not work out of the box
https://launchpad.net/bugs/51149

--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs