ValueError: Invalid configuration: - Deprecated option 'domaincontroller': use 'http_authenticator

安装完爬虫框架pyspider之后,使用pyspider all 命令,输入http://localhost:5000运行就出现上述错误

原因是因为WsgiDAV发布了版本 pre-release 3.x。

解决方法如下:

在安装包中找到pyspider的资源包,然后找到webui文件里面的webdav.py文件打开,修改第209行即可。

‘domaincontroller‘: NeedAuthController(app),

修改为:

‘http_authenticator‘:{
        ‘HTTPAuthenticator‘:NeedAuthController(app),
    },

然后再执行pyspider all就能够通过http://localhost:5000打开页面了。

如下图所示:

ValueError: Invalid configuration: - Deprecated option 'domaincontroller': use 'http_authenticator

原文地址:https://www.cnblogs.com/yangyangblog/p/12112611.html

时间: 2024-08-02 12:56:57

ValueError: Invalid configuration: - Deprecated option 'domaincontroller': use 'http_authenticator的相关文章

org.hibernate.MappingException: invalid configuration

写hibernate的hello world 内容非常简单,一个实体bean--Student.java 一个测试文件--StudentTest.java 两个配置文件:Student.hbm.xml,hibernate.cfg.xml 可是一直报错: Exception in thread "main" org.hibernate.MappingException: invalid configuration Caused by: org.xml.sax.SAXParseExcept

Python中ValueError: invalid literal for int() with base 10 的实用解决办法

今天在写爬虫程序的时候由于要翻页,做除法分页的时候出现了 1 2 totalCount = '100' totalPage = int(totalCount)/20 ValueError: invalid literal for int() with base 10的错误 网上同样的错误有人建议用round(float(“1.0″)),但是解决不了我这个问题,round(float(“1.0″))是用于解决浮点数转换为整形数的, 而我这个则是因为原字符串转换为整形后做除法,虽然一段时间内可能不报

invalid configuration x86_64-unknown-linux-gnu' machine x86_64-unknown' not recognized

前两天在装机器软件的时候, 出现了下面的错误, [html] view plain copy invalid configuration x86_64-unknown-linux-gnu' machine x86_64-unknown' not recognized 在网上查了半天,解决方案有三个: 1. 把 /usr/share/libtool/config.guess 覆盖到相关软件自带的config.guess 把 /usr/share/libtool/config.sub 覆盖到相关软件

esxi 5.1 因为断电错误无法启动 报错 bank5 invalid configuration

因为着急,处理过程中也没有截图,这里简单的描述下整个过程吧. IBM pcserver x3850 可能是机器太热的原因,中午无故掉电,导致esxi无法正常启动 启动时报错 bank5 invalid configuration no hypervistor found 启动盘里面有保留原来的datastore的选项,但是没有尝试过,所以这里先对虚拟机进行了一次备份操作. 备份: 使用linux live cd的方式挂接移动硬盘来进行备份: 这里使用的是systemrescuecd 简单好用,而

x86_64编译JPEG遇到Invalid configuration `x86_64-unknown-linux-gnu'

把 /usr/share/libtool/config/config.guess 覆盖到相关软件自带的config.guess   把 /usr/share/libtool/config/config.sub 覆盖到相关软件自带的config.sub   ./configure --enable-shared --enable-static但是会遇到没有安装libtoolyum install -y libtoolcp /usr/share/libtool/config/config.guess

esxi 5.1 由于断电错误无法启动 报错 bank5 invalid configuration

由于着急,处理过程中也没有截图,这里简单的描写叙述下整个过程吧. IBM pcserver x3850 可能是机器太热的原因,中午无故掉电,导致esxi无法正常启动 启动时报错 bank5 invalid configuration no hypervistor found 启动盘里面有保留原来的datastore的选项,可是没有尝试过,所以这里先对虚拟机进行了一次备份操作. 备份: 使用linux live cd的方式挂接移动硬盘来进行备份: 这里使用的是systemrescuecd 简单好用

hibernate中 org.hibernate.MappingException: invalid configuration 报错

<session-factory>   <!-- #1:基本四项 -->  <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>  <property name="hibernate.connection.url">jdbc:mysql://localhost:3306/h01</prop

ValueError: Invalid leaf XXX

Bug:ValueError: Invalid leaf XXX 无效的搜索条件--检查search函数中的domain表达式格式!是否少了括号! search(['user_id', '=', user_id,]) 上式错误,应该改为: search([('user_id', '=', user_id),]) 原文地址:https://www.cnblogs.com/cnodoo/p/9281381.html

celery中配置redis密码时的ValueError: invalid literal for int() with base 10: &#39;xxxx&#39;

原配置: celery_broker = 'redis://:xxxx#[email protected]:6379/0' # docker0 错误原因: 密码中不能有 # https://blog.csdn.net/liushaochan123/article/details/8885116 celery中配置redis密码时的ValueError: invalid literal for int() with base 10: 'xxxx' 原文地址:https://www.cnblogs.