码迷,mamicode.com
首页 >  
搜索关键字:bad argument setup    ( 9442个结果
python装饰器实现线程同步
import threading def tryfinally(finallyf):   u"returns a decorator that adds try/finally behavior with given no-argument call in the finally"   print "tryfinally"   def decorator(callable):     p...
分类:编程语言   时间:2014-08-05 11:17:29    阅读次数:226
cmake函数参数解析
最近在迁移公司的make系统到cmake上,发现cmake的function参数很奇怪。例如,如果我们向一个function传递list作为参数,在function中,形参会变成如下状况: set(SRC) list(APPEND SRC a.cpp b.cpp) list(APPEND SRC c.cpp d.cpp) function(tst_arguments src_list) me...
分类:其他好文   时间:2014-08-05 03:05:18    阅读次数:317
部署中遇到的问题(三)
起初没400 Bad request 过一段时间就产生了 [pid: 14558|app: 0|req: 23/23] 123.127.3.37 () {38 vars in 653 bytes} [Mon Aug  4 21:29:55 2014] GET / => generated 0 bytes in 6 msecs (HTTP/1.1 500) 4 headers in 147 by...
分类:其他好文   时间:2014-08-05 00:44:10    阅读次数:724
Nested weights are bad for performance
警告信息“Nested weights are bad for performance”的消除方法 原因分析:在布局进行嵌套使用时,父布局与子布局都使用了android:layout_weight,但不是必须使用时,便会出现如题所示的警告信息。 解决方法:根据实际情况,去除子布局中非必须使用的a.....
分类:其他好文   时间:2014-08-04 13:49:17    阅读次数:210
visualscope的使用方法
接触智能车来,说道上位机,以前看到有人在论坛里分享了visualscope,这几天用了下,过程中也遇到了一些问题,首先先说怎么用吧,也帮助一些准备使用同学,给他们一些参考,我当时就自己摸索浪费了好长时间。       首先先配置波特率,com口等基本配置。如图:                在菜单栏Setup里面选择第一个选项,或者单击右下方状态栏,       然后你会发现Setup第...
分类:其他好文   时间:2014-08-03 23:29:26    阅读次数:360
fix [Errno 13] Permission denied: '/var/log/glance/api.log'
root@node1glance]#su-s/bin/sh-c"glance-managedb_sync"glanceTraceback(mostrecentcalllast):File"/usr/bin/glance-manage",line10,in<module>sys.exit(main())File"/usr/lib/python2.6/site-packages/glance/cmd/manage.py",line253,inmainlog.setup(‘glance‘)File"/u..
分类:Windows程序   时间:2014-08-03 07:58:05    阅读次数:928
POJ 2377 Bad Cowtractors
Bad Cowtractors Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 10634   Accepted: 4504 Description Bessie has been hired to build a cheap internet network amon...
分类:其他好文   时间:2014-08-02 18:28:53    阅读次数:233
Nginx 补充
502 Bad Gateway可能性之一(Ubuntu 12.04+Nginx+uWSGI+Django ) 原来是Ubuntu12.04源列表中的Nginx版本太低了(才1.1.9貌似),自己去官网下了最新的,编译安装,搞定! Nginx配置      Nginx的配置文件是/etc/nginx/nginx.conf,其中设置了一些必要的参数,我们发现其中这样的语句:  ...
分类:其他好文   时间:2014-08-02 10:04:43    阅读次数:211
centos编译libpng报错,解决方法
/usr/local/lib/libz.a: could not read symbols: Bad value一般是64 位 电脑才会出现。解决方法如下:1 cd zlib-1.2.3 //进入zlib目录2 3 CFLAGS="-O3 -fPIC" ./configure //使用64位元的方法...
分类:其他好文   时间:2014-08-01 22:56:12    阅读次数:441
安装并破解ArcGis for Server 10.2
1.安装:下载ArcGis for Server 10.2是一个iso文件,可以解压安装或用Daemon Tools安装。挨个点Setup安装。2.破解:下载授权许可文件,或使用keygen生成许可文件。然后用 开始->程序->ArcGis->ArcGis for Server->Software ...
分类:其他好文   时间:2014-08-01 19:29:32    阅读次数:729
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!