Git Product home page Git Product logo

Comments (1)

zhongxinghong avatar zhongxinghong commented on August 23, 2024

不好意思今天一直没看 GitHub 回复得有点晚了 ...

从这个终端的输出来看,最早的那种情况是因为 [course:2] 没有被程序识别出来。我刚刚复制了你的配置试了一下,是可以识别出来的,所以我现在也觉得非常奇怪 ...

我现在只能给一种猜测,那就是你写的 [course:${id}] 格式不对,它要求必须满足这个正则表达式:

_reNamespacedSection = re.compile(r'^\s*(?P<ns>[^:]+?)\s*:\s*(?P<id>[^,]+?)\s*$')

其中要求 ns 必须是 course,而且 id 中不能包含 ,

我曾经遇到过把 course 拼写错的,这种情况下你定义的那个课程是会被忽略的,然后这种情况下我的程序也没有办法校验 ... 所以我目前是怀疑你一开始写错单词了,或者 : 用了中文的 :)

如果不是的话,我也不是不清楚为什么了 ... 我可能就需要更加详细的 config.ini 才能分析出来原因

from pkuautoelective.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.