postgres formencode.api.Invalid
2015-07-22 14:46
393 查看
错误提示:
Invalid: expected an int in the IntCol 'geom', got <type 'str'> '010100000007EBFFFC3A611941C71000DC148C0141' instead
改正
位置:/usr/local/lib/python2.7/dist-packages/SQLObject-3.0.0a1dev_20150327-py2.7.egg/sqlobject/postgres/pgconnection.py
定位到:def guessClass(self, t):
加上:t = str(t).lower()
Invalid: expected an int in the IntCol 'geom', got <type 'str'> '010100000007EBFFFC3A611941C71000DC148C0141' instead
位置:/usr/local/lib/python2.7/dist-packages/SQLObject-3.0.0a1dev_20150327-py2.7.egg/sqlobject/postgres/pgconnection.py
定位到:def guessClass(self, t):
加上:t = str(t).lower()
相关文章推荐
- 内存回收
- express4.x Request对象获得参数方法
- Android笔记:代码规范(新浪微博sdk示例工程附带的说明)
- [LeetCode]Symmetric Tree
- 再高学历也没用,老板的性格就决定了他公司的命运
- 站点的验收标准
- root用户不能修改iptables
- Python GUI 编程 工具
- Android Studio使用技巧系列教程(四)
- MyEclipse中配置Weblogic
- Hadoop学习笔记—20.网站日志分析项目案例(二)数据清洗
- app启动的完整过程
- Not so Mobile (针对递归输入的函数)
- spring验证事务的代码,用到了mockito
- Objective-C中应用断言_assert()
- 五种常见的 PHP 设计模式
- Android Studio使用技巧系列教程(三)
- ARMCC和GCC编译ARM代码的软浮点和硬浮点问题
- &>/dev/null
- 使用class_attribute 生sys文件系统下生成调试文件,方便使用adb调试