Package: apt-proxy
Version: 1.9.36.1
Severity: important

When I run apt dist-upgrade, it gets stuck with 'waiting for
headers'.
I think this is the reason for this problem:
the unhandled exception goes uncaught and terminate the proxy thread, which 
never sends a proper error (http 500 for example) to the client.

secondly, what can I do to resolve the "Wrong language code" error?


2008/01/12 10:52 +0300 [TimeoutProtocol,client] Unhandled Error
        Traceback (most recent call last):
          File "/usr/lib/python2.4/site-packages/twisted/application/app.py", 
line 113, in runReactorWithLogging
            reactor.run()
          File 
"/usr/lib/python2.4/site-packages/twisted/internet/posixbase.py", line 220, in 
run
            self.mainLoop()
          File 
"/usr/lib/python2.4/site-packages/twisted/internet/posixbase.py", line 231, in 
mainLoop
            self.doIteration(t)
          File 
"/usr/lib/python2.4/site-packages/twisted/internet/selectreactor.py", line 133, 
in doSelect
            _logrun(selectable, _drdw, selectable, method, dict)
        --- <exception caught here> ---
          File "/usr/lib/python2.4/site-packages/twisted/python/log.py", line 
48, in callWithLogger
            return callWithContext({"system": lp}, func, *args, **kw)
          File "/usr/lib/python2.4/site-packages/twisted/python/log.py", line 
33, in callWithContext
            return context.call({ILogContext: newCtx}, func, *args, **kw)
          File "/usr/lib/python2.4/site-packages/twisted/python/context.py", 
line 59, in callWithContext
            return self.currentContext().callWithContext(ctx, func, *args, **kw)
          File "/usr/lib/python2.4/site-packages/twisted/python/context.py", 
line 37, in callWithContext
            return func(*args,**kw)
          File 
"/usr/lib/python2.4/site-packages/twisted/internet/selectreactor.py", line 149, 
in _doReadOrWrite
            self._disconnectSelectable(selectable, why, method=="doRead")
          File 
"/usr/lib/python2.4/site-packages/twisted/internet/posixbase.py", line 252, in 
_disconnectSelectable
            selectable.readConnectionLost(f)
          File "/usr/lib/python2.4/site-packages/twisted/internet/tcp.py", line 
405, in readConnectionLost
            self.connectionLost(reason)
          File "/usr/lib/python2.4/site-packages/twisted/internet/tcp.py", line 
576, in connectionLost
            Connection.connectionLost(self, reason)
          File "/usr/lib/python2.4/site-packages/twisted/internet/tcp.py", line 
416, in connectionLost
            protocol.connectionLost(reason)
          File 
"/usr/lib/python2.4/site-packages/twisted/protocols/policies.py", line 401, in 
connectionLost
            ProtocolWrapper.connectionLost(self, reason)
          File 
"/usr/lib/python2.4/site-packages/twisted/protocols/policies.py", line 76, in 
connectionLost
            self.wrappedProtocol.connectionLost(reason)
          File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 
397, in connectionLost
            self.handleResponseEnd()
          File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 
403, in handleResponseEnd
            self.handleResponse(b)
          File "/usr/lib/python2.4/site-packages/apt_proxy/fetchers.py", line 
363, in handleResponse
            self.download_complete()
          File "/usr/lib/python2.4/site-packages/apt_proxy/fetchers.py", line 
344, in download_complete
            self.fetcher.download_complete()
          File "/usr/lib/python2.4/site-packages/apt_proxy/fetchers.py", line 
115, in download_complete
            self.cacheEntry.download_data_end()
          File "/usr/lib/python2.4/site-packages/apt_proxy/cache.py", line 420, 
in download_data_end
            self.file_sent()
          File "/usr/lib/python2.4/site-packages/apt_proxy/cache.py", line 450, 
in file_sent
            self.factory.file_served(self.cache_path)
          File "/usr/lib/python2.4/site-packages/apt_proxy/apt_proxy.py", line 
484, in file_served
            self.clean_versions(packages)
          File "/usr/lib/python2.4/site-packages/apt_proxy/apt_proxy.py", line 
410, in clean_versions
            current_packages = get_mirror_versions(self, package_name)
          File "/usr/lib/python2.4/site-packages/apt_proxy/packages.py", line 
324, in get_mirror_versions
            vers = backend.get_packages_db().get_mirror_versions(package)
          File "/usr/lib/python2.4/site-packages/apt_proxy/packages.py", line 
291, in get_mirror_versions
            if not self.load(): return vers
          File "/usr/lib/python2.4/site-packages/apt_proxy/packages.py", line 
243, in load
            self.cache = apt_pkg.GetCache()
        exceptions.SystemError: W:Wrong language code , W:Wrong language code , 
W:Wrong language code , W:Wrong language code , W:Wrong language code , W:Wrong 
language code , W:Wrong language code , W:Wrong language code , W:Wrong 
language code , W:Wrong language code , W:Wrong language code , W:Wrong 
language code , W:Wrong language code , W:Wrong language code , W:Wrong 
language code , W:Wrong language code , W:Wrong language code , E:Dynamic MMap 
ran out of room, E:Error occurred while processing model-builder 
(NewFileDesc2), E:Problem with MergeList 
/var/cache/apt-proxy/.apt-proxy/backends/debian/apt/lists/apt-proxy_debian_dists_lenny_main_binary-i386_Packages,
 E:The package lists or status file could not be parsed or opened.
h


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.18rv3 (PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt-proxy depends on:
ii  adduser                       3.105      add and remove users and groups
ii  bzip2                         1.0.3-7    high-quality block-sorting file co
ii  debconf [debconf-2.0]         1.5.14     Debian configuration management sy
ii  logrotate                     3.7.1-3    Log rotation utility
ii  python                        2.4.4-6    An interactive high-level object-o
ii  python-apt                    0.7.3.1    Python interface to libapt-pkg
ii  python-central                0.5.15     register and build utility for Pyt
ii  python-twisted-web            0.7.0-1    An HTTP protocol implementation to

apt-proxy recommends no packages.

-- debconf information:
  apt-proxy/upgrading-v2:
  apt-proxy/upgrading-v2-result:



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to