Sure. the default location for the config file is under /etc when you follow
the install procedure. But you also can run the web client without install.
That's my case. My customized file was under my home folder. the one created
by the web client was in a folder named "doc" under the web client folder
(for instance: /home/<user>/trunk/web/doc/)
the web client only needs one of them.
On Sun, Oct 24, 2010 at 6:03 AM, Sam_inv <email address hidden> wrote:
> Cesitar,
>
> Could you tell me what the locations are of both files?
> I thought there was only 1 under /etc
>
> Sam
>
> --
> v6 AttributeError: 'NoneType' object has no attribute 'locale'
> https://bugs.launchpad.net/bugs/664536
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in OpenObject Web Client: New
>
> Bug description:
> Hi,
>
> ubuntu
> revision rc1 and last revision :
>
> see topic on openerp forum (I have no ubuntu) :
> http://www.openerp.com/forum/post68229.html#p68229
>
> log :
>
> File
> "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openerp-web/addons/openerp/utils/rpc_utils.py",
> line 36, in <module>
> init_rpc_session()
> File
> "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openerp-web/addons/openerp/utils/rpc_utils.py",
> line 34, in init_rpc_session
> rpc.initialize(host, port, protocol, storage=CPSessionWrapper())
> File
> "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openerp-web/addons/openerp/utils/rpc.py",
> line 374, in initialize
> session = RPCSession(host, port, protocol, storage=storage)
> File
> "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openerp-web/addons/openerp/utils/rpc.py",
> line 246, in __init__
> raise common.message(_("Unsupported protocol."))
> File
> "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openerp-web/openobject/i18n/_gettext.py",
> line 127, in gettext2
> value = gettext(key, locale, domain)
> File
> "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openerp-web/openobject/i18n/_gettext.py",
> line 123, in gettext
> return _gettext(key, locale, domain)
> File
> "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openerp-web/openobject/i18n/_gettext.py",
> line 70, in _gettext
> locale = get_locale()
> File
> "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openerp-web/openobject/i18n/utils.py",
> line 71, in get_locale
> locale = rpc.session.locale
> AttributeError: 'NoneType' object has no attribute 'locale'
>
> modify in openobject\i18n\utils.py line 70
> from openerp.utils import rpc
> by
> from addons.openerp.utils import rpc
>
>
> and after this an other error comes (always in th log I gave before) :
>
> File
> "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openerp-web/addons/openerp/utils/__init__.py",
> line 4, in <module>
> import rpc_utils
> File
> "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openerp-web/addons/openerp/utils/rpc_utils.py",
> line 36, in <module>
> init_rpc_session()
> File
> "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openerp-web/addons/openerp/utils/rpc_utils.py",
> line 34, in init_rpc_session
> rpc.initialize(host, port, protocol, storage=CPSessionWrapper())
> File
> "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openerp-web/addons/openerp/utils/rpc.py",
> line 374, in initialize
> session = RPCSession(host, port, protocol, storage=storage)
> File
> "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openerp-web/addons/openerp/utils/rpc.py",
> line 246, in __init__
> raise common.message(_("Unsupported protocol."))
> File
> "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openerp-web/addons/openerp/utils/common.py",
> line 78, in message
> raise TinyMessage(message=msg)
> TinyMessage: Unsupported protocol.
>
> Bye
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/openobject-client-web/+bug/664536/+subscribe
>
Sure. the default location for the config file is under /etc when you follow user>/trunk/ web/doc/ )
the install procedure. But you also can run the web client without install.
That's my case. My customized file was under my home folder. the one created
by the web client was in a folder named "doc" under the web client folder
(for instance: /home/<
the web client only needs one of them.
On Sun, Oct 24, 2010 at 6:03 AM, Sam_inv <email address hidden> wrote:
> Cesitar, /bugs.launchpad .net/bugs/ 664536 www.openerp. com/forum/ post68229. html#p68229 lib/python2. 6/dist- packages/ openerp_ web-6.0. 0_rc1-py2. 6.egg/openerp- web/addons/ openerp/ utils/rpc_ utils.py" , lib/python2. 6/dist- packages/ openerp_ web-6.0. 0_rc1-py2. 6.egg/openerp- web/addons/ openerp/ utils/rpc_ utils.py" , host, port, protocol, storage= CPSessionWrappe r()) lib/python2. 6/dist- packages/ openerp_ web-6.0. 0_rc1-py2. 6.egg/openerp- web/addons/ openerp/ utils/rpc. py", lib/python2. 6/dist- packages/ openerp_ web-6.0. 0_rc1-py2. 6.egg/openerp- web/addons/ openerp/ utils/rpc. py", message( _("Unsupported protocol.")) lib/python2. 6/dist- packages/ openerp_ web-6.0. 0_rc1-py2. 6.egg/openerp- web/openobject/ i18n/_gettext. py", lib/python2. 6/dist- packages/ openerp_ web-6.0. 0_rc1-py2. 6.egg/openerp- web/openobject/ i18n/_gettext. py", lib/python2. 6/dist- packages/ openerp_ web-6.0. 0_rc1-py2. 6.egg/openerp- web/openobject/ i18n/_gettext. py", lib/python2. 6/dist- packages/ openerp_ web-6.0. 0_rc1-py2. 6.egg/openerp- web/openobject/ i18n/utils. py", i18n\utils. py line 70 openerp. utils import rpc lib/python2. 6/dist- packages/ openerp_ web-6.0. 0_rc1-py2. 6.egg/openerp- web/addons/ openerp/ utils/_ _init__ .py", lib/python2. 6/dist- packages/ openerp_ web-6.0. 0_rc1-py2. 6.egg/openerp- web/addons/ openerp/ utils/rpc_ utils.py" , lib/python2. 6/dist- packages/ openerp_ web-6.0. 0_rc1-py2. 6.egg/openerp- web/addons/ openerp/ utils/rpc_ utils.py" , host, port, protocol, storage= CPSessionWrappe r()) lib/python2. 6/dist- packages/ openerp_ web-6.0. 0_rc1-py2. 6.egg/openerp- web/addons/ openerp/ utils/rpc. py", lib/python2. 6/dist- packages/ openerp_ web-6.0. 0_rc1-py2. 6.egg/openerp- web/addons/ openerp/ utils/rpc. py", message( _("Unsupported protocol.")) lib/python2. 6/dist- packages/ openerp_ web-6.0. 0_rc1-py2. 6.egg/openerp- web/addons/ openerp/ utils/common. py", message= msg) /bugs.launchpad .net/openobject -client- web/+bug/ 664536/ +subscribe
>
> Could you tell me what the locations are of both files?
> I thought there was only 1 under /etc
>
> Sam
>
> --
> v6 AttributeError: 'NoneType' object has no attribute 'locale'
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in OpenObject Web Client: New
>
> Bug description:
> Hi,
>
> ubuntu
> revision rc1 and last revision :
>
> see topic on openerp forum (I have no ubuntu) :
> http://
>
> log :
>
> File
> "/usr/local/
> line 36, in <module>
> init_rpc_session()
> File
> "/usr/local/
> line 34, in init_rpc_session
> rpc.initialize(
> File
> "/usr/local/
> line 374, in initialize
> session = RPCSession(host, port, protocol, storage=storage)
> File
> "/usr/local/
> line 246, in __init__
> raise common.
> File
> "/usr/local/
> line 127, in gettext2
> value = gettext(key, locale, domain)
> File
> "/usr/local/
> line 123, in gettext
> return _gettext(key, locale, domain)
> File
> "/usr/local/
> line 70, in _gettext
> locale = get_locale()
> File
> "/usr/local/
> line 71, in get_locale
> locale = rpc.session.locale
> AttributeError: 'NoneType' object has no attribute 'locale'
>
> modify in openobject\
> from openerp.utils import rpc
> by
> from addons.
>
>
> and after this an other error comes (always in th log I gave before) :
>
> File
> "/usr/local/
> line 4, in <module>
> import rpc_utils
> File
> "/usr/local/
> line 36, in <module>
> init_rpc_session()
> File
> "/usr/local/
> line 34, in init_rpc_session
> rpc.initialize(
> File
> "/usr/local/
> line 374, in initialize
> session = RPCSession(host, port, protocol, storage=storage)
> File
> "/usr/local/
> line 246, in __init__
> raise common.
> File
> "/usr/local/
> line 78, in message
> raise TinyMessage(
> TinyMessage: Unsupported protocol.
>
> Bye
>
> To unsubscribe from this bug, go to:
> https:/
>