[web2py:30090] TypeError

2009-09-04 Thread Derek
Hi All, I really don't understand what's going on. I've been developing/ learning in web2py for the past week, and suddenly when I decide to deploy my code, I'm getting this odd error: Traceback (most recent call last): File "gluon/restricted.py", line 178, in restricted File "C:/web2py/appl

[web2py:30089] Re: Dynamic Side bar

2009-09-04 Thread mr.freeze
I use this to dynamically generate a menu from my controllers and functions during development. Just replace the existing response.menu assignment in menu.py in your app's 'models' folder: import os from gluon.myregex import regex_expose ctldir = os.path.join(request.folder,"controllers") ctls=o

[web2py:30088] Proposal about enhancing OptionsWidget

2009-09-04 Thread Iceberg
Hi Massimo, My first web2py app is an order management system for my company, it worked well in enterprise production for more than 15 months now. By the way, all my other "first work of something" ended up as just a prototype but not this one, thank god and web2py. I am refactoring the app and g

[web2py:30087] Re: autocomplete

2009-09-04 Thread suiato
quickly reading the manual of Amy Editor, its 'snippets' chapter shows rich features including what i mentioned in the previous post. to make full use of its power, it can run on a server, written in PHP. Timmie in [web2py:29959] showed links to editors: * http://labs.mozilla.com/bespin/ * http:

[web2py:30086] Re: Optimising returning of file content using wsgi.file_wrapper extension.

2009-09-04 Thread Yarko Tymciurak
Graham - On Fri, Sep 4, 2009 at 11:08 PM, Graham Dumpleton < graham.dumple...@gmail.com> wrote: > > On Sep 5, 1:19 pm, Wes James wrote: > > On Fri, Sep 4, 2009 at 8:21 PM, mdipierro > wrote: > > > > > command-line option > > A command line option makes no sense in the context of either the URL >

[web2py:30085] Re: Optimising returning of file content using wsgi.file_wrapper extension.

2009-09-04 Thread Graham Dumpleton
On Sep 5, 1:19 pm, Wes James wrote: > On Fri, Sep 4, 2009 at 8:21 PM, mdipierro wrote: > > > Sorry Graham. You are right I got confused. Had a long day. > > I will add you patch to trunk but, as you and Fran, say we should make > > this optional. > > What do you suggest as a way to make this op

[web2py:30084] Re: Google App Engine - SyntaxError: invalid select attribute: distinct ?

2009-09-04 Thread Derek
OK, so I re-wrote the queries involving distinct so that I just iterate over the recordsets and create my own array with distinct values. But I'm still getting an error about distinct. I've 'cleaned' the app in case the old code is causing this. Here's the error: ERROR2009-09-05 03:37:26,47

[web2py:30083] Re: Optimising returning of file content using wsgi.file_wrapper extension.

2009-09-04 Thread Wes James
On Fri, Sep 4, 2009 at 8:21 PM, mdipierro wrote: > > Sorry Graham. You are right I got confused. Had a long day. > I will add you patch to trunk but, as you and Fran, say we should make > this optional. > What do you suggest as a way to make this optional? > > Massimo > command-line option -wes

[web2py:30082] Re: Google App Engine - Error from Launcher?

2009-09-04 Thread Derek
OK, more googling (I swear I googled before) and found this: "Basically, use Python 2.5 instead of Python 2.6" I'm reinstalling as we speak. :) On Sep 4, 10:53 pm, Derek wrote: > Anyone experience an error when running web2py from the launcher? > > I get this: > > : No module named _multiproc

[web2py:30081] Re: web2py on Dreamhost WSGI (yet another post about that)

2009-09-04 Thread mr.freeze
Glad you got it working. I still haven't had any problems with Passenger WSGI and the performance seems good. On Sep 4, 8:29 pm, Pepe wrote: > Solved! > > I was a stupid. > > i don't replace "username" in : > > INTERP = "/home/username/local/bin/python2.5" > > sorry, > > and thanks! > > Pepe >

[web2py:30080] Google App Engine - Error from Launcher?

2009-09-04 Thread Derek
Anyone experience an error when running web2py from the launcher? I get this: : No module named _multiprocessing args = ('No module named _multiprocessing',) message = 'No module named _multiprocessing' About the only reason I want to run it from the launcher is to build the index.y

