pyspider

pyspider 安装错误

在 Ubuntu16 中

  • 错误一:

    • 错误描述:

      1
      2
      
       raise ValueError("Invalid configuration:\n  - " + "\n  - ".join(errors))
      ValueError: Invalid configuration:
    • 解决方法

      • link:https://github.com/binux/pyspider/issues/831
      • You can change pyspider/webui/webdav.py line 203:

        • 具体:

          1
          2
          3
          4
          5
          6
          
          #把
          'domaincontroller': NeedAuthController(app),
          #修改为:
          'http_authenticator':{
                  'HTTPAuthenticator':NeedAuthController(app),
              },
  • 错误二:

    • 错误描述:

      • 运行 pyspider all:

        • 启动 pyspider 时 Could not create web server listening on port 25555 报错
    • 解决方法:

emacs encoding

编码错误处理

解决 windows,cmd,powershell 乱码

  • 使用 M-x shell
  • 然后 M-x set-language-environment, Chinese-GB
  • 避免在 eshell 里面调用 cmd,以免卡死

局部文字乱码

  • 使用 M-x recode-region

文件乱码

  1. 使用 M-x revert-buffer-with-coding-system

English

for typesetting 排版

hyphenation
hyphen
discretionary<–> any
accented characters
typographic排版上的,印刷上的
ployglossia
delve
abyss
venerable
babel
preamble
glyph字形

常用单词,生僻词义

  • level

    • 动词,针对
  • honestly 真地

短语

  • think less of sb. 小瞧 sb.
  • pool game 台球
  • proper nouns 专业名词

数学

几何

  • polyhedron: 多面体

  • circumference: 周长

chatgpt

  1. barrage