Welcome, Guest. Please login or register.
April 17, 2014, 00:02:42 AM
Home Help Search Calendar Login Register
Show unread posts since last visit.
News: Let Pardus-Anka become #1: Pardus-Anka Bug ReportPardus-Anka World Google+ | The Pardus wiki  | Visit Pardus-Anka official website  | Register as forum member?  Email the moderator!

+  Pardus Worldforum
|-+  Assistance
| |-+  Configuring Pardus
| | |-+  pisi error updating contrib repo
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: pisi error updating contrib repo  (Read 780 times)
lashni
Pardus fellow craft
**
Gender: Male
Posts: 53


View Profile
« on: September 22, 2008, 02:57:16 AM »

Wondering if anyone can duplicate this problem, I just want to find out if it's a result of something I broke myself or a problem with the repo. Nothing similar came up in bugzilla or google and I have been messing around with a ton of python libraries in the last couple days so that might be connected.

without debug:

orphan ~ # pisi ur
* Updating repository: pardus-2008.1
pisi-index.xml.bz2.sha1sum     (40.0  B)100%      0.00 --/- [--:--:--] [complete]
pardus-2008.1 repository information is up-to-date.
* Updating repository: contrib
pisi-index.xml.bz2.sha1sum     (40.0  B)100%      0.00 --/- [--:--:--] [complete]
System Error. Program Terminated.
'Range'

with debug:

orphan ~ # pisi ur --debug
DEBUG: RepoDB initialized in 8.58306884766e-05.
* Updating repository: pardus-2008.1
pisi-index.xml.bz2.sha1sum     (40.0  B)100%      0.00 --/- [--:--:--] [complete]
pardus-2008.1 repository information is up-to-date.
* Updating repository: contrib
pisi-index.xml.bz2.sha1sum     (40.0  B)100%      0.00 --/- [--:--:--] [complete]
System Error. Program Terminated.
<type 'exceptions.KeyError'>: 'Range'
Please use 'pisi help' for general help.
Traceback:
  File "/usr/bin/pisi", line 80, in <module>
    cli.run_command()
  File "/usr/lib/pardus/pisi/cli/pisicli.py", line 136, in run_command
    self.command.run()
  File "/usr/lib/pardus/pisi/cli/updaterepo.py", line 59, in run
    pisi.api.update_repo(repo, ctx.get_option('force'))
  File "/usr/lib/pardus/pisi/api.py", line 614, in update_repo
    index.read_uri_of_repo(repouri, repo)
  File "/usr/lib/pardus/pisi/index.py", line 69, in read_uri_of_repo
    self.read_uri(uri, tmpdir, force)
  File "/usr/lib/pardus/pisi/index.py", line 52, in read_uri
    compress=pisi.file.File.auto, sign=pisi.file.File.detached, copylocal = True, nodecode = True)
  File "/usr/lib/pardus/pisi/pxml/autoxml.py", line 444, in read
    compress=compress, sign=sign, copylocal=copylocal)
  File "/usr/lib/pardus/pisi/pxml/xmlfile.py", line 80, in readxml
    compress=compress,sign=sign, copylocal=copylocal)
  File "/usr/lib/pardus/pisi/file.py", line 118, in download
    pisi.fetcher.fetch_url(uri, transfer_dir, ctx.ui.Progress)
  File "/usr/lib/pardus/pisi/fetcher.py", line 216, in fetch_url
    fetch.fetch()
  File "/usr/lib/pardus/pisi/fetcher.py", line 145, in fetch
    user_agent   = 'PiSi Fetcher/' + pisi.__version__)
  File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 595, in urlgrab
    return default_grabber.urlgrab(url, filename, **kwargs)
  File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 927, in urlgrab
    return self._retry(opts, retryfunc, url, filename)
  File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 845, in _retry
    r = apply(func, (opts,) + args, {})
  File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 913, in retryfunc
    fo = URLGrabberFileObject(url, filename, opts)
  File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 1001, in __init__
    self._do_open()
  File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 1090, in _do_open
    del req.headers['Range']

EDIT: I just did a fresh install of 2008.1 on a spare partition, the problem doesn't occur. So it's definitely something I broke. Smiley I'll update here if/when I figure out what it was.
« Last Edit: September 22, 2008, 07:04:05 AM by lashni » Logged
atolboo
Guest
« Reply #1 on: September 22, 2008, 10:36:30 AM »

Maybe Tasma > System > History Manager will help to solve the problem !  Smiley
Logged
lashni
Pardus fellow craft
**
Gender: Male
Posts: 53


View Profile
« Reply #2 on: September 22, 2008, 12:42:43 PM »

Yeah, doesn't look like it was a problem with any of the repo software though or any of the pisi's I'd built myself so rollbacks don't help. :) Probably down to something I'd installed from source. I normally use unionfs & some scripts based on trip to track source installs but I hadn't set that up in my previous install of 2008.1.

I'd been trying out a lot of game libraries like pyglet, rabbyt, pymunk and so forth and a few different 3d modellers... once a year or so I keep trying to learn Blender but I just can't get the hang of it.
Logged
fastguy
Newbie
*
Posts: 8


View Profile
« Reply #3 on: September 24, 2008, 01:04:06 AM »

Maybe rebuilding the database would help?

Emre
Logged
lashni
Pardus fellow craft
**
Gender: Male
Posts: 53


View Profile
« Reply #4 on: September 24, 2008, 03:59:05 AM »

Yep, tried that at the time.. db rebuilt successfully but the problem updating still occurred. I ended up just being lazy and swapping to the fresh install I'd done rather than continue to work on the problem. I've left that partition as-is though so when I've got more free time I might go back and have another go at diagnosing it.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!