This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 227233 - ImportError: No module named rhpl.translate
ImportError: No module named rhpl.translate
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: smolt (Show other bugs)
6
All Linux
medium Severity medium
: ---
: ---
Assigned To: Mike McGrath
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-03 15:37 EST by Johan Kok
Modified: 2008-08-02 19:40 EDT (History)
1 user (show)

See Also:
Fixed In Version: 0.9.2-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-04-28 07:12:00 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Johan Kok 2007-02-03 15:37:22 EST
Description of problem:
When running sendSmoltProfile I see this traceback:
[root@localhost ~]# smoltSendProfile 
Traceback (most recent call last):
  File "/usr/bin/smoltSendProfile", line 8, in ?
    import Profile
  File "/usr/share/smolt/client/Profile.py", line 3, in ?
    import hardware
  File "/usr/share/smolt/client/hardware.py", line 19, in ?
    import config
  File "/usr/share/smolt/client/config.py", line 17, in ?
    from rhpl.translate import _
ImportError: No module named rhpl.translate

Version-Release number of selected component (if applicable):
smolt-0.6.2-1.fc6

How reproducible:
Always, smoltPrint gives the same result.

Steps to Reproduce:
1. Run /usr/bin/smoltSendProfile
2. Boom :)
  
Actual results:
Traceback (most recent call last):
  File "/usr/bin/smoltSendProfile", line 8, in ?
    import Profile
  File "/usr/share/smolt/client/Profile.py", line 3, in ?
    import hardware
  File "/usr/share/smolt/client/hardware.py", line 19, in ?
    import config
  File "/usr/share/smolt/client/config.py", line 17, in ?
    from rhpl.translate import _
ImportError: No module named rhpl.translate

Expected results:
No error.

Additional info:
Comment 1 Johan Kok 2007-02-03 15:43:44 EST
Wait, this one is quite simple. The package rhpl was not installed on this system. The error disappeared 
after a 'yum install rhpl' all problems. Should there be a 'Requires: rhpl' in the spec file?
Comment 2 Mike McGrath 2007-02-03 18:18:37 EST
Could be I'll take a closer look at whether or not we require rhpl or if I can
just simplify the code so that we don't need it anyway.
Comment 3 Colin Charles 2007-03-04 06:39:11 EST
Fixed in smolt-0.9.2-1.fc6.noarch.rpm, seems rhpl isn't required any longer
Comment 4 Chester Cheng 2007-04-27 10:32:17 EDT
Hi Colin, is this fixed?
Comment 5 Johan Kok 2007-04-28 07:12:00 EDT
This is fixed. I just removed the rhpl package and started smoltSendProfile. The application worked 
without any errors.

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