On Fri, 2011-02-04 at 09:11 +0100, Stefan Urbanek wrote:
> Hi,
>
> I'm trying to fetch 1m+ pages over HTTP from single site. urlgrabber
> seemed like fast solution using "keep alive" connections. However,
> after a while my script fails without any stack trace with: "Fatal
> Python error: dealloca
On Fri, 2011-02-04 at 11:35 -0500, James Antill wrote:
> On Fri, 2011-02-04 at 11:31 -0500, seth vidal wrote:
> > On Fri, 2011-02-04 at 11:24 -0500, James Antill wrote:
>
> > > +
> > > +def safe_iterparse(filename):
> > > +""" Works like iterparse, but hides XML errors (prints a warning).
> >
On Fri, 2011-02-04 at 11:53 -0500, James Antill wrote:
> On Fri, 2011-02-04 at 11:49 -0500, seth vidal wrote:
> > On Fri, 2011-02-04 at 11:37 -0500, James Antill wrote:
> > > On Fri, 2011-02-04 at 11:30 -0500, seth vidal wrote:
> > > > On Fri, 2011-02-04 at 11:24 -0500, James Antill wrote:
> > > >
On Fri, 2011-02-04 at 11:49 -0500, seth vidal wrote:
> On Fri, 2011-02-04 at 11:37 -0500, James Antill wrote:
> > On Fri, 2011-02-04 at 11:30 -0500, seth vidal wrote:
> > > On Fri, 2011-02-04 at 11:24 -0500, James Antill wrote:
> > > > ---
> > > > output.py | 43 +
On Fri, 2011-02-04 at 11:37 -0500, James Antill wrote:
> On Fri, 2011-02-04 at 11:30 -0500, seth vidal wrote:
> > On Fri, 2011-02-04 at 11:24 -0500, James Antill wrote:
> > > ---
> > > output.py | 43 ++-
> > > 1 files changed, 34 insertions(+), 9 deletion
On Fri, 2011-02-04 at 11:30 -0500, seth vidal wrote:
> On Fri, 2011-02-04 at 11:24 -0500, James Antill wrote:
> > ---
> > output.py | 43 ++-
> > 1 files changed, 34 insertions(+), 9 deletions(-)
>
> fine with this patch except for why it is named '_hpkg2
On Fri, 2011-02-04 at 11:31 -0500, seth vidal wrote:
> On Fri, 2011-02-04 at 11:24 -0500, James Antill wrote:
> > +
> > +def safe_iterparse(filename):
> > +""" Works like iterparse, but hides XML errors (prints a warning). """
> > +try:
> > +for event, elem in safe_iterparse(infile
On Fri, 2011-02-04 at 11:24 -0500, James Antill wrote:
> ---
> yum/update_md.py | 11 ++-
> 1 files changed, 10 insertions(+), 1 deletions(-)
>
> diff --git a/yum/update_md.py b/yum/update_md.py
> index 83e56c6..619250e 100644
> --- a/yum/update_md.py
> +++ b/yum/update_md.py
> @@ -32,6
On Fri, 2011-02-04 at 11:24 -0500, James Antill wrote:
> ---
> output.py | 43 ++-
> 1 files changed, 34 insertions(+), 9 deletions(-)
>
fine with this patch except for why it is named '_hpkg2from_repo'
why the 2?
Is there an _hpkgfrom_repo somewhere
---
output.py | 43 ++-
1 files changed, 34 insertions(+), 9 deletions(-)
diff --git a/output.py b/output.py
index 04b718b..08fe0e3 100755
--- a/output.py
+++ b/output.py
@@ -1619,6 +1619,18 @@ to exit.
self._historyInfoCmd(mobj)
+def
---
yum/update_md.py | 11 ++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/yum/update_md.py b/yum/update_md.py
index 83e56c6..619250e 100644
--- a/yum/update_md.py
+++ b/yum/update_md.py
@@ -32,6 +32,15 @@ import Errors
import rpmUtils.miscutils
+
+def safe_iterp
On Fri, Feb 4, 2011 at 9:11 AM, Stefan Urbanek wrote:
> Hi,
>
> I'm trying to fetch 1m+ pages over HTTP from single site. urlgrabber seemed
> like fast solution using "keep alive" connections. However, after a while my
> script fails without any stack trace with: "Fatal Python error: deallocating
Hi,
I'm trying to fetch 1m+ pages over HTTP from single site. urlgrabber seemed
like fast solution using "keep alive" connections. However, after a while my
script fails without any stack trace with: "Fatal Python error: deallocating
None"
Here is isolated python code that fails (for simplific
13 matches
Mail list logo