Coder Social home page Coder Social logo

Comments (1)

mgedmin avatar mgedmin commented on May 31, 2024

Stumbled upon another instance of this:

Failed example:
    browser.getLink(id='form.q_3.2_delete').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest self-review-2014.txt[146]>", line 1, in <module>
        browser.getLink(id='form.q_3.2_delete').click()
      File "/home/mg/src/zopefoundation/zope.testbrowser/src/zope/testbrowser/browser.py", line 319, in getLink
        links = html.select(qa)
      File "/home/mg/src/ivija/.tox/py27-latest/local/lib/python2.7/site-packages/bs4/element.py", line 1376, in select
        return soupsieve.select(selector, self, namespaces, limit, **kwargs)
      File "/home/mg/src/ivija/.tox/py27-latest/local/lib/python2.7/site-packages/soupsieve/__init__.py", line 114, in select
        return compile(select, namespaces, flags, **kwargs).select(tag, limit)
      File "/home/mg/src/ivija/.tox/py27-latest/local/lib/python2.7/site-packages/soupsieve/__init__.py", line 63, in compile
        return cp._cached_css_compile(pattern, namespaces, custom, flags)
      File "/home/mg/src/ivija/.tox/py27-latest/local/lib/python2.7/site-packages/backports/functools_lru_cache.py", line 137, in wrapper
        result = user_function(*args, **kwds)
      File "/home/mg/src/ivija/.tox/py27-latest/local/lib/python2.7/site-packages/soupsieve/css_parser.py", line 214, in _cached_css_compile
        CSSParser(pattern, custom=custom_selectors, flags=flags).process_selectors(),
      File "/home/mg/src/ivija/.tox/py27-latest/local/lib/python2.7/site-packages/soupsieve/css_parser.py", line 1113, in process_selectors
        return self.parse_selectors(self.selector_iter(self.pattern), index, flags)
      File "/home/mg/src/ivija/.tox/py27-latest/local/lib/python2.7/site-packages/soupsieve/css_parser.py", line 946, in parse_selectors
        key, m = next(iselector)
      File "/home/mg/src/ivija/.tox/py27-latest/local/lib/python2.7/site-packages/soupsieve/css_parser.py", line 1100, in selector_iter
        raise SelectorSyntaxError(msg, self.pattern, index)
    SelectorSyntaxError: Malformed class selector at position 10
      line 1:
    a#form.q_3.2_delete

from zope.testbrowser.

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.