[web2py:30079] do not buy the printed book

2009-09-04 Thread mdipierro
Do not buy the printed book. The printed book is outdated. The new one will be out at the end of the month. The lulu.com book is the most recent one. Massimo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-us

[web2py:30078] Re: Optimising returning of file content using wsgi.file_wrapper extension.

2009-09-04 Thread mdipierro
Sorry Graham. You are right I got confused. Had a long day. I will add you patch to trunk but, as you and Fran, say we should make this optional. What do you suggest as a way to make this optional? Massimo On Sep 4, 6:49 pm, Graham Dumpleton wrote: > On Sep 5, 5:55 am, mdipierro wrote: > > >

[web2py:30077] Re: Very new to web2py. Any pointers for begineers??

2009-09-04 Thread mdipierro
web2py understands 90% of Django and SQLAlchemy models. http://web2py.com/AlterEgo/default/show/189 Massimo On Sep 4, 8:28 pm, Manoj wrote: > How to upload files to this group ? > > On Sep 5, 9:22 am, Manoj wrote: > > > Thanks guys. I am in china right now. scribd is  block. Once i am in > >

[web2py:30076] Re: Difference between the lulu and amazon web2py book?

2009-09-04 Thread mdipierro
Currently the printed version is only the first edition. Do not buy it. The second edition should be out soon and should be $35. On Sep 4, 8:21 pm, Markus wrote: > 1. What is the difference between the  lulu and amazon web2py book? > > I see $12 vs $50 > > 2. Please start a web2py job board. Ev

[web2py:30075] Re: web2py on Dreamhost WSGI (yet another post about that)

2009-09-04 Thread Pepe
Solved! I was a stupid. i don't replace "username" in : INTERP = "/home/username/local/bin/python2.5" sorry, and thanks! Pepe On Sep 4, 7:50 pm, Pepe wrote: > Hello, > > I've done this tutorialhttp://www.web2pyslices.com/main/slices/take_slice/1 > (thanks Nathan!) but i can't get it work.

[web2py:30074] Re: Very new to web2py. Any pointers for begineers??

2009-09-04 Thread Manoj
How to upload files to this group ? On Sep 5, 9:22 am, Manoj wrote: > Thanks guys. I am in china right now. scribd is  block. Once i am in > my home country I will go ahead and buy 2nd edition > > As i said I have started documenting web2py in mindmaps. I will post > files here. let me know if y

[web2py:30073] Re: Difference between the lulu and amazon web2py book?

2009-09-04 Thread Jonathan Lundell
On Sep 4, 2009, at 6:21 PM, Markus wrote: > 1. What is the difference between the lulu and amazon web2py book? > > I see $12 vs $50 pdf vs hard copy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" g

[web2py:30072] Re: Very new to web2py. Any pointers for begineers??

2009-09-04 Thread Manoj
Thanks guys. I am in china right now. scribd is block. Once i am in my home country I will go ahead and buy 2nd edition As i said I have started documenting web2py in mindmaps. I will post files here. let me know if you guys like the approach and if its worthwhile to document web2py this way. A

[web2py:30071] Difference between the lulu and amazon web2py book?

2009-09-04 Thread Markus
1. What is the difference between the lulu and amazon web2py book? I see $12 vs $50 2. Please start a web2py job board. Everyone is interested in Web2py + GAE model. But its tough to find a lot of developers like we do for PHP. Thanks --~--~-~--~~~---~--~~ You

[web2py:30070] web2py on Dreamhost WSGI (yet another post about that)

2009-09-04 Thread Pepe
Hello, I've done this tutorial http://www.web2pyslices.com/main/slices/take_slice/1 (thanks Nathan!) but i can't get it work. a few questions: 1. in where folder i must to create the symlink wsgihandler.py to passenger_wsgi.py ?? 2. why i've have to set a "public" folder in Dreamhost Panel if

[web2py:30069] Re: autocomplete

2009-09-04 Thread suiato
Thanks, Massimo 2009/9/5 mdipierro : > > editarea does not do autocomplete but amy editor does. There is a flag > in admin/models/0.py that ley you use Amy editor. It does not work > with every browser but does autocomplete. oh, interesting. looking at its web site(http://www.amyeditor.com/), it

[web2py:30068] Re: Cherokee - fastcgi - 404 not found

2009-09-04 Thread mdipierro
yes you have to run it manually. this is how fcgi works. it is the same for lighttpd and cherokee. I never run the latter myself so I am sure other users can help you better On Sep 4, 6:21 pm, Arvind wrote: > Hello, > > I have configured my cherokee server as mentioned > herehttp://www.web2py.c

[web2py:30067] Re: Optimising returning of file content using wsgi.file_wrapper extension.

2009-09-04 Thread Graham Dumpleton
On Sep 5, 5:55 am, mdipierro wrote: > That is true. I am in favor of including Graham's patch for now but I > have a feeling there has to be a better solution. Massimo, you have replied to the wrong discussion thread, so part of what Fran was saying was actually pertinent to this discussion th

[web2py:30066] Cherokee - fastcgi - 404 not found

2009-09-04 Thread Arvind
Hello, I have configured my cherokee server as mentioned here http://www.web2py.com/AlterEgo/default/show/184 i have defined a virtual host called music and each time, i run this url http://music/ it automatically redirects to http://music/welcome/default/index and says 404 not found. the proce

[web2py:30065] Re: New Web2py Blog entry

2009-09-04 Thread mr.freeze
I can't believe it! Someone finally admitted that the documentation was excellent! On Sep 4, 3:34 pm, mikech wrote: > http://giantflyingsaucer.com/blog/?p=811 Also shown on Dzone, I voted > it up. --~--~-~--~~~---~--~~ You received this message because you are sub

[web2py:30063] Re: New Web2py Blog entry

2009-09-04 Thread mdipierro
+1 On Sep 4, 3:34 pm, mikech wrote: > http://giantflyingsaucer.com/blog/?p=811 Also shown on Dzone, I voted > it up. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send

[web2py:30062] Re: model not updating when called by SQLForm

2009-09-04 Thread waTR
ahh ok. Is that mentioned somewhere in the manual? just wondering. On Sep 4, 1:17 pm, mdipierro wrote: > turns out string, double, date, datetime and time all have default > validators. > > On Sep 4, 3:11 pm, waTR wrote: > > > What was throwing me off was that one of the fields (type DOUBLE),

[web2py:30060] Re: model not updating when called by SQLForm

2009-09-04 Thread mdipierro
turns out string, double, date, datetime and time all have default validators. On Sep 4, 3:11 pm, waTR wrote: > What was throwing me off was that one of the fields (type DOUBLE), > doesn't allow user to leave it blank. So SQLForm prevents continuation > until you enter some value for the DOUBLE

[web2py:30059] Re: model not updating when called by SQLForm

2009-09-04 Thread waTR
What was throwing me off was that one of the fields (type DOUBLE), doesn't allow user to leave it blank. So SQLForm prevents continuation until you enter some value for the DOUBLE field. Even though it has no validators attached to it nor does it have notnull=True. That really threw me off... is t

[web2py:30064] Re: model not updating when called by SQLForm

2009-09-04 Thread mdipierro
Yes, there is a list of default validators, I think in chapter 6. Massimo On Sep 4, 4:25 pm, waTR wrote: > ahh ok. Is that mentioned somewhere in the manual? > > just wondering. > > On Sep 4, 1:17 pm, mdipierro wrote: > > > turns out string, double, date, datetime and time all have default > >

[web2py:30058] Re: model not updating when called by SQLForm

2009-09-04 Thread mdipierro
Not sure I understand. notnull=True is different from requires=IS_NOT_EMPTY(). The former is enforced by the database, the latter bu the SQLFORM. You need both. Massimo On Sep 4, 2:21 pm, b00m_chef wrote: > I setup a model using sql light default db. I then built a simple > SQLForm. However, wh

[web2py:30056] Re: How to kick off process asynchronously

2009-09-04 Thread mdipierro
I think you need some additional libraries for the conversion. It should be in the documentation. On Sep 4, 12:17 pm, eddwinston wrote: > Hi Massimo, > > I tried the VideTest app from the link above and I successfully > uploaded a video but I got "Please wait while your video is > processed..."

[web2py:30061] New Web2py Blog entry

2009-09-04 Thread mikech
http://giantflyingsaucer.com/blog/?p=811 Also shown on Dzone, I voted it up. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsub

[web2py:30057] Re: Google App Engine - SyntaxError: invalid select attribute: distinct ?

2009-09-04 Thread mdipierro
no that I know. On Sep 4, 2:05 pm, Derek wrote: > Hi all, > > I deployed my web2py app to GAE, and received the following error: > > SyntaxError: invalid select attribute: distinct > > If using web2py's default arguments to get distinct values is not > valid on GAE, is there any other way? > > T

[web2py:30054] Re: autocomplete

2009-09-04 Thread mdipierro
editarea does not do autocomplete but amy editor does. There is a flag in admin/models/0.py that ley you use Amy editor. It does not work with every browser but does autocomplete. On Sep 4, 9:49 am, suiato wrote: > in the Auto-completion section, Chap.10, it's nice to find out how to > incorpora

[web2py:30055] Re: Optimising returning of file content using wsgi.file_wrapper extension.

2009-09-04 Thread mdipierro
That is true. I am in favor of including Graham's patch for now but I have a feeling there has to be a better solution. On Sep 4, 10:12 am, Fran wrote: > On Sep 4, 1:49 pm, mdipierro wrote: > > > You are correct that the solution you proposed would work. My only > > concern is that some existin

[web2py:30053] Re: Very new to web2py. Any pointers for begineers??

2009-09-04 Thread Yarko Tymciurak
On Fri, Sep 4, 2009 at 2:13 PM, waTR wrote: > > As a recent beginner myself. > . > > IMPORTANT: if you can afford the $12, get the official manual, it > makes life MUCH easier! Though you can still get by without it, > depending on your comfort level with using/web development python.

[web2py:30052] model not updating when called by SQLForm

2009-09-04 Thread b00m_chef
I setup a model using sql light default db. I then built a simple SQLForm. However, when I change a field in the model to notnull=True, the SQLForm still processes the form as though it was False. That is until I delete the files in the database folder in web2py, and close and re-open web2py.app

[web2py:30051] Re: Very new to web2py. Any pointers for begineers??

2009-09-04 Thread waTR
As a recent beginner myself. The best thing I can recommend in order to learn how to use the framework is just sit down and start coding. Look through the Documentation page, specifically the interactive examples page, look at the Cheat Sheet (and have it open as you code), and look the the presen

[web2py:30050] Google App Engine - SyntaxError: invalid select attribute: distinct ?

2009-09-04 Thread Derek
Hi all, I deployed my web2py app to GAE, and received the following error: SyntaxError: invalid select attribute: distinct If using web2py's default arguments to get distinct values is not valid on GAE, is there any other way? Thanks, Derek --~--~-~--~~~---~--~---

[web2py:30049] Re: pyjamas 0.6 [SOLVED]

2009-09-04 Thread Joe Barnhart
Excellent. I'm eager to try out web2pyjamas myself! On Sep 4, 5:30 am, stefaan wrote: > Yes! It works now. > > The embarassing thing is that the manual already showed the correct > way to do it > (it had a modified content attribute) and I completely overlooked it. > > Best regards, > Stefaan.

[web2py:30048] Re: testing ipython

2009-09-04 Thread jayvandal
I was wondering if there was a command to list the database when you are in ipython? On Sep 4, 12:03 am, Yarko Tymciurak wrote: > if you're talking about P 145 in the 2nd edition, those are views that is > what is translated, and sent down "the pipe" to the client end (e.g. the > browser);  -S

[web2py:30047] Re: How to kick off process asynchronously

2009-09-04 Thread eddwinston
Hi Massimo, I tried the VideTest app from the link above and I successfully uploaded a video but I got "Please wait while your video is processed..." for a very long time. It seems the video was not converted or maybe I am doing something wrong. Is there something I have to do to make the app con

[web2py:30045] Re: Authenticate against AD or FDS

2009-09-04 Thread Fran
On Sep 4, 2:59 pm, opp wrote: > How to authenticate against Microsoft Active Directory, and if it > fails, authenticate against Fedora Directory Server. Look in the Scribus-published book for LDAP: http://web2py.com/examples/default/docs F --~--~-~--~~~---~--~~ Y

[web2py:30046] Re: Optimising returning of file content using wsgi.file_wrapper extension.

2009-09-04 Thread Fran
On Sep 4, 1:49 pm, mdipierro wrote: > You are correct that the solution you proposed would work. My only > concern is that some existing application do URL(app,controller, > function) instead of URL(r=request,function). That is valid. When they > try to deploy behind WSGI in a subfolder they will

[web2py:30044] Re: autocomplete

2009-09-04 Thread suiato
in the Auto-completion section, Chap.10, it's nice to find out how to incorporate autocompletion in web2py applications with controllers and views. my initial interest was to enable autocompletion in coding the program online. the editor (EditArea) is a Javascript program located in the admin/sta

[web2py:30043] Re: autocomplete

2009-09-04 Thread suiato
On 9月4日, 午後9:43, mdipierro wrote: > Do you know this is discussed in the book? Chapter 10. Thanks, Massimo. Sorry. I will read it :-) > > Massimo -- Teru --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-use

