]> git.llucax.com Git - software/pymin.git/log
software/pymin.git
17 years agoUse %r instead of %s for logging.
Leandro Lucarella [Sat, 17 Nov 2007 22:31:32 +0000 (19:31 -0300)]
Use %r instead of %s for logging.

17 years agoAdd basic initial logging support.
Leandro Lucarella [Fri, 16 Nov 2007 19:50:12 +0000 (16:50 -0300)]
Add basic initial logging support.

17 years agoqos implementation (working)
Federico Cuello [Tue, 13 Nov 2007 02:06:03 +0000 (23:06 -0300)]
qos implementation (working)

17 years agoqos template fixes
Federico Cuello [Tue, 13 Nov 2007 01:16:19 +0000 (22:16 -0300)]
qos template fixes

17 years agoRemove ReturnNot0Error, use subprocess.check_call instead.
Leandro Lucarella [Sun, 18 Nov 2007 02:38:21 +0000 (23:38 -0300)]
Remove ReturnNot0Error, use subprocess.check_call instead.

17 years agoFix config file and DEBUG settings for testing.
Leandro Lucarella [Tue, 13 Nov 2007 02:58:27 +0000 (23:58 -0300)]
Fix config file and DEBUG settings for testing.

17 years agoAdd a small utility to send pymin commands.
Leandro Lucarella [Mon, 12 Nov 2007 16:54:52 +0000 (13:54 -0300)]
Add a small utility to send pymin commands.

17 years agoMerge or3st3s@baryon.com.ar:workspace/pymin
Nicolas Emiliani [Mon, 12 Nov 2007 16:16:48 +0000 (13:16 -0300)]
Merge or3st3s@baryon.com.ar:workspace/pymin

17 years agoVpnHandler bugfixes.
Nicolas Emiliani [Mon, 12 Nov 2007 16:14:24 +0000 (13:14 -0300)]
VpnHandler bugfixes.

17 years agoBug fix for the vpn --net=<VPN> fixed
Nicolas Emiliani [Mon, 12 Nov 2007 16:01:36 +0000 (13:01 -0300)]
Bug fix for the vpn --net=<VPN> fixed

17 years agoAdded Mode=switch to tinc.conf template.
Nicolas Emiliani [Mon, 12 Nov 2007 15:33:45 +0000 (12:33 -0300)]
Added Mode=switch to tinc.conf template.

This causes the created device to appear as link/ether

17 years agoMerge branch 'master' into suse
or3st3s [Mon, 12 Nov 2007 12:32:06 +0000 (12:32 +0000)]
Merge branch 'master' into suse

17 years agoMerge branch 'master' into suse
Nicolas Emiliani [Mon, 12 Nov 2007 13:43:20 +0000 (10:43 -0300)]
Merge branch 'master' into suse

17 years agoHack for DNS timer_handle added.
Nicolas Emiliani [Mon, 12 Nov 2007 13:42:29 +0000 (10:42 -0300)]
Hack for DNS timer_handle added.

The hack consists in redifinig de timer_handle because
the generic one that was used to check if the process was running
returned a pid that did not belong with the process wanted (named),
that was due to teh fact that named is in a path used to execute
an option of the syslog deamon.

17 years agoVpnHandler export added.
Nicolas Emiliani [Mon, 12 Nov 2007 13:38:53 +0000 (10:38 -0300)]
VpnHandler export added.

17 years agoMake up.
Nicolas Emiliani [Mon, 12 Nov 2007 13:36:33 +0000 (10:36 -0300)]
Make up.

17 years agoFixes, VPN handler added and qos handler commented till it's fixed.
Nicolas Emiliani [Mon, 12 Nov 2007 13:28:12 +0000 (10:28 -0300)]
Fixes, VPN handler added and qos handler commented till it's fixed.

17 years agoVpn Handler added to config.py.
or3st3s [Mon, 12 Nov 2007 11:01:36 +0000 (11:01 +0000)]
Vpn Handler added to config.py.

17 years agoBugfix: InitdHandler.timer_handler() had undefined variables.
Leandro Lucarella [Sun, 11 Nov 2007 20:00:41 +0000 (17:00 -0300)]
Bugfix: InitdHandler.timer_handler() had undefined variables.

