[web2py] "unable to create application" on Ubuntu 10.04 LTS

2010-10-05 Thread Lobo
Hi everyone,

I'm a newbie to Ubuntu/Linux, and I'm familiar (although with very
short experience) with web2py and python; my background is Smalltalk.

I installed Ubuntu 10.04 LTS (Lucid) on my local computer, and then
proceeded to install web2py (based on web2py instructions in chapter
11):

   wget http://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh
   chmod +x setup-web2py-ubuntu.sh
   sudo ./setup-web2py-ubuntu.sh

I can open firefox on 'localhost', and it successfully opens web2py.

I can also get to the admin area when using httpS.

But I can NOT create new applications - I get the following error:

   unable to create application "x"

I can see the following in my environment:

   + no 'welcome.w2p' file.
   + no 'deposit' folder.
   + no 'site-packages' folder.
   + 'NEWINSTALL' file does exist, empty.
   + 'parameters_443.py' file does exist.

I read that executing the following helps, but no luck for me:

   python web2py.py -a "hello"

I get the following error:

   OSError: [Errno 13] Permission denied: 'deposit'

Can you please help me with this issue?.

Thanks in advance,

   Lobo


[web2py] Re: "unable to create application" on Ubuntu 10.04 LTS

2010-10-06 Thread Lobo
Problem solved on my end too.

Thanks Massimo !

   Lobo


[web2py] cube2py vs. plugin_wiki

2010-10-06 Thread Lobo
Hi,

What are the main differences between cube2py and plugin_wiki?.

I believe cube2py runs on top of plugin_wiki, correct?.

Are both currently supported/stable and in active development?.

When I installed plugin_wiki on my web2py, did cube2py come with it
(automatically as a plugin/component)?, or should cube2py be installed
separately?.

In summary, should I use plugin_wiki or cube2py?, which one is
better / more powerful?, I'm confused.

I believe Massimo has been creating new widgets for cube2py (which are
not available in plugin_wiki) - am I correct?.

Thanks for your clarifications,

   Lobo


[web2py] Re: cube2py vs. plugin_wiki

2010-10-06 Thread Lobo
Massimo,

Great - thanks for clarifying this !

   Carlos


On Oct 6, 3:06 pm, mdipierro  wrote:
> plugin_wiki works with any app as long as you apply it.
>
> cube2py is a clone of the welcome app including plugin_wiki that can
> be used as an example. There is nothing special in cube2py other than
> the fact it includes plugin_wiki.
>
> Massimo
>
> On Oct 6, 2:11 pm, Lobo  wrote:
>
>
>
> > Hi,
>
> > What are the main differences between cube2py and plugin_wiki?.
>
> > I believe cube2py runs on top of plugin_wiki, correct?.
>
> > Are both currently supported/stable and in active development?.
>
> > When I installed plugin_wiki on my web2py, did cube2py come with it
> > (automatically as a plugin/component)?, or should cube2py be installed
> > separately?.
>
> > In summary, should I use plugin_wiki or cube2py?, which one is
> > better / more powerful?, I'm confused.
>
> > I believe Massimo has been creating new widgets for cube2py (which are
> > not available in plugin_wiki) - am I correct?.
>
> > Thanks for your clarifications,
>
> >    Lobo