X2pro unable to parse fcpxml
I everyone,
I try to export XML from FCPX to X2PRo but I have this error message (screenshot)
I have not a clue of what I have to do...
I everyone,
I try to export XML from FCPX to X2PRo but I have this error message (screenshot)
I have not a clue of what I have to do...
I tried importing the xml files you provided back into FCP X and got an error just as you posted - which pointed to a specific line in the XML. I went to that line and saw its contents (which I posted before). Immediately that inverted question mark drew my attention, and I just copied it and pasted into the search box. BBEdit rewrote it as \x{03} (which means the character with (hexadecimal) code 3. So I did a find and replace to get rid of it completely.
Here are links for "cleaned" versions of your "bobine 2" and "bobine 3" files.
I tried importing the xml files you provided back into FCP X and got an error just as you posted - which pointed to a specific line in the XML. I went to that line and saw its contents (which I posted before). Immediately that inverted question mark drew my attention, and I just copied it and pasted into the search box. BBEdit rewrote it as \x{03} (which means the character with (hexadecimal) code 3. So I did a find and replace to get rid of it completely.
Here are links for "cleaned" versions of your "bobine 2" and "bobine 3" files.
"Is there any ay to modify the 2 xmls?"
Sorry, I missed that part.
Yes, of course. Here is what I did, and that you can do too.
In BBEdit, I opened the XML file, pressed Command-F (for "Find").
As shown in the image below, I typed "\x{03}", left the replacement empty, made sure that "Grep" was checked and then pressed "Replace All". Saved and tried importing, and it worked (of course I can't see the actual video or audio, but it did import).
Are you sure you are exporting XML of a project? Note the warning: "Ensure that this is the export of a Project..."
Select the intended project in the browser and do File->Export XML...
What versions of the software?
One other thing: try granting X2Pro "Full Disk Access" in System Preferences->Security & Privacy->Privacy.
Also, to check if this is something particular to the present project, try creating a new test project, just add a clip or two, and see that one comes across correctly to X2Pro.
I would try copying everything and pasting into a completely new project, just in case there is a subtle corruption.
If that does not work, then try the divide and conquer method.
Copy roughly half of the project to a new one, test, and so on.
There are two files in there, with names with "bobine 2" and "bobine 3".
Both produce an error similar to the above.
The offending lines show up like this in BBEdit (a plain text editor, in case you are not familiar with it):
Apparently some invalid character is being used as part of the keyword.
Pasting the same text here, this character (which BBEdit displays as an inverted question mark) becomes invisible:
<keyword start="740758/25s" duration="4284/25s" value="cam b"/>
I suggest you take a look at your existing keywords, rename the problem keyword so that this invisible character is no more, and hopefully all will be well.
Well, that time seems to be unusual - it is over 5 million seconds.
It also appears to be something inside a multicam clip - unfortunately, since you have so many multicam clips, I am not able to figure out which one seems to have a time attribute that is so long.
I am going to have to leave now. I hope we figure out a way to zero in on the problematic value.
Any chance you might share that XML file, or at least the part around that offending line?
Then maybe from this new library the problem does not occur anymore... hope that fixes it!
Or, if you like, you can edit the xml and remove that pesky character - or send it to me, and I'll do it
Allright,
It looks the project has something wrong. It works with another one.
Wow... Allright I'll try. But I think I missed a step.
Can you please explain how did you find the error and solve it in BBedit. (why did you typed this command? )
as I have another XML corrupted.
Otherwise would you have the kindness to send me a google drive link with the xml solved just to be sure I didn't screwed it up...
hi Luis,
I ma sure it is a project xml.
I tried 1.7 xml and 1.8
Good advice. I'll check both and get back asap. Thank you for your time Luis.
Well.
The mystery is getting deeper.
The X2pro support staff told me they were trying to reimport the XML in FCPX and they got this error.
X2pro unable to parse fcpxml