Bug 117553

Summary: RuntimeError: failed to create a context
Product: Red Hat Enterprise Linux 2.1 Reporter: Tim Waugh <twaugh>
Component: printconfAssignee: Tim Waugh <twaugh>
Status: CLOSED NOTABUG QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1CC: paul.anderson
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-03-09 09:58:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
locale output
none
printconf import file
none
traceback of printconf none

Description Tim Waugh 2004-03-05 10:08:22 UTC
Description of problem:
See bug #76079

Version-Release number of selected component (if applicable):
printconf-0.3.61-4.1 (presumably)

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
The fix for this will be to convert the printconf translations into
the right locale.

Comment 1 Tim Waugh 2004-03-05 10:08:37 UTC
Paul, what does 'locale' say?

Comment 2 Paul Anderson 2004-03-05 16:01:03 UTC
Created attachment 98319 [details]
locale output

Comment 3 Paul Anderson 2004-03-05 16:02:46 UTC
Created attachment 98320 [details]
printconf import file

Comment 4 Paul Anderson 2004-03-05 16:03:23 UTC
I have attached the import file and the output of locale.  Thanks for 
the assistance.

Comment 5 Tim Waugh 2004-03-05 16:06:00 UTC
Thanks.  Can you also please attach the traceback that you're getting,
so we can be sure it is the same problem?

Comment 6 Paul Anderson 2004-03-08 21:04:13 UTC
Created attachment 98382 [details]
traceback of printconf

Here is a copy of the error from the attempt at loading the file.

Comment 7 Tim Waugh 2004-03-09 09:36:56 UTC
[root@linux1 tmp]# redhat-config-printer-tui --Ximport </tmp/settings.xml
Traceback (innermost last):
  File "/usr/sbin/redhat-config-printer-tui", line 8, in ?
    printconf_tui.startup_and_find_cmd()
  File "/usr/share/printconf/util/printconf_tui.py", line 2059, in
startup_and_find_cmd
    main.cmd_handlers[cmd]()
  File "/usr/share/printconf/util/printconf_tui.py", line 1967, in
import_cmd_run
    ctx = AdmContext(xml = xmlstr)
RuntimeError: failed to create a context

This is a totally different error altogether. :-)

Comment 8 Tim Waugh 2004-03-09 09:58:46 UTC
You have two queues named LMLAS064.

Comment 9 Paul Anderson 2004-03-09 19:51:45 UTC
DOH...sry...my bad.  Did not mean to have you correct my stupidity.  
I did check for duplicates, but I guess I missed this one.  Thank you 
again.

Paul