Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 230895 - gives internal error when accessing UUID information
Summary: gives internal error when accessing UUID information
Alias: None
Product: Fedora
Classification: Fedora
Component: smolt
Version: 6
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Mike McGrath
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2007-03-04 11:43 UTC by Colin Charles
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-03-04 19:45:25 UTC

Attachments (Terms of Use)

Description Colin Charles 2007-03-04 11:43:33 UTC
Description of problem: When smolt runs, and it tells me to view my profile and
to click to the website, I get an internal error from the web-based tool

Version-Release number of selected component (if applicable):
(but its not applicable, this is a server side problem)

How reproducible: 100%

Steps to Reproduce:
1. Click URL generated by smolt
2. See error
3. Optionally, enter the uuid at and still watch it barf
Actual results:
500 Internal error

The server encountered an unexpected condition which prevented it from
fulfilling the request.

Page handler: <bound method of <hardware.controllers.Root object at
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/cherrypy/", line 105, in
  File "/usr/lib/python2.4/site-packages/cherrypy/", line 254, in
    body = page_handler(*virtual_path, **self.params)
  File "<string>", line 3, in show
  File "/usr/lib/python2.4/site-packages/turbogears/", line 334,
in expose
    output = database.run_with_transaction(
  File "<string>", line 5, in run_with_transaction
  File "/usr/lib/python2.4/site-packages/turbogears/", line 302, in
    retval = func(*args, **kw)
  File "<string>", line 5, in _expose
  File "/usr/lib/python2.4/site-packages/turbogears/", line 351,
in <lambda>
    mapping, fragment, args, kw)))
  File "/usr/lib/python2.4/site-packages/turbogears/", line 391,
in _execute_func
    return _process_output(output, template, format, content_type, mapping,
  File "/usr/lib/python2.4/site-packages/turbogears/", line 82, in
  File "/usr/lib/python2.4/site-packages/turbogears/view/", line 131, in
    return engine.render(**kw)
  File "/usr/lib/python2.4/site-packages/turbokid/", line 174, in
    return t.serialize(encoding=self.defaultencoding, output=format,
  File "/usr/lib/python2.4/site-packages/kid/", line 299, in serialize
  File "/usr/lib/python2.4/site-packages/kid/", line 297, in serialize
    return serializer.serialize(self, encoding, fragment, format)
  File "/usr/lib/python2.4/site-packages/kid/", line 107, in
    text = ''.join(tuple(
  File "/usr/lib/python2.4/site-packages/kid/", line 630, in
    for ev, item in self.apply_filters(stream, format):
  File "/usr/lib/python2.4/site-packages/kid/", line 163, in
    for ev, item in stream:
  File "/usr/lib/python2.4/site-packages/kid/", line 219, in _coalesce
    for ev, item in stream:
  File "/usr/lib/python2.4/site-packages/kid/", line 478, in
    for ev, item in stream:
  File "/usr/lib/python2.4/site-packages/kid/", line 177, in _track
    for p in stream:
  File "/usr/lib/python2.4/site-packages/kid/", line 30, in apply_matches
    item = stream.expand()
  File "/usr/lib/python2.4/site-packages/kid/", line 106, in expand
    for ev, item in self._iter:
  File "/usr/lib/python2.4/site-packages/kid/", line 177, in _track
    for p in stream:
  File "/usr/lib/python2.4/site-packages/kid/", line 219, in _coalesce
    for ev, item in stream:
  File "/home/fedora/mmcgrath/tg/smoon/hardware/templates/", line 382, in
TypeError: hex() argument can't be converted to hex
Error location in template file
on line 32 between columns 16 and 58:
                <td align='center'>${hex(device.VendorId)} ...

Powered by CherryPy 2.2.1

Expected results:
My machine hardware information that smolt has collected

Additional info:

Comment 1 Mike McGrath 2007-03-04 16:50:20 UTC
WORKSFORME, can you give me your UUID?

If not I'll just have to dig.

Comment 2 Colin Charles 2007-03-04 18:10:36 UTC
Odd. is
still borked.

Comment 3 Colin Charles 2007-03-04 18:11:38 UTC
And verified, that that's my ID:
cat /etc/sysconfig/hw-uuid 

Comment 4 Mike McGrath 2007-03-04 19:45:25 UTC
Alrighty, thats fun.  So I did the quick fix.  I'll figure out the rest later. 
For now you'll have to deal with ugly vendor id's instead of description but
thats coming.

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