Custom Query (894 matches)
Results (19 - 21 of 894)
Ticket | Owner | Reporter | Resolution | Summary |
---|---|---|---|---|
#1141 | https://www.google.com/accounts/o8/id?id=AItOawnSjgovXZr-_V3vGkvMSR0pc5LDykRc1Nc | Alexanderyt <[email protected]…> | fixed | bcfg2-lint: AttributeError: 'NoneType' object has no attribute 'splitlines' |
Description |
Ubuntu 12.04 Version: 1.3.0-1~testing2~precise1+e276eef # bcfg2-lint Django configuration problem: Please fill out the database NAME in the settings module before using the database. Traceback (most recent call last):
AttributeError?: 'NoneType?' object has no attribute 'splitlines' |
|||
#1140 | solj | https://www.google.com/accounts/o8/id?id=AItOawlPKYcLUHnVh6m82dkD_mNpQLOwSI_RzeQ | fixed | UnicodeDecodeError in Logger.py |
Description |
Using python 2.6 Logger fails to report errors containing utf-8 encoded characters. Version affected - git master branch: bd44478c06f65b7cb2a7f87ab8de862033dd80dc Steps to reproduce:
Do note that error reported is UnicodeDecodeError? (not Encode one) The code failing should work with Python3 but fails with earlier versions due to the fact that internal strings are already encoded. Fixing patch: diff --git a/src/lib/Bcfg2/Logger.py b/src/lib/Bcfg2/Logger.py index c2eac1e..2c2e148 100644 --- a/src/lib/Bcfg2/Logger.py +++ b/src/lib/Bcfg2/Logger.py @@ -105,7 +105,11 @@ class FragmentingSysLogHandler?(logging.handlers.SysLogHandler?):
+ try: + encoded = msg.encode('utf_8') + except UnicodeDecodeError?: + encoded = msg + self.socket.send(encoded)
$bcfg2-lint Could not process event exists for head; ignoring Cfg: /home/gulevich/admin/bcfg2.d/repo/Cfg/etc/sudoers.d/bcfg2/:info: Use of info/:info files is deprecated Cfg: /home/gulevich/admin/bcfg2.d/repo/Cfg/etc/cron.hourly/bcfg2-custom/:info: Use of info/:info files is deprecated Cfg: /home/gulevich/admin/bcfg2.d/repo/Cfg/usr/local/bin/disableScreenLock.sh/:info: Use of info/:info files is deprecat ed Cfg: /home/gulevich/admin/bcfg2.d/repo/Cfg/usr/local/bin/firefox.sh/:info: Use of info/:info files is deprecated Cfg: /home/gulevich/admin/bcfg2.d/repo/Cfg/usr/local/sbin/bcfg2/:info: Use of info/:info files is deprecated WARNING: The following files are similar: /etc/shadow/shadow.G50_lucid, /etc/shadow/shadow.G50_quantal. Consider merging
WARNING: No info.xml found for /etc/sudoers.d/bcfg2 WARNING: Deprecated :info file found at /home/gulevich/admin/bcfg2.d/repo/Cfg/etc/sudoers.d/bcfg2/:info WARNING: No info.xml found for /usr/share/applications/firefox-shared.desktop WARNING: No info.xml found for /usr/local/home/guest/Рабочий стол/Робот.desktop Traceback (most recent call last):
UnicodeDecodeError?: 'ascii' codec can't decode byte 0xd0 in position 76: ordinal not in range(128) |
|||
#1138 | desai | https://www.google.com/accounts/o8/id?id=AItOawm2NMXsLbPEp3TDPR695H1vLpaBp0W7wW4 | invalid | Scripts needed for my requirements resepect to bcfg2 |
Description |
Team, I have a few requirements that need windup asap: Below are the requirements: 1.changing the windows client DNS settings from bcfg2 server 2.chagning the linux and ubuntu dns client settings from bcfg2 server 3.depyoing the ssh keys throught the clients from bbcfg2 server 4.changing the windows desktop background image from bcfg2 server will you please assist me asap to fulfill my requirements. -RAM |