Jump to content
C4 Forums | Control4

composer says "this device's c4i is badly formed"


Recommended Posts

I am trying to load into my project a  driver that I found on the net. I can add it but the tooltip and summary page say "this device's c4i is badly formed".

What could cause this message? Composer logs do not help.  Is this error caused by something wrong in the driver.xml,  or should I rather look  in the actual lua code? The driver format is c4z  anyways not c4i.

 

Thanks

Rick

Link to comment
Share on other sites


Could be a fault anywhere from the contents of the driver.xml to the contents of the zip container file or its layout. You could try comparing to another c4z file but that is a hugely time consuming and manual process and up to you whether it is worth the effort. Surprised nothing appears in the logs about the validation tbh.

Link to comment
Share on other sites

No, it is a c4z driver. The message is misleading to say the least...

Also not old, updated 2023.

I tried to convert to c4i; got the same error.

All I would like to know is whether this error is XML related, or LUA related...

Link to comment
Share on other sites

I believe the error must come from driver.xml validation anyway. As I have in the past uploaded bad lua code and the driver loaded fine, then spat out LUA errors when executed...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.