[web2py] App does not exist or your are not authorized

2012-09-14 Thread rif
Does anybody know why do I get "App does not exist or your are not 
authorized" when I install https://github.com/rif/web2admin ?

The plugin install fine, though.

-rif



-- 





Re: [web2py] App does not exist or your are not authorized when deploying layout plugin

2012-06-26 Thread LightDot
Correct. AFAIK, you're not supposed to overwrite the app's default 
layout.html with the one from a plugin.

You can include a custom layout, ie. /views/plugin_layout_name/layout.html, 
but not /views/layout.html.

Regards,
Ales

On Tuesday, June 26, 2012 11:59:40 PM UTC+2, François Delpierre wrote:
>
> No, it's not a permission problem.
> It seems to happen when I include the view/layout.html file in the w2p 
> file by issuing the tar command manually as described by Massimo.
> Here is the command I use :
>
> tar zcvf ../web2py.plugins.name_layout.w2p views/layout.html 
> views/plugin_layout_name/* static/plugin_layout_name/*
>
> Regards,
>
>

-- 





Re: [web2py] App does not exist or your are not authorized when deploying layout plugin

2012-06-26 Thread François Delpierre
No, it's not a permission problem.
It seems to happen when I include the view/layout.html file in the w2p file 
by issuing the tar command manually as described by Massimo.
Here is the command I use :

tar zcvf ../web2py.plugins.name_layout.w2p views/layout.html 
views/plugin_layout_name/* static/plugin_layout_name/*

Regards,

-- 





Re: [web2py] App does not exist or your are not authorized when deploying layout plugin

2012-06-06 Thread Richard Vézina
Maybe it the permissions on your files...

sudo chown -R www-data.www-data web2py/applications/APP/

Richard

On Sat, Jun 2, 2012 at 5:56 PM, François Delpierre <
francois.delpie...@gmail.com> wrote:

> I just created a simple plugin as described here (Only the
> view/layout.html and a CSS) :
> http://comments.gmane.org/gmane.comp.python.web2py/71183
>
> Here is the content of the w2p plugin file :
> pivert@skinner:~/Downloads$ tar -ztvf web2py.plugin.layout_name.w2p
> -rw-rw francoisd/www-data 6279 2012-05-26 13:27 views/
> plugin_layout_name/layout.html
> drwxrwx--- francoisd/www-data0 2012-05-28 23:44 static/
> plugin_layout_name/css/
> -rw-rw francoisd/www-data 5237 2012-05-28 23:43 static/
> plugin_layout_name/css/name.css
> drwxrwx--- francoisd/www-data0 2012-05-28 23:48 static/
> plugin_layout_name/images/
> -rw-rw francoisd/www-data 2796 2012-05-22 23:46 static/
> plugin_layout_name/images/logo-name.gif
> -rw-rw francoisd/www-data  754 2012-05-22 23:46 static/
> plugin_layout_name/images/header.gif
>
>
>
> And if I deploy from the web admin interface, I have the "App does not
> exist or your are not authorized" error.
>


[web2py] App does not exist or your are not authorized when deploying layout plugin

2012-06-02 Thread François Delpierre
I just created a simple plugin as described here (Only the view/layout.html 
and a CSS) :
http://comments.gmane.org/gmane.comp.python.web2py/71183

Here is the content of the w2p plugin file :
pivert@skinner:~/Downloads$ tar -ztvf web2py.plugin.layout_name.w2p
-rw-rw francoisd/www-data 6279 2012-05-26 13:27 views/plugin_layout_name
/layout.html
drwxrwx--- francoisd/www-data0 2012-05-28 23:44 static/
plugin_layout_name/css/
-rw-rw francoisd/www-data 5237 2012-05-28 23:43 static/
plugin_layout_name/css/name.css
drwxrwx--- francoisd/www-data0 2012-05-28 23:48 static/
plugin_layout_name/images/
-rw-rw francoisd/www-data 2796 2012-05-22 23:46 static/
plugin_layout_name/images/logo-name.gif
-rw-rw francoisd/www-data  754 2012-05-22 23:46 static/
plugin_layout_name/images/header.gif



And if I deploy from the web admin interface, I have the "App does not 
exist or your are not authorized" error.