** 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
** 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
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
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
** 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
** 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
** 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
** 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
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
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
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
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
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
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
** 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
** 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
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
** 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
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
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
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
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
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
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
@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
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
@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?
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
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
** 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
** 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
** 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
32 matches
Mail list logo