Bug 576223 - rhn-profile-sync do not write errors to stderr
Summary: rhn-profile-sync do not write errors to stderr
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Clients
Version: 0.9
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jan Pazdziora (Red Hat)
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space16
TreeView+ depends on / blocked
 
Reported: 2010-03-23 15:01 UTC by Miroslav Suchý
Modified: 2011-12-22 16:51 UTC (History)
1 user (show)

Fixed In Version: rhn-client-tools-1.6.16-1
Clone Of:
Environment:
Last Closed: 2011-12-22 16:51:32 UTC
Embargoed:


Attachments (Terms of Use)

Description Miroslav Suchý 2010-03-23 15:01:20 UTC
Description of problem:
rhn-profile-sync do not write errors to stderr

Version-Release number of selected component (if applicable):
rhn-client-tools-0.9.4-1

How reproducible:
anytime

Steps to Reproduce:
1. make some bug in code
2. run rhn-profile-sync >/tmp/o
3. no output
  
Actual results:
in /tmp/o is error. in my case:
  File "/usr/lib64/python2.6/xmlrpclib.py", line 703, in dump_nil
    raise TypeError, "cannot marshal None unless allow_none is enabled"
<type 'exceptions.TypeError'>: cannot marshal None unless allow_none is enabled


Expected results:
this error should go to stderr and therefore be in on screen. copy should remain in /var/log/up2date as is now.

Additional info:

Comment 1 Jan Pazdziora (Red Hat) 2010-11-19 16:06:00 UTC
Mass-moving to space13.

Comment 2 Miroslav Suchý 2011-04-11 07:34:37 UTC
We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5.

Comment 3 Miroslav Suchý 2011-04-11 07:37:36 UTC
We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5.

Comment 4 Jan Pazdziora (Red Hat) 2011-07-20 11:53:17 UTC
Aligning under space16.

Comment 5 Jan Pazdziora (Red Hat) 2011-09-09 14:10:29 UTC
Fixed in Spacewalk master, 977cd77d51c2c4b784d1c899142d39eb3fd99747.

# rhn-profile-sync  > /dev/null
An error has occurred:
exceptions.TypeError
See /var/log/up2date for more information

Comment 6 Milan Zázrivec 2011-12-22 16:51:32 UTC
Spacewalk 1.6 has been released.


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