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

apt-proxy-v2 upgrade from v1 problems



I updated to apt-proxy-v2 and now I'm getting these errors, I wouldn't have a clue as to how to fix this. I have tried googling on "apt-proxy string index out of range" and got nothing.

On the command line I get:
firewall:/var/log# /etc/init.d/apt-proxy start
Starting apt-proxy
Failed to load application: string index out of range
.
Any assistance appreciated.

2005/03/06 08:54 EST [-] Log opened.
2005/03/06 08:54 EST [-] twistd 1.3.0rc1 (/usr/bin/python2.3 2.3.4) starting up 2005/03/06 08:54 EST [-] reactor class: twisted.internet.default.SelectReactor
2005/03/06 08:54 EST [-] Loading /usr/sbin/apt-proxy...
2005/03/06 08:54 EST [-] Updating twisted's process module.
2005/03/06 08:54 EST [-] No updating required.
2005/03/06 08:54 EST [-] Traceback (most recent call last):
2005/03/06 08:54 EST [-] File "/usr/lib/python2.3/site-packages/twisted/application/app.py", lin
e 118, in getApplication
2005/03/06 08:54 EST [-] application = service.loadApplication(filename, style, passphrase) 2005/03/06 08:54 EST [-] File "/usr/lib/python2.3/site-packages/twisted/application/service.py",
 line 319, in loadApplication
2005/03/06 08:54 EST [-] application = sob.loadValueFromFile(filename, 'application', passphra
se)
2005/03/06 08:54 EST [-] File "/usr/lib/python2.3/site-packages/twisted/persisted/sob.py", line
213, in loadValueFromFile
2005/03/06 08:54 EST [-]     exec data in d, d
2005/03/06 08:54 EST [-]   File "<string>", line 16, in ?
2005/03/06 08:54 EST [-] File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy_conf.py", li
ne 87, in factoryConfig
2005/03/06 08:54 EST [-] factory.timeout = conf.gettime(DEFAULTSECT, 'timeout') 2005/03/06 08:54 EST [-] File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy_conf.py", li
ne 45, in gettime
2005/03/06 08:54 EST [-]     suffix = value[-1].lower()
2005/03/06 08:54 EST [-] IndexError: string index out of range
2005/03/06 08:54 EST [-] Failed to load application: string index out of range
2005/03/06 08:54 EST [-] Traceback (most recent call last):
          File "/usr/bin/twistd2.3", line 36, in ?
            run()
File "/usr/lib/python2.3/site-packages/twisted/scripts/twistd.py", line 184, in run
            app.run(runApp, ServerOptions)
File "/usr/lib/python2.3/site-packages/twisted/application/app.py", line 205, in run
            runApp(config)
File "/usr/lib/python2.3/site-packages/twisted/scripts/twistd.py", line 174, in runApp
            application = app.getApplication(config, passphrase)
        --- <exception caught here> ---
File "/usr/lib/python2.3/site-packages/twisted/application/app.py", line 118, in getAppl
ication
application = service.loadApplication(filename, style, passphrase) File "/usr/lib/python2.3/site-packages/twisted/application/service.py", line 319, in loa
dApplication
application = sob.loadValueFromFile(filename, 'application', passphrase) File "/usr/lib/python2.3/site-packages/twisted/persisted/sob.py", line 213, in loadValue
FromFile
            exec data in d, d
          File "<string>", line 16, in ?

File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy_conf.py", line 87, in factory
Config
            factory.timeout = conf.gettime(DEFAULTSECT, 'timeout')
File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy_conf.py", line 45, in gettime
            suffix = value[-1].lower()
        exceptions.IndexError: string index out of range

2005/03/06 08:54 EST [-]



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.6.2 - Release Date: 4/03/2005



Reply to: