Thank you David and Niphlod. On Wednesday, 22 October 2014 15:52:55 UTC-5, Niphlod wrote: > > nice catch. https://github.com/web2py/web2py/pull/535 > > On Wednesday, October 22, 2014 10:48:40 PM UTC+2, David Ripplinger wrote: >> >> Yep, it works. Good job. >> >> On Wednesday, October 22, 2014 4:41:31 PM UTC-4, Niphlod wrote: >>> >>> got the issue, reproduced it, fixed it. I forgot about web2py.exe not >>> being actually web2py.py recompiled but a loader that decompresses >>> library.zip and loads the modules. This is a complete rebuild on 2.9.11 >>> with the fix. >>> https://www.dropbox.com/s/jmdy2qtt71i0snb/web2py_win.zip?dl=0 >>> >>> On Wednesday, October 22, 2014 10:27:33 PM UTC+2, David Ripplinger wrote: >>>> >>>> Here's some more information. You may have already figured this out, >>>> but just in case it helps: >>>> >>>> When I run web2py.exe from a different directory, that directory also >>>> gets populated with new, empty folders such as 'applications' and >>>> 'site-packages'. This, along with the error message about not finding the >>>> version (which I assume is in the file 'VERSION'), makes me believe that >>>> web2py.exe has a runtime directory matching the working directory from >>>> which it gets called. What it needs in order to not be broken is to have >>>> the runtime directory be 'web2py', where web2py.exe is located. >>>> >>>> On Wednesday, October 22, 2014 4:26:01 PM UTC-4, Niphlod wrote: >>>>> >>>>> whoopsy. it needs also the corresponding library.zip. stay tuned, I'll >>>>> try to make something against 2.9.11. >>>>> >>>>> On Wednesday, October 22, 2014 10:12:34 PM UTC+2, David Ripplinger >>>>> wrote: >>>>>> >>>>>> Tried it. It does the same thing. Sorry. >>>>>> >>>>>> On Wednesday, October 22, 2014 4:01:32 PM UTC-4, Niphlod wrote: >>>>>>> >>>>>>> try this instead >>>>>>> https://www.dropbox.com/s/jd4oxlilmel8ghz/web2py.exe?dl=0 >>>>>>> >>>>>>> On Wednesday, October 22, 2014 9:03:34 PM UTC+2, Niphlod wrote: >>>>>>>> >>>>>>>> uhm. they should behave in the same way. investigating....... >>>>>>>> >>>>>>>> On Wednesday, October 22, 2014 6:11:56 PM UTC+2, David Ripplinger >>>>>>>> wrote: >>>>>>>>> >>>>>>>>> I recently discovered there are a couple things about the working >>>>>>>>> directory and the runtime directory when running web2py. >>>>>>>>> >>>>>>>>> - If you launch "python web2py.py" in Linux from a working >>>>>>>>> directory other than "web2py", the runtime directory is "web2py" >>>>>>>>> and not >>>>>>>>> your working directory. This works fine, but it means we have to >>>>>>>>> keep that >>>>>>>>> in mind when adding other arguments to the command which point to >>>>>>>>> files. >>>>>>>>> - If you launch web2py.exe in Windows from a working directory >>>>>>>>> other than "web2py", it doesn't work. It gives the error >>>>>>>>> "RuntimeError: >>>>>>>>> Cannot determine web2py version". >>>>>>>>> >>>>>>>>> I'm not sure if the 2nd point should be considered a bug in web2py >>>>>>>>> or a desired restriction on how it is executed, but in either case, I >>>>>>>>> suggest these particular points be mentioned in the book in this >>>>>>>>> section >>>>>>>>> <http://www.web2py.com/books/default/chapter/29/03/overview#Startup> >>>>>>>>> . >>>>>>>>> >>>>>>>>> What do you all think? >>>>>>>>> >>>>>>>>
-- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.