[SOLVED] - Re: Error I don't understand
Bzzzz <[email protected]> Tue, 17 Feb 2015 22:09:15 +0100
| Newsgroups | gmane.comp.python.pyro |
|---|---|
| Organization | Anyone, anywhere BUT in banana demokratik republik of france |
| Message-ID | <[email protected]> |
On Tue, 17 Feb 2015 19:45:25 +0100 Bzzzz <[email protected]> wrote: > DB = Pyro4.Proxy( gvar.conf['rpc_registered_name'] ) > DB._pyroHmacKey = gvar.conf['hmac_key'] > gvar.conf['db_hash'], gvar.conf['db_right'] = DB.getRights( > gvar.conf['db_name'], gvar.conf['db_user_name'], > gvar.conf['db_user_password'], gvar.conf['encoding'] ) This was because the gvar.conf dict has u'unicode' strings that can't match regular strings :( (and of course, p3 isn't really usable on debian sid at this time:( @#!}~!! JY ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk