openlabs / magento_integration

Magento OpenERP Integration
https://openerp-magento-connector.readthedocs.org/en/develop/
80 stars 77 forks source link

Module "magento_integration" can't be displayed on the module list #194

Open ferdinandlipa opened 10 years ago

ferdinandlipa commented 10 years ago

As I tried to install the "magento_integration" on the openERP dashboard and here is the log of the installation and I have followed the installation instructions from the provided documentation: https://openerp-magento-connector.readthedocs.org/en/develop/introduction.html#installation

root@serv01 [~/openerp/openerp-7.0-20140106-002615/openerp/addons/magento_integration]# python setup.py install running install running bdist_egg running egg_info writing requirements to magento_integration.egg-info/requires.txt writing magento_integration.egg-info/PKG-INFO writing top-level names to magento_integration.egg-info/top_level.txt writing dependency_links to magento_integration.egg-info/dependency_links.txt reading manifest file 'magento_integration.egg-info/SOURCES.txt' writing manifest file 'magento_integration.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib warning: install_lib: 'build/lib' does not exist -- no Python modules to install creating build/bdist.linux-x86_64/egg creating build/bdist.linux-x86_64/egg/EGG-INFO copying magento_integration.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying magento_integration.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying magento_integration.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying magento_integration.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO copying magento_integration.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying magento_integration.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO creating 'dist/magento_integration-0.1-py2.6.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing magento_integration-0.1-py2.6.egg removing '/usr/lib/python2.6/site-packages/magento_integration-0.1-py2.6.egg' (and everything under it) creating /usr/lib/python2.6/site-packages/magento_integration-0.1-py2.6.egg Extracting magento_integration-0.1-py2.6.egg to /usr/lib/python2.6/site-packages magento-integration 0.1 is already the active version in easy-install.pth

Installed /usr/lib/python2.6/site-packages/magento_integration-0.1-py2.6.egg Processing dependencies for magento-integration==0.1 Searching for pycountry==1.4 Best match: pycountry 1.4 Processing pycountry-1.4-py2.6.egg pycountry 1.4 is already the active version in easy-install.pth

Using /usr/lib/python2.6/site-packages/pycountry-1.4-py2.6.egg Searching for magento==0.4 Best match: magento 0.4 Processing magento-0.4-py2.6.egg magento 0.4 is already the active version in easy-install.pth

Using /usr/lib/python2.6/site-packages/magento-0.4-py2.6.egg Searching for itsbroken==0.2 Best match: itsbroken 0.2 Processing itsbroken-0.2-py2.6.egg itsbroken 0.2 is already the active version in easy-install.pth

Using /usr/lib/python2.6/site-packages/itsbroken-0.2-py2.6.egg Searching for suds==0.4.1 Best match: suds 0.4.1 Adding suds 0.4.1 to easy-install.pth file

Using /usr/lib/python2.6/site-packages Finished processing dependencies for magento-integration==0.1

However, the extension is not shown in the modules list.

I have checked the logs but I could not locate the reason for the problem.

Please advise on how we can fix this.

I hope you can give some time to assists me on this.

Thank you.

sharoonthomas commented 10 years ago

After running python setup.py install did you put the folder into the addons path and restart openerp ? for existing databases I think you need to run Update modules list as well

ferdinandlipa commented 10 years ago

Hi Thomas, First and foremost I already added the folder under addons. But I will try what you are suggesting to update the modules list.

Thank you for your feedback and I will try what you have suggested.

ferdinandlipa commented 10 years ago

Hi Thomas,

Its the same, I tried to update the modules list and restart the openerp. I still can't see the magento_integration modules.

Hope to hear from you.

Thank you.

sharoonthomas commented 10 years ago

Are you sure you have the right filters when you search for the module. By default i think openERP hides some modules ?

pvd276 commented 10 years ago

i use window 8, i can't run command "python setup.py install" it error when i copy folder "magento_integration" to addons folder

daibaron commented 10 years ago

Got my anwser here ! i had to restart Open ERP to have the update options and to find the new module.

TY

mic4ae1 commented 10 years ago

You should put your module here: /usr/lib/pymodules/python2.7/openerp/addons unlike commonly misplaced to /usr/share/pyshared/openerp/addons

change ownership: sudo chown -R root.root usr/lib/pymodules/python2.7/openerp/addons/module_name

change permissions of the module: sudo chmod 755 /usr/lib/pymodules/python2.7/openerp/addons/module_name -R

restart the server: sudo service openerp restart

p.s. and the folder should be called "magento_integration" without "-development" as appears if you downloaded zip package

maxlau2007 commented 10 years ago

Hi there,i had the same problem. does anyone know how to fix this problem

mic4ae1 commented 10 years ago

hi, please see my earlier reply above, in my case it was in the wrong addons directory. there are two in openerp. hope this helps.

maxlau2007 commented 10 years ago

Hi mic4ae1 Thanks a lot. I ready solved the problem