Hi all,

In order to make good use of Open Flash Chart in Plone 3, I have created an
OpenFlashChart product by adding OpenFlashChart.py to OpenFlashChart folder
under Plone/Data/Products. I also added an empty __init__.py file and upon
restarting Zope, both were compiled to .pyc so I guess this means they were
found!

OpenFlashChart.py defines a Graph and a GraphObject class and I'd like to be
able to greate a GraphObject and have it render the chart (I can get the SWF
to load, just not the data).

I've pared back script in the skins/custom folder to simply:

from OpenFlashChart import GraphObject
x = GraphObject()
x.render()

When I test it, I get ImportError: Import of "OpenFlashChart" is
unauthorized.

Please, if anybody can help me, I'll be very grateful (and a little more
sane).

Thanks in advance,

Chris.
-- 
View this message in context: 
http://n2.nabble.com/ImportError-using-new-Product-tp1075709p1075709.html
Sent from the Product Developers mailing list archive at Nabble.com.


_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to