场景: (gdb) break main Breakpoint 1 at 0x8048417 (gdb) r Starting program: /usr/local/src/ccode/ch11/strings Breakpoint 1, 0x08048417 in main () Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.132.el6_5.3.i686 查看一下debuginfo-install的脚本.…
当我在运行一个基于scrapy的爬虫时出现UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 12: ordinal not in range(128)的报错,原因是原因就是python的str默认是ascii编码,和unicode编码冲突. 解决办法:在代码中加入 import sys reload(sys) sys.setdefaultencoding('utf8') 就可以解决.…
Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.12.4 from http://uk.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of UK has elapsed or updates are forced. Or…
centos6安装wdcp时make in progress卡住的解决办法 今天在一台centos6的vps上安装wdcp出现的这个问题,到安装程序滚动至下面这里时出现"卡死". -. setenforce:selinux is disabled installing mysql,this may take a few minutes,hold on plz- cofigure in progress- make in progress- 在这里卡住了,本以为是上面的selinux i…