Re: [web2py] Re: Error when using new wizard
Now that I got the MySQLdb solved I'm trying to solve the problem with the new admin. I did a chmod -R 777 * on all files in my web2py directory and also a chown -R apache:web2py * and still I get a Failed to create application testing. In what file I start to look for the problem? Kenneth - Alkuperäinen viesti - > It is a file permission issue. > > On Nov 13, 12:33 am, Kenneth Lundström > wrote: > > Centos 5.5, Apache 2 and mod_wsgi. > > > > I tried using the "New simple application". I gave it a name och > > pressed create. I get "unable to create application 'testing'". > > > > Kenneth > > > > > What is your setup? apache?mod_wsgi? > > > > > On Nov 12, 5:48 pm, Kenneth Lundstr m > > > wrote: > > > > > Can you check if this folder was created? > > > > > /data/domains/web2py/applications/Boatintra > > > > > > No it was not created. > > > > > > > if not it is a file permission issue. What os? was it a binary > > > > distribution of web2py? > > > > > > Linux, source. All files permissions apache:web2py. I tried to > > > > change file permissions of the applications directory to 777 but > > > > no luck. > > > > > > Kenneth > > > > > > > On Nov 12, 5:30 pm, Kenneth Lundstr > > > > > m wrote: > > > > > > Just installed the newest version of web2py (1.89.1) and > > > > > > tested the wizard to create a new appl. > > > > > > I came to step 6 when I got a error. > > > > > > Version > > > > > > web2py Version 1.89.1 (2010-11-12 15:14:36) > > > > > > Python > > > > > > Traceback > > > > > > Traceback (most recent call last): > > > > > > File "/data/domains/web2py/gluon/restricted.py", line 188, in > > > > > > restricted exec ccode in environment > > > > > > File > > > > > > "/data/domains/web2py/applications/admin/controllers/wizard.py", > > > > > > line 571, in ? File "/data/domains/web2py/gluon/globals.py", > > > > > > line 96, in self._caller = lambda f: f() > > > > > > File > > > > > > "/data/domains/web2py/applications/admin/controllers/wizard.py", > > > > > > line 200, in step6 create(form.vars) > > > > > > File > > > > > > "/data/domains/web2py/applications/admin/controllers/wizard.py", > > > > > > line 488, in create file=open(meta,'wb') > > > > > > IOError: [Errno 2] No such file or directory: > > > > > > '/data/domains/web2py/applications/admin/../Boatintra/wizard.metadata' > > > > > > What more info do you need to find the error? > > > > > > Kenneth > > > >
Re: [web2py] Re: Error when using new wizard
Where can I start to look for the problem. Is the problem written in some log? Kenneth It is a file permission issue. On Nov 13, 12:33 am, Kenneth Lundström wrote: Centos 5.5, Apache 2 and mod_wsgi. I tried using the "New simple application". I gave it a name och pressed create. I get "unable to create application 'testing'". Kenneth What is your setup? apache?mod_wsgi? On Nov 12, 5:48 pm, Kenneth Lundstr m wrote: >Can you check if this folder was created? > /data/domains/web2py/applications/Boatintra No it was not created. >if not it is a file permission issue. What os? was it a binary distribution of web2py? Linux, source. All files permissions apache:web2py. I tried to change file permissions of the applications directory to 777 but no luck. Kenneth On Nov 12, 5:30 pm, Kenneth Lundstr m wrote: Just installed the newest version of web2py (1.89.1) and tested the wizard to create a new appl. I came to step 6 when I got a error. Version web2py Version 1.89.1 (2010-11-12 15:14:36) Python Traceback Traceback (most recent call last): File "/data/domains/web2py/gluon/restricted.py", line 188, in restricted exec ccode in environment File "/data/domains/web2py/applications/admin/controllers/wizard.py", line 571, in ? File "/data/domains/web2py/gluon/globals.py", line 96, in self._caller = lambda f: f() File "/data/domains/web2py/applications/admin/controllers/wizard.py", line 200, in step6 create(form.vars) File "/data/domains/web2py/applications/admin/controllers/wizard.py", line 488, in create file=open(meta,'wb') IOError: [Errno 2] No such file or directory: '/data/domains/web2py/applications/admin/../Boatintra/wizard.metadata' What more info do you need to find the error? Kenneth
Re: [web2py] Re: Error when using new wizard
Centos 5.5, Apache 2 and mod_wsgi. I tried using the "New simple application". I gave it a name och pressed create. I get "unable to create application 'testing'". Kenneth What is your setup? apache?mod_wsgi? On Nov 12, 5:48 pm, Kenneth Lundström wrote: > Can you check if this folder was created? >/data/domains/web2py/applications/Boatintra No it was not created. > if not it is a file permission issue. What os? was it a binary distribution of web2py? Linux, source. All files permissions apache:web2py. I tried to change file permissions of the applications directory to 777 but no luck. Kenneth On Nov 12, 5:30 pm, Kenneth Lundstr m wrote: Just installed the newest version of web2py (1.89.1) and tested the wizard to create a new appl. I came to step 6 when I got a error. Version web2py Version 1.89.1 (2010-11-12 15:14:36) Python Traceback Traceback (most recent call last): File "/data/domains/web2py/gluon/restricted.py", line 188, in restricted exec ccode in environment File "/data/domains/web2py/applications/admin/controllers/wizard.py", line 571, in ? File "/data/domains/web2py/gluon/globals.py", line 96, in self._caller = lambda f: f() File "/data/domains/web2py/applications/admin/controllers/wizard.py", line 200, in step6 create(form.vars) File "/data/domains/web2py/applications/admin/controllers/wizard.py", line 488, in create file=open(meta,'wb') IOError: [Errno 2] No such file or directory: '/data/domains/web2py/applications/admin/../Boatintra/wizard.metadata' What more info do you need to find the error? Kenneth
Re: [web2py] Re: Error when using new wizard
> Can you check if this folder was created? > /data/domains/web2py/applications/Boatintra No it was not created. > if not it is a file permission issue. What os? was it a binary distribution of web2py? Linux, source. All files permissions apache:web2py. I tried to change file permissions of the applications directory to 777 but no luck. Kenneth On Nov 12, 5:30 pm, Kenneth Lundström wrote: Just installed the newest version of web2py (1.89.1) and tested the wizard to create a new appl. I came to step 6 when I got a error. Version web2py Version 1.89.1 (2010-11-12 15:14:36) Python Traceback Traceback (most recent call last): File "/data/domains/web2py/gluon/restricted.py", line 188, in restricted exec ccode in environment File "/data/domains/web2py/applications/admin/controllers/wizard.py", line 571, in ? File "/data/domains/web2py/gluon/globals.py", line 96, in self._caller = lambda f: f() File "/data/domains/web2py/applications/admin/controllers/wizard.py", line 200, in step6 create(form.vars) File "/data/domains/web2py/applications/admin/controllers/wizard.py", line 488, in create file=open(meta,'wb') IOError: [Errno 2] No such file or directory: '/data/domains/web2py/applications/admin/../Boatintra/wizard.metadata' What more info do you need to find the error? Kenneth