[web2py:30042] Re: autocomplete

2009-09-04 Thread suiato
On 9月4日, 午後7:45, suiato wrote: ... > - editArea (made by Christophe Dolivet) is used for editing the code. > - its code and usage actually look more straightforward than those of > nicEdit. > - autocomple feature is in its todo list :-) well, found that autocompletion.js is already included ! nee

[web2py:30041] Re: Extending IS_NOT_EMPTY validator

2009-09-04 Thread mdipierro
could it be the number of spaces between the , and the None? On Sep 4, 6:17 am, Matthew wrote: > Perhaps I don't understand doctests fully, but isn't all output from > them converted to string anyway?  You're essentially checking print > statements from the shell, right? > > For example, here is

[web2py:30040] Authenticate against AD or FDS

2009-09-04 Thread opp
How to authenticate against Microsoft Active Directory, and if it fails, authenticate against Fedora Directory Server. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this grou

[web2py:30039] Re: Optimising returning of file content using wsgi.file_wrapper extension.

2009-09-04 Thread mdipierro
You are correct that the solution you proposed would work. My only concern is that some existing application do URL(app,controller, function) instead of URL(r=request,function). That is valid. When they try to deploy behind WSGI in a subfolder they will find the links break. I agree with you that

[web2py:30038] Re: autocomplete

