Giter Club home page Giter Club logo

Comments (8)

oihane avatar oihane commented on August 10, 2024

odoo v11 works with python3, you are installing for python2.7

try pip3 install zeep

from odoo-addons.

FlyingPigSolutions avatar FlyingPigSolutions commented on August 10, 2024

Oh Thanks. I'll try that

from odoo-addons.

FlyingPigSolutions avatar FlyingPigSolutions commented on August 10, 2024

Ok @oihane Thanks. So let me describe hereafter in few steps what I have done in case it may helps others.

I did try pip3 install zeep

Then I got this error: :

Traceback (most recent call last):
  File "/usr/bin/pip3", line 11, in <module>
    sys.exit(main())
  File "/usr/lib/python3/dist-packages/pip/__init__.py", line 215, in main
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib/python3.5/locale.py", line 594, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting

This I called for locale

Then I found on other forum where this error could come from. So I did:

export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
locale-gen en_US.UTF-8

👍 Generation complete. 👍
Then sudo dpkg-reconfigure locales

Then I did again pip3 install zeep

This time no issue. Worked perfectly fine.

I did also an upgrade as it was suggested pip3 install --upgrade pip

from odoo-addons.

FlyingPigSolutions avatar FlyingPigSolutions commented on August 10, 2024

Back to ODOO 11, I refresh the apps and install the application SII wanted.
Now i got this error:

Erreur:
Odoo Server Error

Traceback (most recent call last):
File "/odoo/odoo-server/odoo/http.py", line 646, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/odoo/odoo-server/odoo/http.py", line 307, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/odoo/odoo-server/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/odoo/odoo-server/odoo/http.py", line 683, in dispatch
result = self._call_function(**self.params)
File "/odoo/odoo-server/odoo/http.py", line 339, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/odoo/odoo-server/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/odoo/odoo-server/odoo/http.py", line 332, in checked_call
result = self.endpoint(*a, **kw)
File "/odoo/odoo-server/odoo/http.py", line 927, in call
return self.method(*args, **kw)
File "/odoo/odoo-server/odoo/http.py", line 512, in response_wrap
response = f(*args, **kw)
File "/odoo/odoo-server/addons/web/controllers/main.py", line 928, in call_button
action = self._call_kw(model, method, args, {})
File "/odoo/odoo-server/addons/web/controllers/main.py", line 916, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/odoo/odoo-server/odoo/api.py", line 689, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/odoo/odoo-server/odoo/api.py", line 680, in call_kw_multi
result = method(recs, *args, **kwargs)
File "", line 2, in button_immediate_install
File "/odoo/odoo-server/odoo/addons/base/module/module.py", line 71, in check_and_log
return method(self, *args, **kwargs)
File "/odoo/odoo-server/odoo/addons/base/module/module.py", line 448, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File "/odoo/odoo-server/odoo/addons/base/module/module.py", line 541, in _button_immediate_function
modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "/odoo/odoo-server/odoo/modules/registry.py", line 85, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/odoo/odoo-server/odoo/modules/loading.py", line 343, in load_modules
loaded_modules, update_module)
File "/odoo/odoo-server/odoo/modules/loading.py", line 242, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/odoo/odoo-server/odoo/modules/loading.py", line 121, in load_module_graph
load_openerp_module(package.name)
File "/odoo/odoo-server/odoo/modules/module.py", line 368, in load_openerp_module
import('odoo.addons.' + module_name)
File "/odoo/odoo-server/odoo/modules/module.py", line 82, in load_module
exec(open(modfile, 'rb').read(), new_mod.dict)
File "", line 5, in
File "/odoo/odoo-server/odoo/addons/l10n_es_aeat_sii/models/init.py", line 16, in
from . import account_invoice
File "/odoo/odoo-server/odoo/addons/l10n_es_aeat_sii/models/account_invoice.py", line 13, in
from odoo.modules.registry import RegistryManager
ImportError: cannot import name 'RegistryManager'

from odoo-addons.

acysos avatar acysos commented on August 10, 2024

from odoo-addons.

FlyingPigSolutions avatar FlyingPigSolutions commented on August 10, 2024

Dear @acysos
Thank you for your reply
You mean the app itself ?
Then there is not much we can do till here I guess.
How can we help you to migrate the app to ODOO 11?

from odoo-addons.

FlyingPigSolutions avatar FlyingPigSolutions commented on August 10, 2024

@acysos
Would a financial participation would help you to do it?

from odoo-addons.

acysos avatar acysos commented on August 10, 2024

@FlyingPigSolutions can you contact with [email protected]

from odoo-addons.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.