Help

We’ve Expanded AI Support! We’ve broadened AI assistance across additional PowerSchool solutions, making it easier to get guidance when you need it. Learn More

Plugin file contains an unrecognized file: queries_root/com.myplugin.queries.xml

kyleholder
New Member

Plugin file contains an unrecognized file: queries_root/com.myplugin.queries.xml

I've had several plugins running since 2014.

 

Today - when I am trying to install a new plugin, I get the following error: 

 

  • Plugin file contains an unrecognized file: queries_root/com.myplugin.queries.xml

I've never seen this before. I've tried a different naming convention for the file. - Didn't work.

So, I start wondering if it is the XML itself. Pared it back to the bare minimum.

 

<?xml version="1.0" encoding="utf-8" ?>
<queries>
    <query coreTable="storedgrades" name="myquery.gpa.get" flattened="true">
        <columns>
            <column column="last_name">last_name</column>
        </columns>
        <sql>
			<![CDATA[
				select distinct last_name from students
			]]>
		</sql>
    </query>
</queries>

 

Didn't work.

 

Plugin.xml is normal.

 

Any suggestions?

 

Thanks

2 Replies
alex_felleson
Apprentice

(Old post, but hopefully this will help people searching the same issue.) 

 

Your zip file may be nested in a way PowerSchool isn't expecting. 

 

Your plugin should have this structure: 
├ plugin.xml
├ queries_root (folder)
 |  ├ some.file.xml

 

In your file explorer, collapse the queries_root folder so you can't see its contents. Then select both plugin.xml and queries_root and compress them into a zip file.

 

Do *not* put plugin.xml and queries_root into a folder and then compress that folder. That was the mistake I was making when I got this error. 

 

Hope this helps! 

lleybs
Journeyman

I'm getting the same error and my ZIP file is set up correctly...

ZIP file containing:

  - plugin.xml

  - queries_root folder

        - query.file.xml

 

The query.file.xml file is properly formatted, as far as I can tell.

 

 

RESOLVED:

What I did was I took a plugin that I know for sure worked and modified the XML files accordingly.  I was ale to install the plugin using this method.  Still no idea why it did not like the files I created, since they were identical to what I ended up using.  But as long as it worked, I'm happy.