[chirp_users] [CHIRP] #102: Unable to load schema on 2nd chirp (xml) export.
CHIRP Tracker
Sat Apr 30 14:32:37 PDT 2011
#102: Unable to load schema on 2nd chirp (xml) export.
----------------------------------------------+-----------------------------
Reporter: Robert Terzi <rct+chirp@…> | Type: Bug
Status: new | Priority: Stability
Milestone: | Component: Memory Editor
Version: | Keywords:
Platform: Linux |
----------------------------------------------+-----------------------------
When doing a 2nd export to chirp native xml, I get the following error
about failing to find chirp.xsd. The first export succeeds
and the output file is as excepted. CWD is not the chirp directory, chirp
is run by specifying a .../path/to/chirpw
When this happens it never writes the output. However, I have on two
occasions now seen the case where there are no errors, but the XML output
doesn't have any white space.
I/O warning : failed to load external entity "/usr/share/chirp/chirp.xsd"
Failed to locate the main schema resource at '/usr/share/chirp/chirp.xsd'.
Unable to load schema: xmlSchemaParse() failed
Path: /usr/share/chirp/chirp.xsd
-- Exception: --
Traceback (most recent call last):
File "/mnt/s2/home/rct/proj/wouxun/chirp.hg/chirpui/editorset.py", line
235, in do_export
dst_radio = xml.XMLRadio(filen)
File "/mnt/s2/home/rct/proj/wouxun/chirp.hg/chirp/xml.py", line 75, in
__init__
validate_doc(self.doc)
File "/mnt/s2/home/rct/proj/wouxun/chirp.hg/chirp/xml.py", line 35, in
validate_doc
raise errors.RadioError("Unable to load schema")
RadioError: Unable to load schema
------
~
~
--
Ticket URL: <http://trac.chirp.danplanet.com/trac/ticket/102>
CHIRP <http://trac.chirp.danplanet.com/trac>
CHIRP Development
More information about the chirp_users
mailing list