Opened 11 years ago

Last modified 11 years ago

#39645 new request

OpenERP

Reported by: mparchet@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: OpenERP

Description

Hello,

I will make a program with openerp 7. I have some difficult to install on mac os. At this time I have install it on windows partition but I would like to install it on mac os throws macport.

Here is the url :

https://accounts.openerp.com/oauth2/auth?response_type=token&scope=userinfo+download&state={%22download%22:%22sources%22}&redirect_uri=https://www.openerp.com/start?download

Note : you must register before download it.

Can you make a port for openerp 7 ?

Thanks for your help.

Best regards

mparchet

Attachments (1)

main.log (494.7 KB) - added by mparchet@… 11 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 11 years ago by cooljeanius (Eric Gallager)

Note : you must register before download it.

So would this be another geoexpress-sdk-like situation? Personally I'd rather avoid ports that require you to sign in to download the distfiles manually, but I suppose if there's demand for this one, one more couldn't really hurt...

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Port: OpenERP added
Summary: Oprnerp 7 not found on macportOpenERP

It's an open source project on launchpad so it should not be necessary to register. However I don't know which of the many downloads on launchpad we would need.

After registering, I'm simply redirected to http://nightly.openerp.com/7.0/nightly/src/openerp-7.0-latest.tar.gz. So we don't need to register to get that. However, that's not a suitable distfile for MacPorts to use, since it's a "latest" file, which is a moving target. I am unable to locate a final 7.0 release distfile. Perhaps they're not done developing it yet.

We could instead port version 6: http://nightly.openerp.com/6.0/releases/6.0.4/

Michael, what problems did you experience trying to install it on your Mac?

comment:3 Changed 11 years ago by mparchet@…

Hello,

I think that macport can help me to install openerp on my mac if Ther'is a port for it.A port could manage all dependence automatically.

I don't know how to install openerp on mac the documentation refere to baazar but this documentation refert to linux because a command bzr cat could not be execute.

I have foud this page to install oèenerp on mac but it's long and I don't if it's work correcly

http://forum.openerp.com/forum/topic22987-15.html

https://doc.openerp.com/contribute/04_using_bazaar/#installing-bazaar

https://doc.openerp.com/trunk/server/01_getting_started/#installation-from-sources

http://www.cyclaero.com/OpenERP/

but whon I run tho openerp server I get :

./openerp-server --addons-path=~/home/workspace/stable/addons
Traceback (most recent call last):
  File "./openerp-server", line 2, in <module>
    import openerp
  File "/Users/michaelparchet/Downloads/openerp-7.0-20130712-231025/openerp/__init__.py", line 39, in <module>
    import addons
  File "/Users/michaelparchet/Downloads/openerp-7.0-20130712-231025/openerp/addons/__init__.py", line 38, in <module>
    from openerp.modules import get_module_resource, get_module_path
  File "/Users/michaelparchet/Downloads/openerp-7.0-20130712-231025/openerp/modules/__init__.py", line 27, in <module>
    from . import db, graph, loading, migration, module, registry
  File "/Users/michaelparchet/Downloads/openerp-7.0-20130712-231025/openerp/modules/graph.py", line 32, in <module>
    import openerp.osv as osv
  File "/Users/michaelparchet/Downloads/openerp-7.0-20130712-231025/openerp/osv/__init__.py", line 22, in <module>
    import osv
  File "/Users/michaelparchet/Downloads/openerp-7.0-20130712-231025/openerp/osv/osv.py", line 30, in <module>
    import orm
  File "/Users/michaelparchet/Downloads/openerp-7.0-20130712-231025/openerp/osv/orm.py", line 44, in <module>
    import babel.dates
ImportError: No module named babel.dates
MacBook-Pro-de-Michael:openerp-7.0-20130712-231025 michaelparchet$ port search babel.dates
Warning: port definitions are more than two weeks old, consider using selfupdate
No match for babel.dates found

Because the installation is difficult I think a port for macport is more easy.

Could you help me please ?

Best regards

mparchet

comment:5 in reply to:  3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to mparchet@…:

I think that macport can help me to install openerp on my mac if Ther'is a port for it.A port could manage all dependence automatically.

Right, if someone programs it to do so.

I don't know how to install openerp on mac the documentation refere to baazar but this documentation refert to linux because a command bzr cat could not be execute.

To get the bzr command, install the bzr port.

ImportError: No module named babel.dates

I'm not sure, but maybe the py27-babel port provides this. I see it does install babel/dates.py; I don't know if that's the same thing.

Because the installation is difficult I think a port for macport is more easy.

More easy for you, certainly. But in order for that port to be created, someone will have to read and understand and follow all those directions you mentioned, get them to work, and then translate that knowledge into a MacPorts portfile. It is not always a straightforward process, especially for large software with lots of dependencies, which I perceive OpenERP to be.

Could you help me please ?

Sorry, I'm not going to be attempting to create such a port anytime soon. I anticipate it will be very difficult and I don't have time for that. If anyone else wants to work on it and attach a portfile for it here when done (or when stuck and needing help to take it further), that's fine.

comment:6 Changed 11 years ago by mparchet@…

Hello,

Sorry, I could not install py26-babel besause I get an error.

See attachment

Could you help me please ?

Best regards

mparchet

Changed 11 years ago by mparchet@…

Attachment: main.log added

comment:7 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

The log says:

:error:activate org.macports.activate for port py26-babel returned: Image error: /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/pybabel already exists and does not belong to a registered port.  Unable to activate port py26-babel. Use 'port -f activate py26-babel' to force the activation.

py26-babel is the only port that should be providing that file, as far as I know, so it's probably reasonable to force the activation.

comment:8 Changed 11 years ago by mparchet@…

Hello,

Sorry, opanerp-server don't work.

see bellow.

/openerp-server 
Traceback (most recent call last):
  File "./openerp-server", line 2, in <module>
    import openerp
  File "/Users/michaelparchet/Dropbox/openerp-7.0-20130712-231025/openerp/__init__.py", line 39, in <module>
    import addons
  File "/Users/michaelparchet/Dropbox/openerp-7.0-20130712-231025/openerp/addons/__init__.py", line 38, in <module>
    from openerp.modules import get_module_resource, get_module_path
  File "/Users/michaelparchet/Dropbox/openerp-7.0-20130712-231025/openerp/modules/__init__.py", line 27, in <module>
    from . import db, graph, loading, migration, module, registry
  File "/Users/michaelparchet/Dropbox/openerp-7.0-20130712-231025/openerp/modules/graph.py", line 32, in <module>
    import openerp.osv as osv
  File "/Users/michaelparchet/Dropbox/openerp-7.0-20130712-231025/openerp/osv/__init__.py", line 22, in <module>
    import osv
  File "/Users/michaelparchet/Dropbox/openerp-7.0-20130712-231025/openerp/osv/osv.py", line 30, in <module>
    import orm
  File "/Users/michaelparchet/Dropbox/openerp-7.0-20130712-231025/openerp/osv/orm.py", line 44, in <module>
    import babel.dates
ImportError: No module named babel.dates
MacBook-Pro-de-Michael:openerp-7.0-20130712-231025 michaelparchet$ sudo port install babel.dates
Warning: port definitions are more than two weeks old, consider using selfupdate
Error: Port babel.dates not found

Could you help me please ?

Best regards

mparchet

Note: See TracTickets for help on using tickets.