Plugin Developer Discussion

Discussion for FogBugz Plugin developers

Plugin not loaded, no error message

A customer uploads our plugin. The upload seems to work, but the plugin does not appear in the plugin list.
Is there any log to understand what happens?
I suggested the customer to look in Windows Event Viewer, and to check if the plugin is under  C:\Program Files\FogBugz\Plugins\cache.

Marco Botton Send private email
Thursday, October 8, 2009
Update: the customer gets this error:

Plugin "MockupsFogBugz1.6.32 (1).zip" failed during reflection - Hide Notification
08/10/2009 3:55 AM (GMT-06:00): MockupsFogBugz1.6.32 (1).zip: Error loading plugin: No plugin assemblies found in MockupsFogBugz@balsamiq.com_10. See the plugins page for more information.

The size and hash are good. I am able to upload a plugin named "MockupsFogBugz1.6.32 (1).zip" without problems, so I don't think the reason of the failure is the file or its name.

Cleaning the cache in C:\Program Files\FogBugz\Plugins\cache could help somehow?
Marco Botton Send private email
Thursday, October 8, 2009
There's a bug right now where any error that happens while loading the assembly can cause that error, because we just try/catch the assembly load and assume that if it failed it's not a valid assembly.

Unfortunately right now there's no way to get the real error message without debugging.  I've opened a case to fix this, but it won't be until the next version.

It might be a versioning conflict if they are running an old version of FogBugz, so they could try upgrading to the latest.  You could also check what's in the cache folder and make sure it has all the files included in your ZIP.

If you get really stuck, refer them to our customer service and we'll try to figure out what's going on.  Just make sure they mention my name so that it comes to me.
David Fullerton Send private email
Thursday, October 8, 2009
Hi David,
a very smart system admin debugged the problem and resolved it. He updated FogBugz from 7.0.23 to 7.0.32 and changed max_allowed_packet in MySQL configuration, following the error message given by newer FogBugz.
You can find the details in this thread of our support forum:

Yay! :)

Marco Botton Send private email
Friday, October 9, 2009

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
Powered by FogBugz