[Spacewalk-list] Problem with config channels

Wojtak, Greg GregWojtak at quickenloans.com
Fri Dec 9 21:37:56 UTC 2011


I can, but probably not until next early next week (probably Monday).
I'll apply the patch and let you know.

On 2011-12-09 1:53 PM, "Michael Mraka" <michael.mraka at redhat.com> wrote:

>Wojtak, Greg wrote:
>% I had a similar issue with a script where I had several '\' characters
>as
>% well as some "extend(?)" ASCII characters (to make a pretty prompt).
>
>Hi Greg, 
>
>I hope I addressed backslash issue in master by
>d8744d1693c1fc6e231278dd9a6537f269371192.
>Could you check whether it fixes problem for you?
>(Don't forget restart httpd after applying patch.)
>
>egards,
>
>% >% [Wed Nov 30 06:34:11 2011] [error]   File
>% 
>>"/usr/lib/python2.6/site-packages/spacewalk/server/configFilesHandler.py"
>>,
>% > line 334, in _push_contents
>% >% [Wed Nov 30 06:34:11 2011] [error]     h.execute(**file)
>% >% [Wed Nov 30 06:34:11 2011] [error]   File
>% >"/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/sql_base.py",
>% >line 163, in execute
>% >% [Wed Nov 30 06:34:11 2011] [error]     return
>% >apply(self._execute_wrapper, (self._execute, ) + p, kw)
>% >% [Wed Nov 30 06:34:11 2011] [error]   File
>% 
>>"/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/driver_postgres
>>q
>% >l.py", line 264, in _execute_wrapper
>% >% [Wed Nov 30 06:34:11 2011] [error]     retval = apply(function, p,
>kw)
>% >% [Wed Nov 30 06:34:11 2011] [error]   File
>% >"/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/sql_base.py",
>% >line 217, in _execute
>% >% [Wed Nov 30 06:34:11 2011] [error]     return self._execute_(args,
>% >kwargs)
>% >% [Wed Nov 30 06:34:11 2011] [error]   File
>% 
>>"/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/driver_postgres
>>q
>% >l.py", line 277, in _execute_
>% >% [Wed Nov 30 06:34:11 2011] [error]
>% >self._real_cursor.execute(self.sql, params)
>% >% [Wed Nov 30 06:34:11 2011] [error] DataError: invalid input syntax
>for
>% >type bytea
>% >% [Wed Nov 30 06:34:11 2011] [error] LINE 5:                 5066,
>% >E'#!/usr/bin/perl
>% >% [Wed Nov 30 06:34:11 2011] [error]                               ^
>% >
>% >Hi Colin,
>% >
>% >inserting scripts i.e. files begining with '#!' works for me. There
>must
>% >be something else weird in this file...  I've recently seen similar
>% >error with file containing '\' char, doesn't your script contain it by
>% >accident?
>% >
>% >Regards,
>
>--
>Michael Mráka
>Satellite Engineering, Red Hat
>
>_______________________________________________
>Spacewalk-list mailing list
>Spacewalk-list at redhat.com
>https://www.redhat.com/mailman/listinfo/spacewalk-list





More information about the Spacewalk-list mailing list