Anope IRC Services => Anope General => Topic started by: andreas on March 24, 2007, 08:44:01 PM

Title: ircservices import script
Post by: andreas on March 24, 2007, 08:44:01 PM
Just posting a script that could be helpful to someone moving to anope from  ircservices ( It is written in python and takes an ircservices xml dump, converting it into sql statements than can populate an anope mysql database to be loaded with the UseRDB option
Title: requires pyxml
Post by: andreas on March 24, 2007, 09:16:12 PM
I should add that the script requires pyxml ( to run.
Post by: G_E on July 22, 2007, 08:46:49 PM
i tried this script on debian etch with python2.4-libxml
but it dosn't work ...

Code: [Select]
Converting character references... Done.
Generating output...Traceback (most recent call last):
  File "./", line 775, in ?
  File "./", line 47, in main
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/drivers/", line 31, in parse
  File "/usr/lib/python2.4/site-packages/_xmlplus/parsers/xmlproc/", line 128, in parse_resource
  File "/usr/lib/python2.4/site-packages/_xmlplus/parsers/xmlproc/", line 203, in read_from
  File "/usr/lib/python2.4/site-packages/_xmlplus/parsers/xmlproc/", line 332, in feed
  File "/usr/lib/python2.4/site-packages/_xmlplus/parsers/xmlproc/", line 91, in do_parse
  File "/usr/lib/python2.4/site-packages/_xmlplus/parsers/xmlproc/", line 357, in parse_end_tag
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/drivers/", line 77, in handle_end_tag
  File "./", line 421, in endElement
  File "./", line 100, in parse
    raise Exception("unknown language: %s" % self.got_text)
Exception: unknown language: 0
Post by: NightStorm on April 07, 2008, 03:49:37 AM
I apologize for digging up an old topic, but this is essentially what I need... something that can import the user and channel database from ircservices xml to Anope SQL.
What is the command string I need to run in order to use this?  Has anyone been successful with it?  Or does anyone know of a different script/program I can use to move my users and channels over from ircservices to Anope?
Title: Re: ircservices import script
Post by: v2px on December 18, 2008, 08:58:19 AM
i'd like to hear some news about that script or any other ideas how i can migrate from ircservices
Title: Re: ircservices import script
Post by: xdr5tuzhrft on December 20, 2008, 05:49:01 PM
I need a working version of this script, too.
Does anybody know a method to convert the IRCServices database to Anope?

It's really important, please help if you know any conversion tool. I google'd but found nothing else. And this script isn't working anymore since the db layouts have changed.