yes richard i have installed the source version and thanks Burno the
command  sudo python web2py.py is working to run web2py

On Wed, Apr 11, 2012 at 5:53 PM, Richard Vézina <[email protected]
> wrote:

> Yes Bruno is right I should had seen that I get OSError: [Errno 13]
> Permission denied just yesterday...
>
> Did you install web2py with the script in contrib folder? If yes your user
> name should be www-data.
>
> Did it works with the built-in dev web server?
>
> Richard
>
>
> On Wed, Apr 11, 2012 at 11:38 AM, Bruno Rocha <[email protected]>wrote:
>
>> web2py works well with any Python 2.5+
>>
>> You have permission problem.
>>
>> Go to your terminal, access the location where web2y folder is and try.
>>
>> $ sudo chown -R youruser:youruser web2py
>>
>> or
>>
>> run web2py with superuser
>>
>> $ sudo python web2py.py
>>
>>
>>
>>
>> On Wed, Apr 11, 2012 at 12:30 PM, praveen krishna <
>> [email protected]> wrote:
>>
>>> I have python 2.7.2 in my system I think its not compatible how to make
>>> my web2py compatible to my python.
>>>
>>>
>>> On Wed, Apr 11, 2012 at 5:23 PM, Richard Vézina <
>>> [email protected]> wrote:
>>>
>>>> Maybe your python version is not fully compatible with web2py, since
>>>> you use the installed python version... You should check which version of
>>>> python is installed.
>>>>
>>>> import sys
>>>> sys.version_info
>>>>
>>>> I ran web2py under  (2, 6, 5, 'final', 0) and Ubuntu server LTS with no
>>>> problem.
>>>>
>>>>
>>>> Richard
>>>>
>>>> On Wed, Apr 11, 2012 at 11:06 AM, praveen krishna <
>>>> [email protected]> wrote:
>>>>
>>>>> Hii,
>>>>>    I have downloaded the source code version of web2py from
>>>>> http://www.web2py.com/examples/default/download i have unzipped it
>>>>> and tried to run the web2py by using the comand  'python web2py.py' but it
>>>>> generating following error in terminal
>>>>> Traceback (most recent call last):
>>>>>   File "web2py.py", line 16, in <module>
>>>>>     import gluon.widget
>>>>>   File "/home/praveen/web2py/web2py/gluon/widget.py", line 23, in
>>>>> <module>
>>>>>     import main
>>>>>   File "/home/praveen/web2py/web2py/gluon/main.py", line 66, in
>>>>> <module>
>>>>>     create_missing_folders()
>>>>>   File "/home/praveen/web2py/web2py/gluon/admin.py", line 439, in
>>>>> create_missing_folders
>>>>>     os.mkdir(path)
>>>>> OSError: [Errno 13] Permission denied:
>>>>> '/home/praveen/web2py/web2py/deposit'
>>>>>   how to resolve it?
>>>>>
>>>>>
>>>>
>>>
>>
>>
>> --
>>
>> Bruno Rocha
>> [http://rochacbruno.com.br]
>>
>>
>

Reply via email to