It is currently Mon May 21, 2012 4:40 pm

All times are UTC + 2 hours




Post new topic Reply to topic  [ 34 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Scripts and procedures in Partner Section?
PostPosted: Mon May 18, 2009 7:35 pm 
Offline

Joined: Wed Mar 11, 2009 1:38 pm
Posts: 250
Location: Pakistan
Hi,
I am battling to create a working exe from source. The steps i followed were in:
http://bazaar.launchpad.net/~openerp/op ... oc/INSTALL

Seeing the other posts, it seems that the scripts and detailed procedures are in partner section. These posts were quite old (couple of years).
Is it still in the partner section or is it available to general public? I cant find anything in OpenERP site.

We are having problem with sending emails from OpenERP and to resolve this problem it seems that it is mandatory to modify the source slightly. I have spent days now trying to fix the problem and to get the exe to work. Wouldn't it be nice to publish those instructions and scripts in general public area (that is if it is still in partner section)??

Many Thanks
Khalid Dhariwal


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 19, 2009 8:47 am 
Offline

Joined: Fri Nov 21, 2008 9:56 am
Posts: 3079
Location: Lotharingie
hello,
there is all for the all in one exept the setup.nsi for build the web client, I succeed to build the server and client independently without the make.bat (a lot of problems of dependencies with gtk (the gimp, dia), with registry, environment's variable), but it lacks just the setup.nsi for web client and change one word in the make.bat fot the bazaar link server (change bzr co .... by bzr clone ...).
Perhaps use the setup.nsi of server and client to create it (but I'm not a specialist under windows) ?
A+


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 19, 2009 10:26 am 
Offline

Joined: Fri Nov 21, 2008 9:56 am
Posts: 3079
Location: Lotharingie
sorry,
there is a setup.nsi in folder client-web\win32, but when I run "python setup.py py2exe" i have the error :
file "setup.py", line 21, in <module>
execfile<os.path.join<"openerp", "release.py">>

IOError: [Errno 21] No such file or directory : openerp\\release.py

conclusion I can't create the webservice.exe, and can't build the setup.exe


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 20, 2009 11:49 am 
Offline

Joined: Fri Nov 21, 2008 9:56 am
Posts: 3079
Location: Lotharingie
@dhariwal
how many roupies are you ready to give (I must profit from all hours I have passed to debuging => in europe => 150 €/hour = 16500 PKR), for a solution to build under windows, using the giving false or incomplete scripts and the complete list of library and things to do, the client web only, or the all in one include web client ?
A+


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 21, 2009 10:00 am 
Offline

Joined: Wed Mar 11, 2009 1:38 pm
Posts: 250
Location: Pakistan
:)
i thought it is open source and its community, we share knowledge and help each other, or may be i got it wrong.

Right now i face a confidence problem with OpenERP. Initially i was excited to see its functionality and what it can do. I am working with MS Dynamics Great Plains for the past 7 years, the functionality in OpenERP is amazing, if it got what they say than perhaps (after adding some bits) its better solution than Great Plains. But there is serious lack of information or may things are not easily searchable.

I got the script link from ChristianD, its kind of him to help and point to right direction.
http://www.openobject.com/forum/topic10 ... ght=source

What about barter trade?


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 21, 2009 10:14 am 
Offline

Joined: Wed Mar 11, 2009 1:38 pm
Posts: 250
Location: Pakistan
Its like Americans gave us the F-16 planes but no look down shoot down capability with it :)

Have you got the solution to building openerp from source in windows?

Thanks
Dhariwal


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 21, 2009 2:11 pm 
Offline

Joined: Wed Feb 25, 2009 1:47 pm
Posts: 106
Location: London, UK
Guys,

the building up of the windows installable package could not be easier (once the solution has been found obviously):

1 - Install python 2.5 (don't yet bother adding any of the dependencies required to compile OpenERP)

2 - Create a folder on the root of your drive (for example OpenERP-Dev). It is important you do that as somewhere on the config, if there are spaces in the path, it won't work.

3 - In that folder, create a bazaar Checkout/Branch
Code:
In a command prompt:

c:\OpenERP-Dev> bzr clone lp:~openerp/openerp/win-installer-trunk


4 - Install all the dependencies in the folder C:\OpenERP-Dev\win-installer-trunk\dependencies. Follow the instruction in http://bazaar.launchpad.net/~openerp/openerp/win-installer-trunk/annotate/37/doc/INSTALL to place some of the files in the right locations.

5 - As the NSIS installer software does not set up the path to the makensis.exe program, you must add this yourself. This is necessary as the script in your newly downloaded folder need that and hasn't got the absolute path setup.

6 - Also, as for some reason there is a * on the install somewhere, make a copy of the openerp-web.cfg file in the following folder: C:\OpenERP-Dev\win-installer-trunk\alpha\client-web\config and rename it default.cfg

7 - go to the command prompt and run the make.bat script:

Code:
c:\OpenERP-Dev\win-installer-trunk> make.bat alpha 5.0.0-4


be patient as this takes a while...

once it is finished, you will have all the installable files in the c:\OpenERP-Dev\win-installer-trunk folder.

Hope this helps.

Cheers

David


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 21, 2009 2:32 pm 
Offline

Joined: Wed Feb 25, 2009 1:47 pm
Posts: 106
Location: London, UK
The only problem now is that the compiled installable works (at least, it installs, albeit you have to specify 3 times the language you want and three programs show up as being installed in the control panel / add/remove programs) but the server crashes and the web client service does not start...

Anybody has some ideas?


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 21, 2009 2:38 pm 
Offline

Joined: Wed Feb 25, 2009 1:47 pm
Posts: 106
Location: London, UK
and if you uninstall it, you have to go and clean up the registry yourself and remove all the refences to postgresql and openerp... Hmmm!

and remove the services manually... Hmmm!


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 21, 2009 3:49 pm 
Offline

Joined: Wed Mar 11, 2009 1:38 pm
Posts: 250
Location: Pakistan
Hi David,

Thanks for the detailed steps, i will give it a shot also.

Previously (when i strictly followed the install doc) the problem i was having is that i could create exe and install server and client (not web client), but during database creation it used to crash. Mind you, i created seperate server and client exe, not all in one (as i could not succeed doing that). I did install Postgresql from enterprisedb website.

By the way i did not get the lanugage option thrice or any funnies. It went fine, i got stuck at first database creation. Though in order to connect to server, i had to manually change the server config file to look at right places.

I have posted this issue couple of times but unfortunately nobody seems to know the answer.


Many Thanks
Dhariwal


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 21, 2009 3:54 pm 
Offline

Joined: Wed Mar 11, 2009 1:38 pm
Posts: 250
Location: Pakistan
sorry for patchy updates....

When i check the log it gave the error relating to timezone

here is the post:
http://www.openobject.com/forum/topic11218.html


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 21, 2009 4:00 pm 
Offline

Joined: Wed Feb 25, 2009 1:47 pm
Posts: 106
Location: London, UK
Hi Khalid,

at this point in time, I managed to get the allinone and the individual packages. I also had to modify the config files manuallyand I get the same problem as you, i.e. crash during creation of the db for the same reason... I'll keep an eye on the post you pointed to.

Thanks

David


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 21, 2009 5:19 pm 
Offline
Site Admin

Joined: Tue Feb 08, 2005 9:48 am
Posts: 2121
Location: Grand-Rosiere, Belgium
Please note that we are working to release a 5.0.4 auto-installer wihtin a few days. (beginning of next week)


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 21, 2009 5:26 pm 
Offline

Joined: Wed Feb 25, 2009 1:47 pm
Posts: 106
Location: London, UK
Hi Fabien,

Quote:
Please note that we are working to release a 5.0.4 auto-installer wihtin a few days. (beginning of next week)


Thank you for that. Have a nice weekend.

Cheers

David


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 21, 2009 5:38 pm 
Offline

Joined: Wed Mar 11, 2009 1:38 pm
Posts: 250
Location: Pakistan
Does that mean one can build exe without problems or is it simply a newer version of windows installer?

Thanks
Khalid


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 34 posts ]  Go to page 1, 2, 3  Next

All times are UTC + 2 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:

Protected by Anti-Spam ACP