[lxml-dev] lxml 2.0.1 released
js
ebgssth at gmail.com
Mon Feb 18 14:57:28 CET 2008
Not lxml's problem but my box's?
Could you run it with MacPorts python?
Python 2.4.4 (#1, Feb 12 2008, 23:51:38)
[GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import webbrowser
>>> import lxml.html
>>> lxml.html.parse('http://example.com')
Python(21992) malloc: *** Deallocation of a pointer not malloced:
0x80; This could be a double free(), or free() called with the middle
of an allocated block; Try setting environment variable MallocHelp to
see tools to help debug
<lxml.etree._ElementTree object at 0x14b7dc8>
>>> import lxml.etree
>>> lxml.etree.LXML_VERSION
(2, 0, 1, 0)
>>> lxml.etree.LIBXML_VERSION
(2, 6, 31)
>>> lxml.etree.LIBXSLT_VERSION
(1, 1, 22)
On Feb 18, 2008 10:16 PM, Christian Zagrodnick <cz at gocept.com> wrote:
> On 2008-02-18 14:13:25 +0100, js <ebgssth at gmail.com> said:
>
> > Try import webbrowser first, then use lxml.
> > I don't know why but this makes difference.
>
> Works as well:
>
> >>> import webbrowser
> >>> import lxml.html
> >>> lxml.html.parse('http://example.com')
> <lxml.etree._ElementTree object at 0x6efd28>
>
>
>
>
>
> >
> > On Feb 18, 2008 10:08 PM, Christian Zagrodnick <cz at gocept.com> wrote:
> >>
> >> On 2008-02-16 10:03:38 +0100, js <ebgssth at gmail.com> said:
> >>
> >>>>> A quick question.
> >>>>> Does this version of lxml fixed segfault bug on Mac OSX?
> >>>>
> >>>> I don't get segfaults on OS X. Using Python 2.4 though.
> >>>
> >>> I'm using 10.4.11, Python 2.4.4 by MacPorts.
> >>>
> >>> Python 2.4.4 (#1, Feb 12 2008, 23:51:38)
> >>> [GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
> >>> Type "help", "copyright", "credits" or "license" for more information.
> >>>>>> import webbrowser
> >>>>>> from lxml import etree, html
> >>>>>> etree.LXML_VERSION
> >>> (2, 0, 1, 0)
> >>>>>> html.parse('http://example.com')
> >>> Python(29901) malloc: *** Deallocation of a pointer not malloced:
> >>> 0x80; This could be a double free(), or free() called with the middle
> >>> of an allocated block; Try setting environment variable MallocHelp to
> >>> see tools to help debug
> >>> <lxml.etree._ElementTree object at 0x1481d28>
> >>
> >> % PYTHONPATH=develop-eggs/lxml-2.0.1-py2.4-macosx-10.5-i386.egg
> >> ~/development/python/bin/python2.4
> >> Python 2.4.4 (#1, Dec 14 2007, 15:35:42)
> >> [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
> >> Type "help", "copyright", "credits" or "license" for more information.
> >>>>> import lxml.html
> >>>>> lxml.html.parse('http://example.com')
> >> <lxml.etree._ElementTree object at 0x539788>
> >>>>> import lxml.etree
> >>>>> lxml.etree.LXML_VERSION
> >> (2, 0, 1, 0)
> >>>>> lxml.etree.LIBXML_VERSION
> >> (2, 6, 30)
> >>>>> lxml.etree.LIBXSLT_VERSION
> >> (1, 1, 22)
> >>>>>
> >>
> >> That is with a manually built python; ibxml2, libxslt and lxml built
> >> via buildout.
> >>
> >>
> >>
> >> --
> >> Christian Zagrodnick
> >>
> >> gocept gmbh & co. kg · forsterstrasse 29 · 06112 halle/saale
> >> www.gocept.com · fon. +49 345 12298894 · fax. +49 345 12298891
> >>
> >>
> >>
> >> _______________________________________________
> >> lxml-dev mailing list
> >> lxml-dev at codespeak.net
> >> http://codespeak.net/mailman/listinfo/lxml-dev
>
>
> --
>
> Christian Zagrodnick
>
> gocept gmbh & co. kg · forsterstrasse 29 · 06112 halle/saale
> www.gocept.com · fon. +49 345 12298894 · fax. +49 345 12298891
>
>
>
> _______________________________________________
> lxml-dev mailing list
> lxml-dev at codespeak.net
> http://codespeak.net/mailman/listinfo/lxml-dev
>
More information about the lxml-dev
mailing list