[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#795757: marked as done (mnemosyne-blog: HTML doctype header added to Atom feed file)



Your message dated Mon, 09 May 2016 18:16:59 +0000
with message-id <[🔎] E1azpjn-0005SF-GG@franck.debian.org>
and subject line Bug#823707: Removed package(s) from unstable
has caused the Debian Bug report #795757,
regarding mnemosyne-blog: HTML doctype header added to Atom feed file
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 owner@bugs.debian.org
immediately.)


-- 
795757: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=795757
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: mnemosyne-blog
Version: 0.12-2
Severity: normal

This line occurs as first line of every rendered layout file, including
the Atom feed file which is not HTML at all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>

Firefox/Iceweasel seems to tolerate it and display its "standard" feed
subscription page, but I wouldn't be surprised if other browsers were
baffled.

The reason, I think, is in muse.py:

class KidTemplate:
    def __init__(self, filename, kwargs):
        module = kid.load_template(filename)
        self.template = module.Template(assume_encoding='utf-8', **kwargs)
    def __str__(self):
        return self.template.serialize(output='xhtml-strict')
    def __getattr__(self, attr):
        return getattr(self.template, attr)

The output parameter to __str__ needs to depend on the filename, if it
is *.xml then it needs to change accordingly.  Which means it needs to
be computed in __init__ and stored.

-- System Information:
Debian Release: 7.8
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.10.86.5 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mnemosyne-blog depends on:
ii  python      2.7.3-4+deb7u1
ii  python-kid  0.9.6-2

Versions of packages mnemosyne-blog recommends:
ii  python-docutils  0.8.1-8

mnemosyne-blog suggests no packages.

--- End Message ---
--- Begin Message ---
Version: 0.12-3+rm

Dear submitter,

as the package mnemosyne-blog has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/823707

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply to: