i just deleted the test file I created and got an internal error

Traceback (most recent call last):
  File "/home/fkrause/Dev/web2py/gluon/restricted.py", line 173, in
restricted
    exec ccode in environment
  File "/home/fkrause/Dev/web2py/applications/admin/controllers/
default.py", line 1005, in <module>
  File "/home/fkrause/Dev/web2py/gluon/globals.py", line 96, in
<lambda>
    self._caller = lambda f: f()
  File "/home/fkrause/Dev/web2py/applications/admin/controllers/
default.py", line 731, in plugin
    models=filter_plugins(models),
  File "/home/fkrause/Dev/web2py/applications/admin/controllers/
default.py", line 727, in filter_plugins
    regex=re.compile('^plugin_'+plugin+'(/.*|\..*)?$')
TypeError: cannot concatenate 'str' and 'NoneType' objects

I just created a test.txt file and a test.txt.bck was automatically
created
when I deleted test.txt I got this error message
guess this is because i got redirected to 
http://127.0.0.1:8000/admin/default/plugin/movie
and not http://127.0.0.1:8000/admin/default/plugin/movie/starrating


On Jan 12, 5:46 pm, selecta <gr...@delarue-berlin.de> wrote:
> Ok here is what i did
> I go tohttp://127.0.0.1:8000/admin/default/plugin/movie/starrating
> I create a new static file called test (create file with filename: I
> enter "test.txt")
> test.txt does not appear in the plugin
>
> But i tried again in a different way, and this worked
> I go tohttp://127.0.0.1:8000/admin/default/plugin/movie/starrating
> create file with filename: I enter "plugin_starrating/test.txt"
> this time the folder appears and I can see the files in the plugin
> maybe I had a typo in my first try
> but the behaviour I would expect is:
> if I enter "test.txt" it will automatically change it to
> "plugin_starrating/test.txt"
>
> On Jan 12, 4:38 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
>
>
> > seems to work for me. Perhaps I do not understand the question. Could
> > you provide a more detailed explanation of the problem? Static files
> > of plugins are not intended to appear under
>
> >http://127.0.0.1:8000/admin/default/design/<app>
>
> > but under
>
> >http://127.0.0.1:8000/admin/default/plugin/<app>/rating
>
> > On Jan 12, 8:39 am, selecta <gr...@delarue-berlin.de> wrote:
>
> > > *bump*
>
> > > On Jan 11, 3:07 pm, selecta <gr...@delarue-berlin.de> wrote:
>
> > > > when i create a static file in a plugin it just disappears, i can find
> > > > it again if i go into the main application
>
> > > > the behavior I would expect is that a folder with the plugin name is
> > > > created e.g. static/plugin_test/ where all static files of the pluing
> > > > will be saved to (in other words static/plugin_test/ should be the
> > > > root of the static folder for the test plugin)
-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to