Thank you, Massimo!

It works now.

Cheers,
Julio Monteiro

On 07/12/2010 12:02 PM, mdipierro wrote:
perhaps I did a mistake.
I just did it again.

On 12 Lug, 09:35, Júlio Monteiro<[email protected]>  wrote:
Hello Massimo,

I tried "hg pull" on the cube2py application directory however it said
there are no changes found, did you commit it into web2py trunk or
somewhere else?

Thanks for the help!
Julio Monteiro

On 07/12/2010 11:28 AM, mdipierro wrote:

please try now.
On 12 Lug, 09:11, J lio Monteiro<[email protected]>    wrote:
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

Reply via email to