Hello Massimo,
I was trying cube2py today and I think I found a bug.
When I insert code in "meta-code" it gives me an error if the code is not in
a single line, or even if a single line of code is split between multiple
lines of text the error remains.
Here is a traceback:
Traceback (most recent call last):
File
"/home/jmonteiro/Devel/nightly_web2py/applications/cube2py/models/plugin_wiki.py",
line 318, in __init__
exec(code_page.body.strip(),globals())
File "<string>", line 1
db.define_table('friend',
SyntaxError: invalid syntax
This happens when I add the following code:
db.define_table('friend',
Field('name'),
Field('phone')
)
By the way, congratulations on this very promising concept!
Cheers,
Julio Monteiro
On Mon, Jul 12, 2010 at 5:54 AM, mdipierro <[email protected]> wrote:
> todo:
>
> add reportlab so that pages can export to PDF
> add import/export of models
> add in-line edit with jqgrid (could use help)
> add in-place editable wiki-in-wiki.
> add facebook login (good idea?)
> what else?
>
> Massimo
>
> On 12 Lug, 03:52, mdipierro <[email protected]> wrote:
> > This is just to let people know that cube2py is not guaranteed (yet)
> > to be backward compatible.
> >
> > One issue on the table for example is whether the charting widget
> > should use google chart api (as it does now, but does not work
> > locally) or use jflot (and we will not be able to embed charts in PDF
> > output, something I'd like to have)
> >
> > Massimo
>