Hii Richardo,
I have installed the web2py from ubuntu sofware cente.
I tried commands given by you but it is say
praveen@ubuntu:~$  sudo mv /usr/lib/pymodules/python2.7/gluon
/usr/lib/pymodules/python2.7/gluon.bak
[sudo] password for praveen:
praveen@ubuntu:~$ cd /tmp
praveen@ubuntu:/tmp$ unzip /path/to/web2py_src.zip
unzip:  cannot find or open /path/to/web2py_src.zip,
/path/to/web2py_src.zip.zip or /path/to/web2py_src.zip.ZIP.
Regards,
Praveen.
On Fri, Mar 16, 2012 at 11:16 AM, Ricardo Pedroso <[email protected]>wrote:

>
>
> On Fri, Mar 16, 2012 at 9:46 AM, praveen krishna <
> [email protected]> wrote:
>
>> Hi,
>> I have installed web2py 1.99.4 in  ubuntu 11.10 but it is generating
>> ticket(internal error ) while connecting to the server and by clicking the
>> link link it is says the following trace back error
>> Traceback
>>
>> 1.
>> 2.
>> 3.
>> 4.
>> 5.
>> 6.
>> 7.
>>
>> Traceback (most recent call last):
>>   File "/usr/lib/pymodules/python2.7/gluon/restricted.py", line 192, in 
>> restricted
>>
>>     exec ccode in environment
>>   File "/home/praveen/web2py/applications/welcome/models/db.py" 
>> <http://127.0.0.1:8000/admin/default/edit/welcome/models/db.py>, line 43, in 
>> <module>
>>
>>     auth = Auth(db, hmac_key=Auth.get_or_create_key())
>> AttributeError: type object 'Auth' has no attribute 'get_or_create_key'
>>
>> I tried to debug it by #commenting the  line 43 but it is generating0
>> 'communication' error and I am unable to save it .What will be the solution
>> for this.
>>
>
> You don't need to install web2py but it can be done, I guess, since I
> never did it.
>
> How did you install it?
> How are you running it?
>
>
> You can try this and see if it works:
>
> $ sudo mv /usr/lib/pymodules/python2.7/gluon
> /usr/lib/pymodules/python2.7/gluon.bak
> $ cd /tmp
> $ unzip /path/to/web2py_src.zip
> $ cd web2py
> $ ./web2py.py -a 123 --nogui
>
> If it works, and if you really need, try to install it.
>
> At last restore gluon.bak:
> $ sudo mv /usr/lib/pymodules/python2.7/gluon.bak
> /usr/lib/pymodules/python2.7/gluon
>
> or delete it:
> $ sudo rm -Rf /usr/lib/pymodules/python2.7/gluon.bak
>
> Ricardo
>
>
>

Reply via email to