17 years agoMerge baryon.com.ar:workspace/pymin
Nicolas Emiliani [Sat, 10 Nov 2007 19:56:14 +0000 (16:56 -0300)]
Merge baryon.com.ar:workspace/pymin

Conflicts:

config.py

17 years agoVPN support added.
Nicolas Emiliani [Sat, 10 Nov 2007 19:48:52 +0000 (16:48 -0300)]
VPN support added.

17 years agoqos implementation fixes
Federico Cuello [Tue, 6 Nov 2007 18:45:37 +0000 (15:45 -0300)]
qos implementation fixes

17 years agoSe agregan try y catch al _write_config del iphandler
Nicolas Emiliani [Tue, 6 Nov 2007 18:15:42 +0000 (15:15 -0300)]
Se agregan try y catch al _write_config del iphandler

17 years agoqos implementation
Federico Cuello [Tue, 6 Nov 2007 03:47:32 +0000 (00:47 -0300)]
qos implementation

17 years agoBugfix: add noauth and change name for user in ppp template.
Leandro Lucarella [Mon, 5 Nov 2007 14:31:10 +0000 (11:31 -0300)]
Bugfix: add noauth and change name for user in ppp template.

17 years agoBugfix: remove wrong poff command call in ppp handler.
Leandro Lucarella [Mon, 5 Nov 2007 14:30:39 +0000 (11:30 -0300)]
Bugfix: remove wrong poff command call in ppp handler.

17 years agoMove Device and Address to services.util and add ppp peer IPs.
Leandro Lucarella [Mon, 5 Nov 2007 14:30:16 +0000 (11:30 -0300)]
Move Device and Address to services.util and add ppp peer IPs.

17 years agoAdd a default handle_timer() method to InitdHandler that checks the daemon pid.
Leandro Lucarella [Mon, 29 Oct 2007 02:08:10 +0000 (23:08 -0300)]
Add a default handle_timer() method to InitdHandler that checks the daemon pid.

This is to provide a more accurate running command. It can be extended to
provide a "persist" option to restart the service when it's down.

17 years agoMerge jack2@192.168.7.8:src/pymin
Leandro Lucarella [Sat, 27 Oct 2007 20:52:07 +0000 (17:52 -0300)]
Merge jack2@192.168.7.8:src/pymin

17 years agoAdd a timer handler to ppp to monitor ppp connections state.
Leandro Lucarella [Sat, 27 Oct 2007 20:50:29 +0000 (17:50 -0300)]
Add a timer handler to ppp to monitor ppp connections state.

17 years agoExcecute the timer at startup if enabled.
Leandro Lucarella [Sat, 27 Oct 2007 20:44:53 +0000 (17:44 -0300)]
Excecute the timer at startup if enabled.

17 years agoRemoved 'ip addr update' command since it has not much sense.
Leandro Lucarella [Sat, 27 Oct 2007 18:48:24 +0000 (15:48 -0300)]
Removed 'ip addr update' command since it has not much sense.

17 years agoMerge branch 'master' of or3st3s@baryon.com.ar:workspace/pymin into suse
jack2 [Sat, 27 Oct 2007 17:45:19 +0000 (14:45 -0300)]
Merge branch 'master' of or3st3s@baryon.com.ar:workspace/pymin into suse

Conflicts:

config.py

17 years agoVerificacion de interfaces usando handle_timer().
Nicolas Emiliani [Thu, 25 Oct 2007 14:54:54 +0000 (11:54 -0300)]
Verificacion de interfaces usando handle_timer().

En util.py se corrige get_network_devices para que
levante los link/ppp.
En ip/__init__.py se agrega refresh_devices para que
a travez del handle_timer se puedan agregar los devices
que se registran a travez del commando ppp y tambien
se borren los devices caidos.

17 years agoUpdate TODO list.
Leandro Lucarella [Thu, 25 Oct 2007 03:30:21 +0000 (00:30 -0300)]
Update TODO list.

17 years agoAdd support for a simple timer to do periodic tasks.
Leandro Lucarella [Wed, 24 Oct 2007 20:41:28 +0000 (17:41 -0300)]
Add support for a simple timer to do periodic tasks.

Base support is on EventLoop, who handles the timer
life and calls handle_timer() when the timer is
expired. dispatcher.Handler has a simple default
handle_timer() implementation that just promote the
"handle_timer message" to all subhandlers, while
PyDaemon just start "spreading the voice" by calling
the root handler handle_timer() method.

