#-*-coding:cp936-*-#由于现在不是很明白:事件过滤器的使用(eventFilter),先收藏着fromPyQt4importQtGui,QtCoreclassWindow(QtGui.QMainWindow):def__init__(self):QtGui.QMainWindow....
分类:
其他好文 时间:
2014-08-05 22:09:10
阅读次数:
2780
删除:1、org.springframework.dao.DataIntegrityViolationException: Cannot delete or update a parent row: a foreign key constraint fails (`life`.`tb_ad`, CO...
分类:
系统相关 时间:
2014-08-05 22:00:30
阅读次数:
288
Q:在安装setuptools时Python ez_setup.py,或者安装其他egg包,有时候会碰到: UnicodeDecodeError错误,这是为什么呢?
安装setuptools时UnicodeDecodeError错误
mimetypes.init() # try to read system mime.types
File "C:\Python27\lib\mim...
分类:
其他好文 时间:
2014-08-05 19:35:50
阅读次数:
201
今天在取android代码时,发现repo init提示以下错误:
在网上搜索了一下,在下面这个帖子到帮助下,解决了问题:
http://bbs.csdn.net/topics/390705429
该帖子中提到的解决方法有:
方法一:
出现此问题是repo版本不对的问题,具体原因可网上搜索下,据说是google 代码传错导致。我更换过repo后,问题已经解决。curl h...
分类:
其他好文 时间:
2014-08-05 19:35:10
阅读次数:
991
错误代码如下:
E:\>wsimport -keep service.xml
parsing WSDL...
[WARNING] src-resolve: Cannot resolve the name 'soapenc:Array' to a(n) 'type definition' component.
line 505 of file:/E:/service1.xml#types...
分类:
Web程序 时间:
2014-08-05 19:27:20
阅读次数:
242
1.1 def func():2 return a=3#错误的用法2.1 class a:2 def func():#func至少要有一个self参数3 ...........................3.1 class a:2 def _init_(self):#__...
分类:
编程语言 时间:
2014-08-05 19:05:19
阅读次数:
230
_password = [[UITextField alloc]init]; _password.font = k18Font; _password.attributedPlaceholder = [[NSAttributedString alloc]initWithString:@" 密码...
分类:
其他好文 时间:
2014-08-05 18:45:49
阅读次数:
244
在linux环境编译应用程式或lib的source code时常常会出现如下的错误讯息:/usr/bin/ld: cannot find -lxxx这些讯息会随着编译不同类型的source code 而有不同的结果出来如:/usr/bin/ld: cannot find -lc/usr/bin/ld...
分类:
其他好文 时间:
2014-08-05 18:18:29
阅读次数:
1095
Redirect "all" output to a single file: Run: test.bat?>?test.txt?2>&1 and you‘ll get this text on screen (we‘ll never get rid of this line on screen, as it is sent to the Console and cannot be r...
当系统启动时,epoll进行初始化: 1 static int __init eventpoll_init(void) 2 { 3 mutex_init(&pmutex); 4 ep_poll_safewake_init(&psw); 5 epi_cache = kmem_c...
分类:
其他好文 时间:
2014-08-05 13:51:59
阅读次数:
431