[chirp_users] [CHIRP] #102: Unable to load schema on 2nd chirp (xml) export.
#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 ------ ~ ~
#102: Unable to load schema on 2nd chirp (xml) export. -----------------------------------------------+---------------------------- Reporter: Robert Terzi <rct+chirp@…> | Owner: Type: Bug | Status: new Priority: Stability | Milestone: Component: Memory Editor | Version: Resolution: | Keywords: Platform: Linux | -----------------------------------------------+----------------------------
Comment (by Robert Terzi <rct+chirp@…>):
Ok, more info, the different cases are showing up depending on whether I'm trying to overwrite an existing file or not.
#102: Unable to load schema on 2nd chirp (xml) export. -----------------------------------------------+---------------------------- Reporter: Robert Terzi <rct+chirp@…> | Owner: kk7ds Type: Bug | Status: accepted Priority: Stability | Milestone: Component: Memory Editor | Version: Resolution: | Keywords: Platform: Linux | -----------------------------------------------+---------------------------- Changes (by kk7ds):
* owner: => kk7ds * status: new => accepted
Comment:
I think this will be fixed in changeset:956. Let me know.
#102: Unable to load schema on 2nd chirp (xml) export. -----------------------------------------------+---------------------------- Reporter: Robert Terzi <rct+chirp@…> | Owner: kk7ds Type: Bug | Status: closed Priority: Stability | Milestone: Component: Memory Editor | Version: Resolution: Fixed | Keywords: Platform: Linux | -----------------------------------------------+---------------------------- Changes (by kk7ds):
* status: accepted => closed * resolution: => Fixed
participants (1)
-
CHIRP Tracker