I'm using the binary version. 

On Tuesday, 26 April 2016 17:31:10 UTC-5, Niphlod wrote:
>
> are you using web2py_win.zip (the binary version) or the source one ?
>
> On Tuesday, April 26, 2016 at 11:44:29 PM UTC+2, Jacob Thoennes wrote:
>>
>> the error when running my start.bat says:
>>
>> IOError: [Errno 2] No such file or directory: 
>> 'applications\\init\\compiled\\controllers_default_index.pyc'
>>
>> So when it tries to run the compiled app it is looking for a controller 
>> file with underscores, despite the fact that controller files should have 
>> periods (and a file does exist that has periods). 
>>
>> So using my start.bat truly does not produce errors for you? What could 
>> cause such different behavior with the same files? I am running windows 10 
>> 64 bit, what other difference between our machines could cause the error? I 
>> said that I suspected a web2py bug because clearly it is generating a file 
>> name from the name of the controller file I specified, but it is not 
>> matching the file name that was produced when the app was compiled. 
>>
>> On Tuesday, 26 April 2016 16:25:42 UTC-5, Niphlod wrote:
>>>
>>> nope, once again, it doesn't show ANY errors. Why are you stating that 
>>> "it's expecting underscores for everything" ?
>>>
>>> views - underscore 
>>> https://github.com/web2py/web2py/blob/master/gluon/compileapp.py#L483 
>>> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fweb2py%2Fweb2py%2Fblob%2Fmaster%2Fgluon%2Fcompileapp.py%23L483&sa=D&sntz=1&usg=AFQjCNEXa5DvGNBtkQhIFXH0abx2-r5coA>
>>> models - dot 
>>> https://github.com/web2py/web2py/blob/master/gluon/compileapp.py#L499 
>>> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fweb2py%2Fweb2py%2Fblob%2Fmaster%2Fgluon%2Fcompileapp.py%23L499&sa=D&sntz=1&usg=AFQjCNGxIdp3E6YsKb13sGqaWjazwqXHxA>
>>> controllers - dot 
>>> https://github.com/web2py/web2py/blob/master/gluon/compileapp.py#L523
>>>
>>>
>>>
>>> On Tuesday, April 26, 2016 at 6:31:02 PM UTC+2, Jacob Thoennes wrote:
>>>>
>>>> so it looks like the "views" files have underscores but the 
>>>> "controllers" and "models" files have periods, and it's expecting 
>>>> underscores for everything. Assuming the start.bat I gave shows the same 
>>>> error for you, this definitely seems like a web2py bug to me. 
>>>>
>>>

-- 
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.

Reply via email to