Your message dated Sun, 24 Dec 2023 19:28:58 -0400
with message-id 
<n6kli7ubunsw6mn4wh25k2qinhxwkqb66u3i46bxfhdfdph7cl@2ih4fk2qq5wt>
and subject line Re: Bug#802324: python-twisted-core: twistd fails with 
twext.enterprise.dal.parseschema.ViolatedExpectation
has caused the Debian Bug report #802324,
regarding python-twisted-core: twistd fails with 
twext.enterprise.dal.parseschema.ViolatedExpectation
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
802324: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802324
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-twisted-core
Version: 15.2.1-1
Severity: normal

Dear Maintainer,

The TwistedWeb daemon doesn't work:

$ twistd web --path ~/public_html/ --port 8080 # example from 
https://twistedmatrix.com/trac/wiki/TwistedWeb
Traceback (most recent call last):
  File "/usr/bin/twistd", line 14, in <module>
    run()
  File "/usr/lib/python2.7/dist-packages/twisted/scripts/twistd.py", line 27, 
in run
    app.run(runApp, ServerOptions)
  File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 652, 
in run
    config.parseOptions()
  File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 619, 
in parseOptions
    usage.Options.parseOptions(self, options)
  File "/usr/lib/python2.7/dist-packages/twisted/python/usage.py", line 262, in 
parseOptions
    for (cmd, short, parser, doc) in self.subCommands:
  File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 636, 
in subCommands
    for plug in sorted(plugins, key=attrgetter('tapname')):
  File "/usr/lib/python2.7/dist-packages/twisted/plugins/caldav.py", line 31, 
in getProperty
    return getattr(reflect.namedClass(self.serviceMakerClass), propname)
  File "/usr/lib/python2.7/dist-packages/twisted/python/reflect.py", line 168, 
in namedObject
    module = namedModule('.'.join(classSplit[:-1]))
  File "/usr/lib/python2.7/dist-packages/twisted/python/reflect.py", line 154, 
in namedModule
    topLevel = __import__(name)
  File "/usr/lib/python2.7/dist-packages/calendarserver/tap/caldav.py", line 
71, in <module>
    from txdav.common.datastore.sql_tables import schema
  File "/usr/lib/python2.7/dist-packages/txdav/common/datastore/sql_tables.py", 
line 49, in <module>
    schema = _populateSchema()
  File "/usr/lib/python2.7/dist-packages/txdav/common/datastore/sql_tables.py", 
line 45, in _populateSchema
    return SchemaSyntax(schemaFromPath(pathObj))
  File "/usr/lib/python2.7/dist-packages/twext/enterprise/dal/parseschema.py", 
line 93, in schemaFromPath
    addSQLToSchema(schema, schemaData)
  File "/usr/lib/python2.7/dist-packages/twext/enterprise/dal/parseschema.py", 
line 137, in addSQLToSchema
    t = tableFromCreateStatement(schema, stmt)
  File "/usr/lib/python2.7/dist-packages/twext/enterprise/dal/parseschema.py", 
line 77, in tableFromCreateStatement
    cp.parse()
  File "/usr/lib/python2.7/dist-packages/twext/enterprise/dal/parseschema.py", 
line 258, in parse
    while self.nextColumn():
  File "/usr/lib/python2.7/dist-packages/twext/enterprise/dal/parseschema.py", 
line 270, in nextColumn
    return self.parseColumn(maybeIdent.get_name())
  File "/usr/lib/python2.7/dist-packages/twext/enterprise/dal/parseschema.py", 
line 429, in parseColumn
    theDefault.tokens[-1], cls=Parenthesis
  File "/usr/lib/python2.7/dist-packages/twext/enterprise/dal/parseschema.py", 
line 544, in expectSingle
    (nextval.__class__.__name__, nextval))
twext.enterprise.dal.parseschema.ViolatedExpectation: Expected <class 
'sqlparse.sql.Parenthesis'> got Comment:<Comment '-- imp...' at 0x7f6db2dd5490>
1

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-twisted-core depends on:
ii  python                   2.7.9-1
ii  python-openssl           0.15.1-2
ii  python-service-identity  14.0.0-1
ii  python-twisted-bin       15.2.1-1
ii  python-zope.interface    4.1.2-1+b1

Versions of packages python-twisted-core recommends:
ii  python-pam     0.4.2-13.2
ii  python-serial  2.7-1

Versions of packages python-twisted-core suggests:
ii  python-glade2    2.24.0-4
ii  python-gtk2      2.24.0-4
pn  python-qt3       <none>
pn  python-tk        <none>
pn  python-wxgtk3.0  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Hi Ximin (2015.10.19_09:47:57_-0400)
> twext.enterprise.dal.parseschema.ViolatedExpectation: Expected <class 
> 'sqlparse.sql.Parenthesis'> got Comment:<Comment '-- imp...' at 
> 0x7f6db2dd5490>

Surely the bug lies in that module?

Stefano

--- End Message ---
_______________________________________________
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to