[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-03-29 Thread Barry Warsaw
** Changed in: python-apt Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/711225 Title: subprocess.Popen() crashed with TypeError in _cleanup(): an integer i

[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-03-29 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/python-apt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/711225 Title: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required -- ubuntu-bugs

[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-03-29 Thread Launchpad Bug Tracker
This bug was fixed in the package python-apt - 0.7.100.2ubuntu2 --- python-apt (0.7.100.2ubuntu2) natty; urgency=low [ Barry Warsaw ] * PyFetchProgress::Pulse(): When ignoring a false return value from PyArg_Parse() after running the simple callback pulse(), there can be a

[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-03-29 Thread Martin Pitt
Barry, you are a hero! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/711225 Title: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required -- ubuntu-bugs mailing list ubu

[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-03-29 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-core-dev/python-apt/ubuntu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/711225 Title: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-03-29 Thread Launchpad Bug Tracker
** Branch linked: lp:~mvo/python-apt/mvo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/711225 Title: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required -- ubuntu-bug

[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-03-28 Thread Barry Warsaw
** Changed in: python-apt (Ubuntu Natty) Status: Confirmed => In Progress ** Changed in: python-apt Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/711225

[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-03-28 Thread Colin Watson
** Package changed: python2.7 (Ubuntu Natty) => python-apt (Ubuntu Natty) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/711225 Title: subprocess.Popen() crashed with TypeError in _cleanup(): an inte

Re: [Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-03-28 Thread Barry Warsaw
On Mar 28, 2011, at 10:41 PM, Matthias Klose wrote: >On 25.03.2011 23:17, Barry Warsaw wrote: >> was fun because I also had to disable all the tests in the package build >> because they just took so darn long. > >DEB_BUILD_OPTIONS="nocheck nobench" ... Yes, but sadly I could not get that to work

Re: [Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-03-28 Thread Matthias Klose
On 25.03.2011 23:17, Barry Warsaw wrote: > was fun because I also had to disable all the tests in the package build > because they just took so darn long. DEB_BUILD_OPTIONS="nocheck nobench" ... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-03-28 Thread Barry Warsaw
Note too this has nothing to do with Python 2.7 specifically, it's just a bug in python-apt's use of the Python C API. ** Branch linked: lp:~barry/ubuntu/natty/python-apt/bug-711225 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. http

[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-03-28 Thread Barry Warsaw
So, here's the problem. In python-apt, progress.cc, PyFetchProgress::Pulse(), you have the following code at about line 398: if((result == NULL) || (!PyArg_Parse(result, "b", &res))) { // most of the time the user who subclasses the pulse() // method forgot to add a return {Tru

[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-03-28 Thread Barry Warsaw
As predicted, this was fun, but I believe I've nailed it. It's actually a bug in python-apt. Stay tuned for a merge proposal. ** Also affects: python-apt Importance: Undecided Status: New ** Changed in: python-apt Status: New => Confirmed ** Changed in: python-apt Assigne

[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-03-25 Thread Barry Warsaw
Well, this is definitely going to be a fun one. Here's some status: I know that the exception is getting raised in PyInt_AsLong(). See intobject.c:161 in the Python 2.7 source. I had to rebuild a Python 2.7 with all the relevant TypeErrors containing an extended message string to tell me exactl

[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-03-25 Thread Barry Warsaw
** Changed in: python2.7 (Ubuntu Natty) Assignee: Canonical Foundations Team (canonical-foundations) => Barry Warsaw (barry) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/711225 Title: subproc

[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-03-15 Thread Kate Stewart
** Changed in: python2.7 (Ubuntu Natty) Assignee: (unassigned) => Canonical Foundations Team (canonical-foundations) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/711225 Title: subprocess.Pope

[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-03-03 Thread Martin Pitt
This only happens if jockey tries to update its repository index, i. e. when the machine has never been online. I got this to happen in both kvm and a real machine. You can reproduce this by starting a machine/VM without network, and then ensuring that apt doesn't know about dkms (which jockey uses

[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-03-01 Thread Kate Stewart
** Changed in: python2.7 (Ubuntu Natty) Status: Won't Fix => Confirmed ** Changed in: python2.7 (Ubuntu Natty) Milestone: None => ubuntu-11.04-beta-1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.ne

[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-03-01 Thread Martin Pitt
That actually wasn't the kind of debugging I was hoping for; I added these three prints print '*** subprocess _cleanup' print '*** _active type:', type(_active) print '*** _active:', _active which ideally would appear in the output somewhere. Your output is interesting as well, as it

[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-02-28 Thread Mathieu Pellerin
Martin, apologies for the long delay. I unfortunately was in a hurry to get my computer to a working stag. I apparently did something that fixed the issue and therefore can't provide debugging output. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscri

[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-02-28 Thread Eric Kostrowski
I have also be experiencing the same crash when trying to start jockey- gtk. I reran the backend using the file you provided, Martin, and received the following output: 2011-02-28 22:11:28,583 DEBUG: Updating repository indexes... Exception AttributeError: "'Popen' object has no attribute '_child

[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-02-16 Thread Mathieu Pellerin
I'll do as soon as I go home. Just to clarify the situation, the only step I need to do for it to crash is to start Jockey (either from terminal or from the menu). It crashes before showing the window that displays the list of proprietary drivers to activate/deactivate. -- You received this bug

[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-02-15 Thread Martin Pitt
Ah, so you can reproduce it? This is a complete mystery to me, so can you download attached file into /tmp/, and then run these commands in a Terminal (please copy & paste to keep them exactly like that:) sudo killall jockey-backend sudo PYTHONPATH=/tmp/ /usr/share/jockey/jockey-backend --deb

[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-02-15 Thread Mathieu Pellerin
I'm facing this issue on a brand new installation of latest Natty on my Dell Vostro 3700. It turns out to be a big problem as it prevents me from activating both the NVIDIA and the wireless broadcom drivers. -- You received this bug notification because you are a member of Ubuntu Bugs, which is s

[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-02-14 Thread Barry Warsaw
@Martin, the only way I can think that that would fail is if _active isn't a list but some list-like object that overrode some magic methods. That's probably not the case here, so I don't see how it *could* fail in that way. -- You received this bug notification because you are a member of Ubuntu

[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-02-14 Thread Martin Pitt
Taking off the natty radar, this does look like a weird corner case. ** Changed in: python2.7 (Ubuntu Natty) Status: Incomplete => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/711225

[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-02-14 Thread Martin Pitt
@gojkok: Can you reproduce the crash on your system? @Barry: It doesn't happen for me either, it does look like a weird corner case. Apparently the type error comes from trying to copy the _active_ list with _active[:], but why would this ever fail, given that the start/end indexes are implicit?

[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-02-11 Thread Barry Warsaw
The subprocess module appears to be working just fine for me: % python Python 2.7.1+ (r271:86832, Dec 24 2010, 10:04:43) [GCC 4.5.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from subprocess import * >>> Popen(['apt-cache', 'policy', 'dkms'], stdout=PIPE

[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-02-11 Thread Martin Pitt
Barry, do you have an idea what happens here? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/711225 Title: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required -- ubunt

[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-02-10 Thread Kate Stewart
** Changed in: python2.7 (Ubuntu Natty) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/711225 Title: subprocess.Popen() crashed with TypeError in _cleanup(): an integ

[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-02-02 Thread Kate Stewart
** Also affects: python2.7 (Ubuntu Natty) Importance: Undecided Status: Confirmed ** Tags added: python27 ** Changed in: python2.7 (Ubuntu Natty) Milestone: None => natty-alpha-3 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 711225] Re: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required

2011-02-02 Thread Ubuntu QA Website
** Tags added: iso-testing -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/711225 Title: subprocess.Popen() crashed with TypeError in _cleanup(): an integer is required -- ubuntu-bugs mailing list