17 years agoMerge branch 'master' into suse
root [Mon, 22 Oct 2007 20:30:53 +0000 (17:30 -0300)]
Merge branch 'master' into suse

17 years agoRearrange service startup order.
Leandro Lucarella [Mon, 22 Oct 2007 16:15:19 +0000 (13:15 -0300)]
Rearrange service startup order.

17 years agoMerge commit 'nico-baryon/master'
Leandro Lucarella [Mon, 22 Oct 2007 16:11:43 +0000 (13:11 -0300)]
Merge commit 'nico-baryon/master'

Conflicts:

pymin/services/ppp/__init__.py
pymin/services/vrrp/__init__.py

17 years agoAdd support for service running status and restoring at startup.
Leandro Lucarella [Mon, 22 Oct 2007 05:46:53 +0000 (02:46 -0300)]
Add support for service running status and restoring at startup.

Now ServiceHandler stores a persistent status of the service, to know if
the service should be started at startup (or reloaded when reload command
is called). To do that it inherits from Restorable, so restarting and
committing is now not done at _restore() any more. InetdHandler now
inherits from ServiceHandler to take advantage of its features.

ServiceHandler now support callables _service_{start,stop,restart,reload}
attributes to ease the customization.

PppHandler is a special case where each connection has it own running
status. All start, stop, restart and reload takes the name argument as
optional. If a name is not provided, all connections are processed. On
restart, all connections are (re)started, on reload (and at startup), only the previous
running connectinos are restarted.

ConfigWriter's _write_config() now can return True to indicate that commit
command shouldn't reload the service.

VrrpHandler now uses python's kill to stop the service.

17 years agoBugfix: _dict_* should be _cont_* and _persistent_attrs should be a list.
Leandro Lucarella [Mon, 22 Oct 2007 05:32:42 +0000 (02:32 -0300)]
Bugfix: _dict_* should be _cont_* and _persistent_attrs should be a list.

17 years agoAdd support "operation tagging" to ParametersHandler.
Leandro Lucarella [Mon, 22 Oct 2007 05:29:48 +0000 (02:29 -0300)]
Add support "operation tagging" to ParametersHandler.

Now if a ParametersHandler instance has an attribute _update, it will be
changes to True when the set command is called.

17 years agoBugfix: _persistent_attrs should be a sequence.
Leandro Lucarella [Mon, 22 Oct 2007 04:07:43 +0000 (01:07 -0300)]
Bugfix: _persistent_attrs should be a sequence.

17 years agoCambios ppp.
Fede [Mon, 22 Oct 2007 01:47:27 +0000 (22:47 -0300)]
Cambios ppp.

Se modifican parametros de los templates.
Se ambian prints por calls.

17 years agoSe corrigen el nombre del pid file y se camban prints por calls.
Fede [Sun, 21 Oct 2007 21:46:34 +0000 (18:46 -0300)]
Se corrigen el nombre del pid file y se camban prints por calls.

17 years agoSe agrega el POLICY al script para que el NAMED no se queje.
Fede [Sun, 21 Oct 2007 21:44:16 +0000 (18:44 -0300)]
Se agrega el POLICY al script para que el NAMED no se queje.

17 years agoSe corrigen el nombre del pid file y se camban prints por calls.
Fede [Sun, 21 Oct 2007 21:46:34 +0000 (18:46 -0300)]
Se corrigen el nombre del pid file y se camban prints por calls.

17 years agoSe agrega el POLICY al script para que el NAMED no se queje.
Fede [Sun, 21 Oct 2007 21:44:16 +0000 (18:44 -0300)]
Se agrega el POLICY al script para que el NAMED no se queje.

17 years agoMod de los parametros de inicializacion de vrrp.
Fede [Sun, 21 Oct 2007 21:42:14 +0000 (18:42 -0300)]
Mod de los parametros de inicializacion de vrrp.

17 years agoRemove implemented items from TODO.
Leandro Lucarella [Fri, 19 Oct 2007 19:23:06 +0000 (16:23 -0300)]
Remove implemented items from TODO.

17 years agoDon't run in DEBUG mode (but print call() calls).
Fede [Thu, 18 Oct 2007 00:41:50 +0000 (21:41 -0300)]
Don't run in DEBUG mode (but print call() calls).

