Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
315 views

ABRT complains about failure of /usr/sbin/setroubleshootd

On a CentOS 7 machine, I get: ABRT has detected 1 problem(s). For more info run: abrt-cli list --since 1641301975 [root@my_machine ~]# abrt-cli list --since 1641301975 id ...
einpoklum's user avatar
  • 10.8k
1 vote
0 answers
260 views

Identify empty VALUE in XML files and return exit command? [closed]

For instance, I have an XML file with the below content and the "NAME" Author and Assignee(s) have empty "VALUE". The main aim is to implement a check that can be applied to find ...
Vdgoa's user avatar
  • 11
3 votes
5 answers
17k views

How to get particular string in xml using python or perl etc

from here i need to get (username) "pelech" alone this is just example in my xml file i have 1000 users. <user> <login>pelech</login> <password>passwords are saved ...
Ravi's user avatar
  • 39
0 votes
1 answer
5k views

How to extract data from XML File

I am trying to move our Pre-existing PRTG setup to a Nagios setup. The problem is that we currently have over 20k monitors, and so i'm trying to export the sensor information out of the .dat file and ...
Temple Pate's user avatar
1 vote
0 answers
807 views

How to generate a nmap HTML report with python?

Given an .xml output file from a nmap scan, how would you suggest to generate an html report from this file? nmap proposes the following utility with shell (reference): xsltproc xsltproc <nmap-...
user123456's user avatar
  • 5,268
0 votes
1 answer
343 views

Create Multiple libvirt Volumes From One XML File

I'm using libvirt's virsh vol-create command to create multiple volumes. I've started using Jinja2 templates to help with automating the task for a specific application. In my case, it would help ...
Dave's user avatar
  • 343
7 votes
1 answer
11k views

How to fix "cannot find -lxml2" error while installing 'igraph' for python?

On Ubuntu 15.04 I am trying to install 'igraph' using the following command: pip install python-igraph in order to, well, use the igraph package in python to work with graphs and stuff. However, the ...
Alex's user avatar
  • 5,878
4 votes
1 answer
5k views

Convert xml subtitle file to srt format

I have a xml subtitle that looks like this: <?xml version="1.0" encoding="utf-8" ?><transcript> <Item from="1.16" duration="4.68"><![CDATA[(Dong-hyuk is coming to see you now.) ...
aws's user avatar
  • 41
0 votes
1 answer
2k views

python xml parsing

I have to delete particular tags from an xml file. Sample xml below. <data> <tag:action/> </data> I want to delete all contents between data and /data. The ...
Akhitha's user avatar
  • 43
4 votes
3 answers
12k views

Delete XML node containing certain element

I want to remove all Placemarks from a KML file that contain the element <tessellate>. The following block should be wholly removed: <Placemark> <styleUrl>#m_ylw-pushpin330</...
admirabilis's user avatar
  • 4,792