Examine ur controller, its likely from the controller, i had similar issue.

On Friday, November 27, 2015 at 12:43:33 AM UTC+1, Carlos Zenteno wrote:
>
> Coming back to web2py again.
>
> I am going through Massimo's videos and doing the reddit clone.
>
> I use appadmin to add users and categories and all is fine.
>
> then I proceed to add posts manually, without using 'populate'
>
> I get the following ticket/error:
>
>
> Error ticket for "reddit" 
> Ticket ID 
>
> 127.0.0.1.2015-11-26.17-32-59.dcabdfff-16d6-4813-98ff-8992bd6d3370 
> <class 'sqlite3.IntegrityError'> foreign key constraint failed 
> Version 
>  
>  web2py™ Version 2.12.3-stable+timestamp.2015.08.19.00.18.03 
>  Python Python 2.7.2+: /usr/bin/python (prefix: /usr)
>
>
> I have deleted the database a couple of times and let it regenerate again
> wiith  no luck.  Also the post table, same thing.  Don't know what to do 
> now...
> any pointers?
>
>
>

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