Am 21.01.2013 19:45, schrieb Anthony Liguori:
> I've published the code for patches although I've not announced it yet.
> I'm still making some CLI changes but hope to do a proper announcement
> in the next week or so.
> 
> http://github.com/aliguori/patches.git
> 
> If anyone wants to try it out, let me know, and I would be happy to
> answer questions/help you set it up.

$ patches fetch http://wiki.qemu.org/patches/patches.json
Traceback (most recent call last):
  File "/usr/local/bin/patches", line 140, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/local/bin/patches", line 136, in main
    return args.func(args)
  File "/usr/local/bin/patches", line 31, in do_fetch
    return fetch.main(args)
  File "/usr/local/lib/python2.7/site-packages/patchlib/fetch.py", line
22, in main
    fetch(args.url[0])
  File "/usr/local/lib/python2.7/site-packages/patchlib/fetch.py", line
36, in fetch
    fp = urlopen(url)
  File "/usr/lib64/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib64/python2.7/urllib2.py", line 392, in open
    protocol = req.get_type()
  File "/usr/lib64/python2.7/urllib2.py", line 254, in get_type
    raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: h

Am I missing some Python dependency? I can access the URL from my browser.

Regards,
Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

Reply via email to