2009-09-04 Thread mdipierro
Do you know this is discussed in the book? Chapter 10. Massimo On Sep 4, 5:45 am, suiato wrote: > On 9月1日, 午後3:20, suiato wrote: > ... > > > > > so far, i've found the web2py editor uses nicEdit, which is written in > > JavaScript and uses jQuery. jQuery has anautocompleteplugin (http:// > > b

[web2py:30037] Re: current status of Sphinx docs

2009-09-04 Thread mdipierro
I think so. On Sep 4, 3:51 am, Timmie wrote: > I am working with Sphinx 1.x. The development version. > > I have completed the mentioned Sphinx bug yesterday. > I may get feedback on this from the Sphinx devs later. > > Generally, the API documentation is very tricky for web2py. > With my own li

[web2py:30036] Re: pyjamas 0.6 [SOLVED]

2009-09-04 Thread stefaan
Yes! It works now. The embarassing thing is that the manual already showed the correct way to do it (it had a modified content attribute) and I completely overlooked it. Best regards, Stefaan. To summarize my steps: * make your pyjamas application, e.g. TodoApp.py * use pyjsbuild to create the

[web2py:30035] Re: Very new to web2py. Any pointers for begineers??

2009-09-04 Thread emaynard
Manoj, FYI - The entire second edition is available on Scribd in read-only form if that is any help. http://www.scribd.com/doc/19211452/Web2py-Manual -Eric On Sep 4, 4:08 am, Manoj wrote: > I have developed few apps using django and trying to understand > web2py. Lack of web2py documentation i

[web2py:30034] Re: Extending IS_NOT_EMPTY validator

2009-09-04 Thread Matthew
Perhaps I don't understand doctests fully, but isn't all output from them converted to string anyway? You're essentially checking print statements from the shell, right? For example, here is the IS_MATCH validator's doctests: >>> IS_MATCH('.+')('hello') ('hello', None)

[web2py:30033] Optimising returning of file content using wsgi.file_wrapper extension.

2009-09-04 Thread Graham Dumpleton
The WSGI specification defines an optional extension referred to as wsgi.file_wrapper. http://www.python.org/dev/peps/pep-0333/#optional-platform-specific-file-handling The intent of this is so that WSGI hosting mechanisms can provide a better performing way for responding with content from a

[web2py:30032] Re: autocomplete

2009-09-04 Thread suiato
On 9月1日, 午後3:20, suiato wrote: ... > > so far, i've found the web2py editor uses nicEdit, which is written in > JavaScript and uses jQuery. jQuery has anautocompleteplugin (http:// > bassistance.de/jquery-plugins/jquery-plugin-autocomplete/). looking further, i found: - nicEdit is used for html

[web2py:30031] Re: How to use validators on 2 fields?

2009-09-04 Thread tititi
Thanks for the response Massimo! Let's say I have 2 fields (table.user_id and table.postal_code) in a many to many table. And this would be the controller level logic: myduplicate = (db.table.user_id!= request.args[0]) & (table.postal_code!= request.args[1]).select().[0] So it's possible to hav

[web2py:30030] Re: Embedded Firebird

2009-09-04 Thread villas
> change by > con = kinterbasdb.connect(host='', database=r'k:\web2py > \fbembed.fdb',user='sysdba', password='masterkey') José, You rock man! I never tried the little 'r'. So maybe now there is a way! I didn't play around with it so much yet, but I suppose the web2py regex which checks the

[web2py:30029] Re: Mounting web2py at sub URL of web site and not root of web site.

2009-09-04 Thread Graham Dumpleton
On Sep 4, 4:26 pm, mdipierro wrote: > I think we can modify your patch so that it does not require r=request > (which would break some apps) Why would requiting r=request for URL calls break some applications? The code for URL is: application = controller = function = None if r:

[web2py:30028] Re: Very new to web2py. Any pointers for begineers??

2009-09-04 Thread Anand Vaidya
Hi Manoj, Apart from the PDF or printed book, there are many videos (on vimeo) recorded by Massimo. There is also some info on the wiki. You could just unzip the src zip file and read the example or admin apps bundled. This is how I started. Make small edits on the example app to understand how

[web2py:30027] Re: current status of Sphinx docs

2009-09-04 Thread Timmie
I am working with Sphinx 1.x. The development version. I have completed the mentioned Sphinx bug yesterday. I may get feedback on this from the Sphinx devs later. Generally, the API documentation is very tricky for web2py. With my own libraries (without classes) I never experienced this issue. F

[web2py:30026] Very new to web2py. Any pointers for begineers??

2009-09-04 Thread Manoj
I have developed few apps using django and trying to understand web2py. Lack of web2py documentation is hindering me from learning web2py ( and things are diffrent from django) Any pointers for a newbee to web2py? I want to convert django tutorial in web2py tutorial as learning process and will p

[web2py:30025] t2 like horizontal menu in ver. 1.66

2009-09-04 Thread ed
Hi, I've been using t2 horizontal menu and would like to use the same feature 'coz it looks a lot better than the horizontal menu of web2py ver. 1.66. Can somebody help modify the following t2 style.css: /* Menu */ #menu { width: 920px; height: 50px; margin: 0 auto; } #men

[web2py:30024] Re: pyjamas 0.6

2009-09-04 Thread stefaan
> Based on this post: http://groups.google.com/group/pyjamas-dev/browse_thread/thread/cd78e97cbd997e70/2e92997bd980b6ea?lnk=raot&pli=1 I think perhaps I should experiment a bit with the value of the content attribute in the meta tag. I'll try it out tonight. --~--~-~--~~-

[web2py:30023] Re: pyjamas 0.6

2009-09-04 Thread stefaan
Hello Joe, I have copied the full output of the pyjsbuild command into the static folder of my todo app. The bootstrap.js file is present there and is loaded, but as it runs, I tries to serve some TodoApp.nocache.html file and that file is not found because it is not requested from the static fo