Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

perigrin (3495)

AOL IM: marceusx (Add Buddy, Send Message)

After Middle School Chris bounced through various high schools around the state of Florida for a bit. He ended up getting a BA (in English) from the University of Central Florida at about the time others his age were getting their MAs. His (now) wife, their child, and he went to Europe for a bit (there was a programming job in Scotland) and came back unemployed where upon he got offered a job in St. Paul. He moved on from that job after a few years to one where he was paid to do the things he previously did as a hobby. That sounds much more exciting than it really was. Really his life is based on two kids, two cats, and a bunny.

Journal of perigrin (3495)

Wednesday September 27, 2006
10:12 AM

XML::LibXML Operation in Progress

[ #31137 ]

So I've been playing around with AxKit2 on my laptop. It's a very nice enviroment for playing. Matt and Jorge have done fun things so far. Since I ran into an issue with XML::LibXML twice, before and after the old laptop died, I want to post the solution so I can find it again later. L3 FATAL PLUGIN ERROR: Operation in progressOperation in progressOperation in progressOperation in progressOperation in progressOperation in progress at /opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/XML/ line 530.

Turns out this is libxml trying to lookup external enttiies on the net. Which was failing behind my firewalled/proxy environment. The solution is give libxml net access, in my case by using tsocks and a Socks proxy. Hope this helps.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Just tell libxml2 it should not try to load external entities from the network.

    Obviously that only works if you don’t need them, but you often don’t. F.ex. when processing XHTML documents with a declared DTD, libxml2 will ordinarily try to load the DTDs from the W3C site – not usually intended.

    If you do need external entities, you can still get by without a connection by using a catalog [] to supply them locally.

  • This posting worked for me. In fact, it gave me just the right hints (looking at LibXML's ability to connect to something over the network). This posting was so helpful, I event went so far as to sign up to sign this blog. Thank you!