草庐IT

unrecognized

全部标签

python - 编译pygraphviz : Unrecognized command line option '-mno-cygwin'

在Windows7上,尝试编译pygraphviz时,我运行pythonsetup.pybuild-cmingw32我明白了C:\MinGW\bin\gcc.exe-mno-cygwin-mdll-O-Wall"-IC:\ProgramFiles(x86)\Graphviz2.28\include\graphviz"-Ic:\Python27\include-Ic:\Python27\PC-cpygraphviz/graphviz_wrap.c-obuild\temp.win-amd64-2.7\Release\pygraphviz\graphviz_wrap.occ1.exe:err

python - Django 自定义命令错误 : unrecognized arguments

我正在尝试创建一个类似于createsuperuser的命令,它将接受两个参数(用户名和密码)它在django1.7中运行良好,但在1.8中却不行。(我也在用python3.4)这是我写的代码myapp/management/commands/createmysuperuser.pyfromdjango.core.management.baseimportBaseCommand,CommandErrorfromdjango.contrib.auth.modelsimportUserclassCommand(BaseCommand):help='Createasuperuser'defh

MongoDB YAML "Unrecognized option: security"

我在WindowsServer2012上运行MongoDB2.6版。我在设置YAML配置文件以确保安全和授权时遇到问题。当我有以下配置文件时,我只收到一条错误消息“无法识别的选项:安全性”。我的配置有什么问题?mongod_test.conf:security:authorization:enabledauthenticationMechanisms:MONGODB-CRstorage:dbPath:F:\MongoData命令行:mongod.exe--configmongod_test.conf我已经在我的文件中添加了空格,这解决了部分问题。使用上面的更新配置,我得到的当前错误是:

MongoDB YAML "Unrecognized option: security"

我在WindowsServer2012上运行MongoDB2.6版。我在设置YAML配置文件以确保安全和授权时遇到问题。当我有以下配置文件时,我只收到一条错误消息“无法识别的选项:安全性”。我的配置有什么问题?mongod_test.conf:security:authorization:enabledauthenticationMechanisms:MONGODB-CRstorage:dbPath:F:\MongoData命令行:mongod.exe--configmongod_test.conf我已经在我的文件中添加了空格,这解决了部分问题。使用上面的更新配置,我得到的当前错误是:

python argparse : unrecognized arguments

当我运行parsePlotSens.py-sbwhehe时,它说hehe是一个无法识别的参数。但是,如果我运行parsePlotSens.pyhehe-sbw,就可以了。理想情况下,我希望它适用于这两种情况。有什么建议吗?以下是我的代码:if__name__=='__main__':parser=argparse.ArgumentParser(prog='parsePlotSens');parser.add_argument('-s','--sort',nargs=1,action='store',choices=['mcs','bw'],default='mcs',help=sort

python - 用 cython 和 mingw 编译产生 gcc : error: unrecognized command line option '-mno-cygwin'

我正在尝试使用mingw(64位)在win764位中使用cython编译python扩展。我正在使用Python2.6(ActivePython2.6.6)和足够的distutils.cfg文件(将mingw设置为编译器)执行时>C:\Python26\programas\Cython>pythonsetup.pybuild_ext--inplace我收到一条错误消息,说gcc没有-mno-cygwin选项:>C:\Python26\programas\Cython>pythonsetup.pybuild_ext--inplacerunningbuild_extskipping'hel

java - Jackson Json 反序列化 : Unrecognized field "..." , 未标记为可忽略

我收到以下错误,但我没有找到解决办法:Unrecognizedfield"GaugeDeviceId"(ClassGaugeDevice),notmarkedasignorable问题似乎是,服务返回的属性名称以大写字母开头,而类属性以小写字母开头。我试过了:将propertyNames更改为第一个大写字母-相同的错误在属性实例化中添加@JsonProperty("SerialNo")-同样的错误将@JsonProperty("SerialNo")添加到相应的getter-同样的错误将@JsonProperty("SerialNo")添加到相应的setter-相同的错误将@JsonPr

android - HttpMessageNotReadableException : Could not read JSON: Unrecognized field using Spring for Android

我正在开发与我的服务器通信的Android应用程序。这种通信是通过Spring框架和Jackson完成的。我已成功向我的服务器发送请求,但没有收到响应。这是我所做的:安卓应用:publicLojagetLoja(){RestTemplaterestTemplate=newRestTemplate();restTemplate.getMessageConverters().add(newMappingJacksonHttpMessageConverter());restTemplate.setRequestFactory(newHttpComponentsClientHttpReques

ios - [__NSCFNumber 长度] : unrecognized selector sent to instance UITableView

我遇到了一个错误[__NSCFNumberlength]:unrecognizedselectorsenttoinstance0x15580c902014-02-1815:10:49.490CIB[1706:60b]*Terminatingappduetouncaughtexception'NSInvalidArgumentException',reason:'-[__NSCFNumberlength]:unrecognizedselectorsenttoinstance0x15580c90'*Firstthrowcallstack:(0x2da18e830x37d756c70x2da

iphone - AdMob 崩溃并显示 [GADObjectPrivate changeState :]: unrecognized selector

我已经安装了AdMobSDK6.2.0(Xcode4.5(4G182),我正在iPhone4S和模拟器上进行测试)。我按照教程操作,只想让AdMob显示一次横幅。但它在最后一行崩溃:self.bannerView=[[GADBannerViewalloc]initWithFrame:CGRectMake(0.0,self.view.frame.size.height-GAD_SIZE_320x50.height,GAD_SIZE_320x50.width,GAD_SIZE_320x50.height)];self.bannerView.delegate=self;self.banner