Bug 746048 - beaker-repo-update does not work under rhel6
Summary: beaker-repo-update does not work under rhel6
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: scheduler
Version: 0.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: ---
Assignee: Bill Peck
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-13 18:27 UTC by Bill Peck
Modified: 2019-05-22 13:41 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-04 01:43:53 UTC


Attachments (Terms of Use)

Description Bill Peck 2011-10-13 18:27:08 UTC
Description of problem:
beaker-repo-update in 0.8 does not work correctly

Version-Release number of selected component (if applicable):
0.8

Actual results:
[root@gs-dl585g2-01 ~]# beaker-repo-update 
/usr/lib/python2.6/site-packages/tw/core/view.py:223: DeprecationWarning: object.__new__() takes no parameters
  obj = object.__new__(cls, *args, **kw)
string indices must be integers
string indices must be integers
string indices must be integers
string indices must be integers
string indices must be integers

Comment 1 Dan Callaghan 2011-10-16 23:42:07 UTC
I tracked this down to a bug in urlgrabber, which does not do the right thing when URLs are passed as unicode (instead of str): bug 563776.

The URL we are passing ends up being unicode because we are joining an osmajor object which comes back from the database as unicode. As a workaround we can encode the osmajor first so that the URL ends up as a str.

Comment 2 Dan Callaghan 2012-01-04 01:43:53 UTC
Beaker 0.8 has been released.


Note You need to log in before you can comment on or make changes to this bug.