On Feb 4, 2010, at 7:01 AM, mdipierro wrote: > Could be that isdir returns false on symlinked directories? form admin/ > controller/default.py > > if os.path.exists(aviewpath): > if os.path.isdir(aviewpath): > viewlist = glob(os.path.join(aviewpath,'*.html'))
http://docs.python.org/library/os.path.html os.path.isdir(path) Return True if path is an existing directory. This follows symbolic links, so both islink() and isdir() can be true for the same path. > > > On Feb 4, 7:37 am, selecta <gr...@delarue-berlin.de> wrote: >> you can test this for yourself with >> thishttp://groups.google.com/group/web2py/browse_thread/thread/d10bf589cc... >> >> click on a plugin to manage it, test the plugin, it will still work >> but e.g. the views will not be visible in the admin design interface >> >> On Feb 4, 1:13 pm, selecta <gr...@delarue-berlin.de> wrote: >> >>> Ubuntu 9.10 \n \l >>> web2py Version 1.74.11 (2010-02-03 10:53:34) >> >>> yes i made sure the case is correct and it must be since the >>> application works >> >>> just to be clear, symlinked files are not a problem (app works, and >>> displayed in admin app designer) >>> symlinked directories have problems (app works, not displayed in admin >>> app designer) >> >>> On Feb 4, 2:04 am, mdipierro <mdipie...@cs.depaul.edu> wrote: >> >>>> what os? make sure the case is correct >> >>>> On Feb 3, 3:17 pm, selecta <gr...@delarue-berlin.de> wrote: >> >>>>> If i replace a directory with a symlink the application works fine >>>>> buthttp://127.0.0.1:8000/admin/default/design/testisnotshowingthe >>>>> symlinked directory >> >>>>> e.g. in application test I symlinked the views/default directory >>>>> inhttp://127.0.0.1:8000/admin/default/design/testitislookinglike >>>>> there are no views for the default controller at all >>>>> the good news is that the application is running just fine with the >>>>> symlinked directory >> >>>>> It is important that this works for the current application that I am >>>>> writing. It is a >>>>> PluginMangerhttp://jaguar.biologie.hu-berlin.de/~fkrause/PluginManager.png >> >> > > -- > 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. > -- 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.