Package: cardstories
Version: 1.0.6-1.1
Severity: important

The http://localhost:4923/agpl web page is broken in the Debian package,
it just gives a traceback (see below). This might mean that Debian is
not in compliance with the AGPL, please fix this.

web.Server Traceback (most recent call last):

<type 'exceptions.IOError'>: [Errno 13] Permission denied: 
'/usr/share/cardstories/cardstories.zip'
/usr/lib/python2.7/dist-packages/twisted/web/server.py, line 132 in process
130    try:
131      resrc = self.site.getResourceFor(self)
132      self.render(resrc)
133    except:
/usr/lib/python2.7/dist-packages/twisted/web/server.py, line 167 in render
165    """
166    try:
167      body = resrc.render(self)
168    except UnsupportedMethod, e:
/usr/lib/python2.7/dist-packages/cardstories/site.py, line 99 in render
97
98  def render(self, request):
99    self.update()
100    return static.File.render(self, request)
/usr/lib/python2.7/dist-packages/cardstories/site.py, line 105 in update
103    directory = os.path.dirname(self.module.__file__)
104    archive = self.directory + '/' + self.zipfile
105    f = zipfile.ZipFile(archive, 'w')
106    for path in glob.glob(directory + '/*.py'):
/usr/lib/python2.7/zipfile.py, line 701 in __init__
699      modeDict = {'r' : 'rb', 'w': 'wb', 'a' : 'r+b'}
700      try:
701        self.fp = open(file, modeDict[mode])
702      except IOError:

<type 'exceptions.IOError'>: [Errno 13] Permission denied: 
'/usr/share/cardstories/cardstories.zip'

-- System Information:
Debian Release: wheezy/sid
  APT prefers experimental
  APT policy: (1900, 'experimental'), (1800, 'unstable'), (1700, 'testing')
Architecture: amd64 (x86_64)

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

Versions of packages cardstories depends on:
ii  adduser                3.113+nmu1
ii  debconf [debconf-2.0]  1.5.41
ii  nginx                  1.1.14-1
ii  nginx-light [nginx]    1.1.14-1
ii  python                 2.7.2-10
ii  python-lxml            2.3.2-1
ii  python-openssl         0.13-1
ii  python-twisted-conch   1:11.1.0-1
ii  python-twisted-mail    11.1.0-1
ii  python-twisted-web     11.1.0-1
ii  python2.6              2.6.7-4
ii  python2.7              2.7.2-13

-- debconf information:
* cardstories/reconfigure-webserver: nginx

-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to