17 years agoMerge branch 'master' into suse
Fede [Thu, 18 Oct 2007 00:41:03 +0000 (21:41 -0300)]
Merge branch 'master' into suse

17 years agoMake real calls (remove prints).
Fede [Thu, 18 Oct 2007 00:40:28 +0000 (21:40 -0300)]
Make real calls (remove prints).

17 years agoAlias reload to restart in DhcpHandler (init.d script don't have reload).
Fede [Thu, 18 Oct 2007 00:39:25 +0000 (21:39 -0300)]
Alias reload to restart in DhcpHandler (init.d script don't have reload).

17 years agoMerge branch 'master' into suse
Fede [Wed, 17 Oct 2007 23:18:19 +0000 (20:18 -0300)]
Merge branch 'master' into suse

17 years agoInherit errors from HandlerError.
Fede [Wed, 17 Oct 2007 23:07:04 +0000 (20:07 -0300)]
Inherit errors from HandlerError.

17 years agoSpecific Suse configuration.
Fede [Wed, 17 Oct 2007 22:59:22 +0000 (19:59 -0300)]
Specific Suse configuration.

17 years agoMerge ../t/pymin/
Fede [Wed, 17 Oct 2007 22:44:03 +0000 (19:44 -0300)]
Merge ../t/pymin/

Conflicts:

pymin/services/ip/__init__.py

17 years agoRemove unused error classes.
Leandro Lucarella [Tue, 16 Oct 2007 03:28:36 +0000 (00:28 -0300)]
Remove unused error classes.

17 years agoAdd ComposedSubHandler (and their List and Dict flavors) to services.util.
Leandro Lucarella [Tue, 16 Oct 2007 03:28:21 +0000 (00:28 -0300)]
Add ComposedSubHandler (and their List and Dict flavors) to services.util.

Add a class to handle List and Dict subhandlers contained in another
parent object. DnsHandler and IpHandler are updated to use them.

get_devices() function was "promoted" to services.util too, with a little
signature change.

17 years agoBugfix: catch LookupErrors instead of IndexError in ContainerSubHandler.
Leandro Lucarella [Tue, 16 Oct 2007 03:25:17 +0000 (00:25 -0300)]
Bugfix: catch LookupErrors instead of IndexError in ContainerSubHandler.

17 years agoAdd a default __cmp__() implementation to pymin.seqtool.Sequence.
Leandro Lucarella [Tue, 16 Oct 2007 03:22:59 +0000 (00:22 -0300)]
Add a default __cmp__() implementation to pymin.seqtool.Sequence.

17 years agoAdd a clear() method to ContainerSubHandler to remove all the items.
Leandro Lucarella [Tue, 16 Oct 2007 00:02:34 +0000 (21:02 -0300)]
Add a clear() method to ContainerSubHandler to remove all the items.

17 years agoUse more consistent getter name in ContainerSubHandler.
Leandro Lucarella [Tue, 16 Oct 2007 00:02:06 +0000 (21:02 -0300)]
Use more consistent getter name in ContainerSubHandler.

Now the method to access to the container attribute is named _attr() (and
_vattr) instead of _cont() (and _vcont). The method accept now an optional
'attr' argument to act as a setter.

17 years agoAdd NatHandler to handle NAT (port forwarding, snating and masquerading).
Leandro Lucarella [Mon, 15 Oct 2007 05:22:06 +0000 (02:22 -0300)]
Add NatHandler to handle NAT (port forwarding, snating and masquerading).

17 years agoAdd RestartHandler and ReloadHandler to pymin.services.util.
Leandro Lucarella [Mon, 15 Oct 2007 04:25:27 +0000 (01:25 -0300)]
Add RestartHandler and ReloadHandler to pymin.services.util.

RestartHandler adds a command restart() that calls stop() and then start().

ReloadHandler adds a command reload() that calls restart().

This are utility classes to automatically handler restart and reload
commands on services that don't support them directly.

17 years agoSe agrega soporto para balanceo de carga.
or3st3s [Sat, 13 Oct 2007 17:04:31 +0000 (17:04 +0000)]
Se agrega soporto para balanceo de carga.

Se agrega en el comando hop que permite agregar
distintos gateways para hacer balanceo de carga.

17 years agoSe agrega el template de chap-secrets para el pptp
Nicolas Emiliani [Fri, 12 Oct 2007 19:05:00 +0000 (16:05 -0300)]
Se agrega el template de chap-secrets para el pptp

17 years agoMerge or3st3s@azazel:/home/luca/repos/pymin
Nicolas Emiliani [Fri, 12 Oct 2007 18:59:55 +0000 (15:59 -0300)]
Merge or3st3s@azazel:/home/luca/repos/pymin

17 years agoAdd support to "operation tagging" to ListSubHandler and DictSubHandler.
Leandro Lucarella [Thu, 11 Oct 2007 21:06:57 +0000 (18:06 -0300)]
Add support to "operation tagging" to ListSubHandler and DictSubHandler.

"Operation tagging" means that if the contained objects has an _add,
_update or _delete attribute, it set them to true when the item is
added, updated or deleted respectively (in case that it's deleted, it's
not removed from the container, but it's not listed either, i.e. the
items are "logically" deleted, not really removed from the container).

Now ListSubHandler and DictSubHandler ihnerit from a new class
ContainerSubHandler which handles 95% of the code. Because of this, now
the "magic" attributes starts with _cont_ instead of _list_ or _dict_.
Existing handler were updated, but new ones should take this into
account.

17 years agoAdd a new, backward compatible, way to specify specific config dirs.
Leandro Lucarella [Thu, 11 Oct 2007 20:10:30 +0000 (17:10 -0300)]
Add a new, backward compatible, way to specify specific config dirs.

Now _config_writer_cfg_dir could be a dictionary instead of a string.
The dictionary maps template filenames to directories where to generate
(render) the configure files.

See the DnsHandler for an example.

17 years agoSe agrega soporte de pppoe, pptp al ppp.
Nicolas Emiliani [Thu, 11 Oct 2007 19:27:32 +0000 (16:27 -0300)]
Se agrega soporte de pppoe, pptp al ppp.

17 years agoSe agrega el manejo de ppp.
Nicolas Emiliani [Thu, 11 Oct 2007 16:54:46 +0000 (13:54 -0300)]
Se agrega el manejo de ppp.

17 years agoUse ListSubHandler in firewall rules.
Leandro Lucarella [Wed, 10 Oct 2007 20:27:39 +0000 (17:27 -0300)]
Use ListSubHandler in firewall rules.

17 years agoAdd a new helper class for services: ListSubHandler.
Leandro Lucarella [Wed, 10 Oct 2007 20:19:49 +0000 (17:19 -0300)]
Add a new helper class for services: ListSubHandler.

17 years agoBugfix: skip SubHandlers parent when looking for a handler/command/help.
Leandro Lucarella [Wed, 10 Oct 2007 20:19:18 +0000 (17:19 -0300)]
Bugfix: skip SubHandlers parent when looking for a handler/command/help.

17 years agoBugfix: use hasattr() right when looking for help.
Leandro Lucarella [Wed, 10 Oct 2007 20:01:16 +0000 (17:01 -0300)]
Bugfix: use hasattr() right when looking for help.

17 years agoBugfix: remove unused DictSubHandler attribute.
Leandro Lucarella [Wed, 10 Oct 2007 19:36:11 +0000 (16:36 -0300)]
Bugfix: remove unused DictSubHandler attribute.

17 years agoAdd default conversion from Sequence to str and unicode.
Leandro Lucarella [Wed, 10 Oct 2007 19:34:11 +0000 (16:34 -0300)]
Add default conversion from Sequence to str and unicode.

17 years agoUpdate services to use SubHandler and DictSubHandler.
Leandro Lucarella [Wed, 10 Oct 2007 20:31:08 +0000 (17:31 -0300)]
Update services to use SubHandler and DictSubHandler.

17 years agoRaise a CommandNotFoundError if updating an object without update().
Leandro Lucarella [Wed, 10 Oct 2007 19:00:43 +0000 (16:00 -0300)]
Raise a CommandNotFoundError if updating an object without update().

When a DictSubHandler try to update an object that doesn't have an
update() method, it raises a CommandNotFoundError to emulate that the
update command doesn't exist.

17 years agoMerge or3st3s@azazel:/home/luca/repos/pymin
Nicolas Emiliani [Wed, 10 Oct 2007 18:31:07 +0000 (15:31 -0300)]
Merge or3st3s@azazel:/home/luca/repos/pymin

17 years agoAdd new service helper classes: SubHandler and DictSubHandler.
Leandro Lucarella [Wed, 10 Oct 2007 18:23:47 +0000 (15:23 -0300)]
Add new service helper classes: SubHandler and DictSubHandler.

SubHandler just takes a reference to his parent.

DictSubHandler manages a parent's dict attribute, providing add, update,
delete, get, list and show commands.

Error classes were added too: ItemError, ItemNotFoundError and
ItemAlreadyExistsError.

17 years agoUpdate TODO list.
Leandro Lucarella [Wed, 10 Oct 2007 18:21:09 +0000 (15:21 -0300)]
Update TODO list.

17 years agoModificacion al vrrp para start y stop
Nicolas Emiliani [Wed, 10 Oct 2007 18:18:33 +0000 (15:18 -0300)]
Modificacion al vrrp para start y stop

17 years agoSe agrega el servicio de VRRP.
Nicolas Emiliani [Wed, 10 Oct 2007 17:38:36 +0000 (14:38 -0300)]
Se agrega el servicio de VRRP.

17 years agoImprove WrongArgumentError class.
Leandro Lucarella [Wed, 10 Oct 2007 15:06:15 +0000 (12:06 -0300)]
Improve WrongArgumentError class.

17 years agoHandle calling a command with an unexpected keyword argument errors.
Leandro Lucarella [Wed, 10 Oct 2007 14:57:58 +0000 (11:57 -0300)]
Handle calling a command with an unexpected keyword argument errors.

17 years agoMerge or3st3s@azazel:/home/luca/repos/pymin
Nicolas Emiliani [Wed, 10 Oct 2007 14:36:00 +0000 (11:36 -0300)]
Merge or3st3s@azazel:/home/luca/repos/pymin

17 years agoSe agrega el archivo de usuarios de proxy
Nicolas Emiliani [Wed, 10 Oct 2007 14:35:48 +0000 (11:35 -0300)]
Se agrega el archivo de usuarios de proxy

17 years agoBetter error message of wrong arguments in Dispatcher.
Leandro Lucarella [Mon, 8 Oct 2007 16:19:28 +0000 (13:19 -0300)]
Better error message of wrong arguments in Dispatcher.

17 years agoBugfix: make rollback to work.
Leandro Lucarella [Sun, 7 Oct 2007 22:01:45 +0000 (19:01 -0300)]
Bugfix: make rollback to work.

Rollback did never worked right on composed handlers (handlers with
sub-handlers) because when the class attributes were unpickled, they were
bounded to a new object instance, and the sub-handlers references were
never updated (the sub-handler referenced directly the handler attributes).

Now all sub-handlers references the handler object itself (called parent)
so when the unpikle is done, all can reference to the same objects.

17 years agoBugfix in command parser.
Leandro Lucarella [Sun, 7 Oct 2007 21:36:09 +0000 (18:36 -0300)]
Bugfix in command parser.

When escape sequences were after another token they were joined in a
single token. Now they are parsed as expected.

17 years agoAdd preliminary support for wrong arguments error reporting.
Leandro Lucarella [Sat, 6 Oct 2007 22:44:53 +0000 (19:44 -0300)]
Add preliminary support for wrong arguments error reporting.

It support wrong ammount of arguments, but not unexpected keyword argument
and maybe others.

17 years agofix command names
Fede [Sat, 6 Oct 2007 17:06:44 +0000 (14:06 -0300)]
fix command names

17 years agoSuse way
Fede [Sat, 6 Oct 2007 17:04:06 +0000 (14:04 -0300)]
Suse way

17 years agofix host FQDN
Fede [Sat, 6 Oct 2007 17:01:39 +0000 (14:01 -0300)]
fix host FQDN

17 years agoBugfixes to firewall service.
Fede [Sat, 6 Oct 2007 16:01:30 +0000 (13:01 -0300)]
Bugfixes to firewall service.

17 years agoAdd flush to iptables.sh template.
Fede [Sat, 6 Oct 2007 16:00:59 +0000 (13:00 -0300)]
Add flush to iptables.sh template.

17 years agoUpdate services.util errors to be unicode compatible.
Fede [Sat, 6 Oct 2007 15:59:55 +0000 (12:59 -0300)]
Update services.util errors to be unicode compatible.