Giter VIP home page Giter VIP logo

Comments (21)

guewen avatar guewen commented on July 19, 2024

Did you configured a journal on the payment methods? Does the journal have accounts configured?

from connector-magento.

aignermi avatar aignermi commented on July 19, 2024

Hi, thanks for your quick answer! I configured a journal on the payment methods, but how do I configure accounts?

from connector-magento.

guewen avatar guewen commented on July 19, 2024

On the journal. What is the type of your journal?

from connector-magento.

aignermi avatar aignermi commented on July 19, 2024

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.

guewen avatar guewen commented on July 19, 2024

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.

aignermi avatar aignermi commented on July 19, 2024

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.

guewen avatar guewen commented on July 19, 2024

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.

aignermi avatar aignermi commented on July 19, 2024

screen shot 2015-06-26 at 10 08 46 am

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.

guewen avatar guewen commented on July 19, 2024

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.

aignermi avatar aignermi commented on July 19, 2024

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.

guewen avatar guewen commented on July 19, 2024

Probably. I'm not a Magento expert. I think you might find something by googling a bit.

from connector-magento.

guewen avatar guewen commented on July 19, 2024

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.

etech-henintsoalice avatar etech-henintsoalice commented on July 19, 2024

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.

guewen avatar guewen commented on July 19, 2024

@alicealie That's an error on Magento, check the Magento logs.

from connector-magento.

guewen avatar guewen commented on July 19, 2024

@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.

etech-henintsoalice avatar etech-henintsoalice commented on July 19, 2024

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.

guewen avatar guewen commented on July 19, 2024

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.

etech-henintsoalice avatar etech-henintsoalice commented on July 19, 2024

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.

guewen avatar guewen commented on July 19, 2024

@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.

guewen avatar guewen commented on July 19, 2024

access denied

So check the Magento web-service username and password.

from connector-magento.

etech-henintsoalice avatar etech-henintsoalice commented on July 19, 2024

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)

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.