Error reading end tag

Announcements, requests and support regarding SkIndigo - the Sketchup / Indigo exporter.
User avatar
Juju
Posts: 270
Joined: Sat Mar 17, 2007 3:49 am
Location: South Africa

Error reading end tag

Post by Juju » Wed Nov 14, 2012 6:12 pm

I'm getting this error when exporting a scene, it's new and I didn't have this problem two days ago.
A problem occurred with the scene:
Scene parsing error: failed to load XML doc from path '(path to IGS file)': Error reading end tag. (Line 2538, column 37.)
Indigo version: Indigo Renderer v3.4.16, Windows 64-bit build.
No metadata.
How do I fix this?

User avatar
Zom-B
1st Place 100
Posts: 4701
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Re: Error reading end tag

Post by Zom-B » Wed Nov 14, 2012 7:25 pm

would help if you could specify "Line 2538, column 37" from the exported igs file, and post it here ;)
polygonmanufaktur.de

User avatar
Juju
Posts: 270
Joined: Sat Mar 17, 2007 3:49 am
Location: South Africa

Re: Error reading end tag

Post by Juju » Wed Nov 14, 2012 8:11 pm

IGS are basically XML files correct?

If so, then I'll be able to open it with notepad or similar?

User avatar
Zom-B
1st Place 100
Posts: 4701
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Re: Error reading end tag

Post by Zom-B » Wed Nov 14, 2012 8:46 pm

exactamundo :)
polygonmanufaktur.de

User avatar
Juju
Posts: 270
Joined: Sat Mar 17, 2007 3:49 am
Location: South Africa

Re: Error reading end tag

Post by Juju » Wed Nov 14, 2012 11:34 pm

I renamed the file and added .XLS at the end, Excel opens it as text, dropped down to row 2538.

I'm not sure how I'm supposed to read the columns, but line (row) 2538 reads as follows:

<name>NULL_<Beige>1_NULL</name>

Any ideas? Or am I going about it wrong?
Indigo 4 | skIndigo | SUpro 2018

User avatar
OnoSendai
Developer
Posts: 6244
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Re: Error reading end tag

Post by OnoSendai » Thu Nov 15, 2012 12:30 am

Looks like a bug. The angle brackets in the material name should be getting escaped. Are you using external materials?

User avatar
Juju
Posts: 270
Joined: Sat Mar 17, 2007 3:49 am
Location: South Africa

Re: Error reading end tag

Post by Juju » Thu Nov 15, 2012 12:35 am

I hope I'm understanding this correctly, else define what is meant by external materials.

I'm not using any linked materials.
Indigo 4 | skIndigo | SUpro 2018

User avatar
Juju
Posts: 270
Joined: Sat Mar 17, 2007 3:49 am
Location: South Africa

Re: Error reading end tag

Post by Juju » Thu Nov 15, 2012 3:15 am

I had one or two error messages regarding PNG's that popped up before as well, looks like it could be textures in some of the stuff I downloaded and used from the warehouse, will check that out as well and see if the problem resolves itself.

Will it be of any benefit if I were to copy and paste the entire contents for the SU model to a new file and try to render that?
Indigo 4 | skIndigo | SUpro 2018

User avatar
Zom-B
1st Place 100
Posts: 4701
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Re: Error reading end tag

Post by Zom-B » Thu Nov 15, 2012 3:34 am

Juju wrote:<name>NULL_<Beige>1_NULL</name>
Seems that one of you materials in Sketchup has special characters in the name that cause conflicht,
check you scene for a material named <Beige> and remove the brackets!
Juju wrote:I had one or two error messages regarding PNG's that popped up before as well, looks like it could be textures in some of the stuff I downloaded and used from the warehouse, will check that out as well and see if the problem resolves itself.
If you could give us the exact error message, that would help a lot :)
Juju wrote:Will it be of any benefit if I were to copy and paste the entire contents for the SU model to a new file and try to render that?
Giving it a try should be quicker done than asking for it...
polygonmanufaktur.de

User avatar
Whaat
Developer
Posts: 1827
Joined: Fri Dec 22, 2006 6:15 am
Location: Canada
Contact:

Re: Error reading end tag

Post by Whaat » Thu Nov 15, 2012 7:24 am

Juju wrote:I renamed the file and added .XLS at the end, Excel opens it as text, dropped down to row 2538.

I'm not sure how I'm supposed to read the columns, but line (row) 2538 reads as follows:

<name>NULL_<Beige>1_NULL</name>

Any ideas? Or am I going about it wrong?
Hi Juju,

Are you using the SkIndigo 'Thin Glass' material? This material creates blends your original material with a null material, but it looks like there is a bug with SkIndigo where it is not properly escaping the <> characters when it creates this null material.

Try changing the material to another type, like Phong and see if the error goes away.

User avatar
Juju
Posts: 270
Joined: Sat Mar 17, 2007 3:49 am
Location: South Africa

Re: Error reading end tag

Post by Juju » Fri Nov 16, 2012 9:11 pm

I inspected the model a little closer, turns out a number of materials had the < > characters, I renamed these (removed the < >) and it renders fine.

The material error I have I can't seem to figure out, refers to some PNG's used in components that need to be exploded to be rendered in Indigo, this problem doesn't seem to really pose a problem as the rendering is produces fine.
Indigo 4 | skIndigo | SUpro 2018

User avatar
Zom-B
1st Place 100
Posts: 4701
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Re: Error reading end tag

Post by Zom-B » Sat Nov 17, 2012 3:05 am

Juju wrote:... turns out a number of materials had the < > characters, I renamed these (removed the < >) and it renders fine.
Could you maybe link these materials, so the devs can "fix" that ?! :)
polygonmanufaktur.de

User avatar
Juju
Posts: 270
Joined: Sat Mar 17, 2007 3:49 am
Location: South Africa

Re: Error reading end tag

Post by Juju » Sat Nov 17, 2012 3:08 am

I'll see if I have time over the weekend to isolate some of the geometry using these materials and put it into a separate SU file and post it here. Would that help?
Indigo 4 | skIndigo | SUpro 2018

User avatar
Zom-B
1st Place 100
Posts: 4701
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Re: Error reading end tag

Post by Zom-B » Sat Nov 17, 2012 6:49 am

A simple link to the "evil" materials in the online material Library would be enough :)
polygonmanufaktur.de

User avatar
Juju
Posts: 270
Joined: Sat Mar 17, 2007 3:49 am
Location: South Africa

Re: Error reading end tag

Post by Juju » Sat Nov 17, 2012 7:09 am

I'm almost 90% sure the offending textures are not Indigo materials. I'll have a look and see ove the weekend though.
Indigo 4 | skIndigo | SUpro 2018

Post Reply
16 posts