Comments (21)
Did you configured a journal on the payment methods? Does the journal have accounts configured?
from connector-magento.
Hi, thanks for your quick answer! I configured a journal on the payment methods, but how do I configure accounts?
from connector-magento.
On the journal. What is the type of your journal?
from connector-magento.
Hi Guewen, thanks I found the problem and fixed it, it was really wrong configuration on my side.
The problem was that I had no default debit & credit account configured.
But I have now one order that is not importing with the following error message:
Traceback (most recent call last):
File "/opt/openerp-custom/addons/connector/connector/queue/worker.py", line 124, in run_job
job.perform(session)
File "/opt/openerp-custom/addons/connector/connector/queue/job.py", line 466, in perform
self.result = self.func(session, _self.args, *_self.kwargs)
File "/opt/openerp-custom/addons/connector-magento/magentoerpconnect/unit/import_synchronizer.py", line 379, in import_record
importer.run(magento_id, force=force)
File "/opt/openerp-custom/addons/connector-magento/magentoerpconnect/unit/import_synchronizer.py", line 197, in run
self.magento_record = self._get_magento_data()
File "/opt/openerp-custom/addons/connector-magento/magentoerpconnect/unit/import_synchronizer.py", line 61, in _get_magento_data
return self.backend_adapter.read(self.magento_id)
File "/opt/openerp-custom/addons/connector-magento/magentoerpconnect/product.py", line 245, in read
[int(id), storeview_id, attributes, 'id'])
File "/opt/openerp-custom/addons/connector-magento/magentoerpconnect/product.py", line 210, in _call
return super(ProductProductAdapter, self)._call(method, arguments)
File "/opt/openerp-custom/addons/connector-magento/magentoerpconnect/unit/backend_adapter.py", line 168, in _call
result = api.call(method, arguments)
File "/usr/local/lib/python2.7/dist-packages/magento/api.py", line 159, in call
return self.client.call(self.session, resource_path, arguments)
File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in call
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
verbose=self.__verbose
File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python2.7/xmlrpclib.py", line 1297, in single_request
return self.parse_response(response)
File "/usr/lib/python2.7/xmlrpclib.py", line 1473, in parse_response
return u.close()
File "/usr/lib/python2.7/xmlrpclib.py", line 793, in close
raise Fault(**self._stack[0])
Fault: <Fault 3: 'Invalid api path.'>
Is there a way to investigate this further? For example can I somehow find out which order is the problem so that I can have a look at the data that fails importing?
Thanks,
Michael
from connector-magento.
The most important part of the traceback is missing at the bottom line, Fault
has no description.
However, I can already say it is an error returned by Magento.
from connector-magento.
Hi, I know - that's why I'm asking if I can find out more about that error somewhere else. How do I proceed with this error? How do I investigate errors like that? Thanks for your help!
from connector-magento.
You did not posted the full error, the last line is incomplete and this is where the description of the error returned by Magento is, so anybody will have difficulties to answer you.
from connector-magento.
I also don't see more (see screenshot)!
That's the reason why I'm asking where I can find out more about that error. Are there log files that I can look at?
from connector-magento.
Yes there is more.
Look in you first traceback
Fault:
And in the screenshot
Fault: <Fault 3 : 'Invalid api path.'>
This error indicates that the PHP module on Magento is not installed or not installed properly. Do not install the module on Magento Connect but follow these instructions to install it on Magento http://odoo-magento-connector.com/guides/installation_guide.html#magento
from connector-magento.
I followed the instructions and I synchronized our whole store with Odoo, there is only this one job failing - so I don't think that I have a general problem here. Is there a log file on the magento side that can help me figure out what's happening here? Is there somewhere a documentation about log files?
from connector-magento.
Probably. I'm not a Magento expert. I think you might find something by googling a bit.
from connector-magento.
I close this issue because the original problem is solved.
BTW it would be nice if you could write the configuration error you did which led to this situation so if someone else has the same one he would find the solution.
from connector-magento.
Hi guewen, i have the same problem, the partner is synchrnised from magento to odoo but for prduct, there is the same error. what's wrong. thanks to quick answer
from connector-magento.
@alicealie That's an error on Magento, check the Magento logs.
from connector-magento.
@alicealie it would be nice if @aignermi could answer how he solved his issue. (wrong installation of the connector plugin on Magento?)
from connector-magento.
Thanks for your answer!
ok, I'll check magento logs. by the way, for the partner synchronised, when I update partner form odoo, there is no change in magento, I guess there is another configuration I must add in magento or how to do that or it is not possible?? I' ve tried to export partner from setting>connector>export partner but the form won't apply when I check it
from connector-magento.
By default, the changes are only propagated from Magento to Odoo.
There is an additional addon to export partners https://github.com/OCA/connector-magento/tree/8.0/magentoerpconnect_export_partner but it has not been reviewed / merged : #91
from connector-magento.
there is nothin in my magento log file.
Concerning the product, when i debug and look at the code i see that
with magentolib.API(self.magento.location,
self.magento.username,
self.magento.password,
full_url=custom_url) as api: (in backend-adapter line 160 is the cause of the problem and return: access denied in log of eclipse)
Would you just give me the link to download the stable module, i download mine in https://www.odoo.com/apps/modules/8.0/magentoerpconnect/
from connector-magento.
@alicealie use the github branches, not the apps: http://odoo-magento-connector.com/guides/installation_guide.html#odoo
You'll only have benefits by using git, such as updating to new revisions or applying patches.
from connector-magento.
access denied
So check the Magento web-service username and password.
from connector-magento.
username and password are ok, I already print it , also for partner it works fine.
ok, thanks for your help
from connector-magento.
Related Issues (20)
- Migration to version 12.0 HOT 1
- External ID not found in the system: base.menu_config" HOT 2
- Connector-Magento for Odoo 11 HOT 2
- setting https for the connector HOT 2
- Pylint broken
- Product sync Odoo -> Magento HOT 1
- Migration to version 13.0 HOT 2
- I want to connect odoo 12 to magento 2.3.4 HOT 4
- Discount calculation HOT 1
- Migration to version 14.0
- Magento Odoo HOT 2
- Developer HOT 1
- Why commit "[IMP] Set a pricelist based on the currency of the order" fa27e776b093d3bc3a4998f2ee5a16084e964ef0
- Importing from a regular magento 1.7 gives us a TypeError.
- Who are the ones in charge of the various branchs? HOT 1
- odoo 11/12 - magento 1.9.x magento.product.category error HOT 3
- Migration to version 15.0
- How to stop/delete a Magento Backends
- Migration to version 16.0
- Migration to version 17.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from connector-magento.