What is "wkaleh_db"? Is is defined somewhere in your code?

On Thursday, 21 March 2013 03:38:35 UTC-5, mqa...@gardeniatelco.com wrote:
>
> Dear ALL , 
>
> i am having some problems starting my project in mysql , it was working 
> fine in sqlite but its not creating any tables in mysql , here is the error 
> : 
>
>
> Ticket ID 
>
> 127.0.0.1.2013-03-21.11-35-49.b053e9f1-2194-47ee-b635-b00b1c370b0c
> <class 'gluon.contrib.pymysql.err.ProgrammingError'> (1146, u"Table 
> 'wkaleh_db.news' doesn't exist") Version  web2py™ (1, 99, 4, 
> datetime.datetime(2011, 12, 14, 14, 46, 14), 'stable') Python Traceback 
> 1.
> 2.
> 3.
> 4.
> 5.
> 6.
> 7.
> 8.
> 9.
> 10.
> 11.
> 12.
> 13.
> 14.
> 15.
> 16.
> 17.
> 18.
> 19.
> 20.
> 21.
> 22.
> 23.
> 24. Traceback (most recent call last):
>  File "C:\web2py\gluon\restricted.py", line 204, in restricted
>  exec ccode in environment
>  File 
> "C:/web2py/applications/alwkaleh/controllers/default.py"<http://127.0.0.1:8000/admin/edit/alwkaleh/controllers/default.py>
> , line 888, in <module>
>  File "C:\web2py\gluon\globals.py", line 172, in <lambda>
>  self._caller = lambda f: f()
>  File 
> "C:/web2py/applications/alwkaleh/controllers/default.py"<http://127.0.0.1:8000/admin/edit/alwkaleh/controllers/default.py>
> , line 634, in index
>  interview=db(db.News.EnglishTitle!= "").select (db.Interview.ALL,orderby
> =~db.Interview.id)[:1]
>  File "C:\web2py\gluon\dal.py", line 6333, in select
>  return self.db._adapter.select(self.query,fields,attributes)
>  File "C:\web2py\gluon\dal.py", line 1282, in select
>  rows = response(sql)
>  File "C:\web2py\gluon\dal.py", line 1272, in response
>  self.execute(sql)
>  File "C:\web2py\gluon\dal.py", line 1359, in execute
>  return self.log_execute(*a, **b)
>  File "C:\web2py\gluon\dal.py", line 1353, in log_execute
>  ret = self.cursor.execute(*a, **b)
>  File "C:\web2py\gluon\contrib\pymysql\cursors.py", line 108, in execute
>  self.errorhandler(self, exc, value)
>  File "C:\web2py\gluon\contrib\pymysql\connections.py", line 184, 
> indefaulterrorhandler
>  raise errorclass, errorvalue
> ProgrammingError: (1146, u"Table 'wkaleh_db.news' doesn't exist")
>  
>
>
>

-- 

--- 
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/groups/opt_out.


Reply via email to