Displaying 20 results from an estimated 2000 matches similar to: "Python XML parsing of domain descriptions?"
2015 Apr 11
1
XML Parser failing due to cryptic Serial Number.
I set virt-manager in qemu:///system space and tried to add new VM but it didn't proceed. Found out serial in crypic form.
# cat /sys/devices/virtual/dmi/id/product_serial
ÿÿÿÿÿÿÿ
#virt-manager --debugTraceback (most recent call last):
File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 225, in _reparse_xml
self._xmlobj = self._build_xmlobj(self._get_raw_xml())
2007 Jul 30
1
'non-standard' folder names in R package
Hi list,
I use a .xml file for a function's demo in the R package I'm creating.
Since it doesn't belong to any of the 'standard' folders, i.e. those
mentioned in the 'Writing R Extension', I put it in a folder call "myXML",
much like the 'iris.xl' file in 'xls' folder from 'gdata' package, for
example. After running R CMD build,
2014 Mar 26
1
Recreating nwfilter rules without a restart
Let's say I have some iptables rules defined to restrict guest traffic.
If I restart the hosts firewall 'service iptables restart', all the
guest-specific rules get blown away.
Is there a way to reapply all the guest firewall rules, without
restarting each individual guest?
It looks like if I edit a nwfilter with `virsh nwfilter-edit` it goes
and reapplies the rules to all the
2013 Sep 11
4
getting array of hostnames of clients
I need to get an array of hostnames of clients of the puppet server.
There doesn''t seem to be a simple way to do this so I''ve tried a few
methods.
I''ve tried a curl expression in a fact like this:
curl -s -k -H "Accept: yaml"
https://localhost:8140/production/facts_search/search?facts.nodetypet=testnodes
where I''ve got a nodetype fact which works
2008 Mar 25
4
SAXXMLReader
Perhaps the msxml3: Added support for SAXXMLReader causes compilation failure on
my ubuntu gutsy amd64
libxml/SAX2.h: No such file or directory
libxml/SAX2.h was first included from saxreader.c:41
make[2]: [Makefile] Error 1 (ignored)
../../tools/makedep -C. -S../.. -T../.. -I/usr/include/libxml2
-I/usr/include/libxml2 attribute.c cdata.c comment.c docfrag.c domdoc.c
domimpl.c element.c
2015 Mar 22
2
exposed-port option for Icecast behind reverse proxy
Hello,
I didn't want to have to choose between Icecast running on port 80 and all
my Apache virtual hosts, running also on port 80, on my sole external IP
address.
I didn't want either to open port 8000 on my firewall because I wanted all
users being able to reach Icecast even the ones behind enterprise firewalls.
So I managed to run Apache 2.2 listening on port 80 and Icecast 2.3.2
2012 Feb 04
1
combining data structures
Group
It's unlikely I'm trying this the best way, but I'm trying to create a
data structure from elements like
nNode = 2
nn = vector("list",nNode)
nn[[1]] = list(Node = "1", Connect.up = c(NULL), Connect.down = c(2,3))
nn[[2]] = list(Node = "2", Connect.up = c(1), Connect.down = c(4,5))
.... #( and eventually many more nodes)
NodeList =
2006 Mar 16
20
help with each
can you please tell me why this is not working? i got the example for how
to use each online and copied it to a t (except i added the if). its
telling me items.each does not exist.
var items = document.getElementsByClassName(''editView'');
if (items.length > 0){
items.each(function (result){
thisid = result.id;
thiskey = thisid.replace(/se_item_/gi, '''');
2013 Jan 29
2
converting XML document to table or dataframe
I am a relatively new user to R, and I am trying to learn more about
converting data in an XML document into "2-dimensional format" such as a
table or array. I might eventually wish to export this data into a
relational database such as SQL, and/or to work with this data within the R
package.
My sample XML document is located at "
2005 Aug 24
1
SV: Fax to email using mime-contruct
I also want to try that asterisk guide. But i'm not sure if i understood it correctly.
What exactly do i need to do? Do i need to compile Asterisk with the spanDSP plugin or just configure extensions.conf? The URL to spanDSP in the guide wasn't working.
I also use a traditional internet line to recieve calls and hopefully i will get Fax working soon.
This is so confusing.
Thanks,
Arne
2017 Sep 10
4
Corosync on a home network
I've been trying to build a model cluster using three virtual machines
on my home server. Each VM boots off its own dedicated partition
(CentOS 7.3). One partition is designated to be the common /home
partition for the VMs, (on the real machine it will mount as /cluster).
I'm intending to run GFS2 on the shared partition, so I need to
configure DLM and corosync. That's where I'm
2010 Sep 06
2
Adding Configuration Options
So, I'm in the middle of understanding how the icecast.xml file is parsed,
and how the settings for a specific mount point are read.
In cfgfile.c - _parse_mount() I've added the following lines:
} else if (xmlStrcmp (node->name, XMLSTR("playlist-notify-uri")) == 0) {
mount->playlist_notify_uri = (char *)xmlNodeListGetString (doc,
node->xmlChildrenNode, 1);
}
2005 Dec 20
9
Performance issues with Prototype
Hi
I''ve tried to use Prototype as a base for few large intranet
applications I''m working on. Unfortunately I encountered some
serious performance problems when working with Internet Explorer.
It''s really sluggish when it comes to DOM operations and Prototype
could really benefit from some small optimizations. I created a
testase to show a difference between my optimized
2012 Oct 23
3
[LLVMdev] precondition suggestion to LLVM
Thank you, it was what I really was searching for :)
However, I don't know if I well understood. I've find this link in the second link which seemed what i was looking for: http://nondot.org/sabre/LLVMNotes/BuiltinUnreachable.txt .If I put around the code block (inside my function with precondition (x>0 && y>0)) a contruct like that that use __builtin_unreachable:
int foo(int
2008 Dec 20
2
Setup ReceiveFax(), fax2mail, mime-construct - but now Sendmail :(
Using 1.6 on Fedora Core 9 I'm trying to receive faxes. I've got this far:
[incoming-fax]
exten =>
s,1,Set(FAXFILE=/var/spool/asterisk/fax/${STRFTIME(${EPOCH},,%Y%m%d%H%M)}-0${CALLERIDNUM})
exten => s,2,ReceiveFAX(${FAXFILE}.tif)
exten => s,3,Hangup()
exten=>h,1,System(/usr/local/bin/fax2mail --cid-number "0${CALLERIDNUM}"
--cid-name "home fax"
2012 Oct 23
0
[LLVMdev] precondition suggestion to LLVM
On Mon, Oct 22, 2012 at 9:33 PM, Niko Zarzani <koni10 at hotmail.it> wrote:
> Thank you, it was what I really was searching for :)
>
> However, I don't know if I well understood. I've find this link in the
> second link which seemed what i was looking for:
> http://nondot.org/sabre/LLVMNotes/BuiltinUnreachable.txt .
> If I put around the code block (inside my
2006 May 08
1
file_column - url_for_file_column issue.
Hi,
url_for_file_column @variable, ''name'', takes an instance variable. My
question is, what if I don''t want to have to retrieve the instance variable
every single time but I have the image id, along with its name with me.
Could I contruct that object in a view and pass it to url_for_file_column:
<% @picture = Picture.new %>
@picture.id = ...
2006 Apr 28
1
Beginner Question - <% ... %>
Regarding: <% (some code) %>
I have some suspicions/general ideas about what this contruct is
supposed to do, but can someone
a) tell me what it''s proper name is and
b) explain or point me to a resource which defines it in a formal way?
Thanks in advance,
Bihal
--
Posted via http://www.ruby-forum.com/.
2009 Aug 24
1
[LLVMdev] question about LLVMContext
Hi devs:
I'm trying to do something quite simple, but it seems I need to provide an
LLVMContext& to do it. I'm not sure what the 'proper' LLVMContext would be
in my situation.
I'm writing an analysis that is a FunctionPass. At some point in the pass,
I am given a Value * representing an N-bit integer. My goal is to contruct
two ConstantInt instances, for comparison
2006 Apr 20
1
Mutually Orthogonal Latin Squares
Hi all,
The package crossdes could contruct a complete sets of mutually orthogonal latin squares.
The construction works for prime powers only.
I hope to know whether there is a way to construct a mutually orthogonal Lation square for
10 or other numbers that could not be prime powers.
Thanks for any suggestions.
Best wishes,
Jinsong Zhao