Open ERP Forum
   IndexIndex   SearchSearch     RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   RSSRSS   Mailing ListMailing List   Log inLog in 

Scripts and procedures in Partner Section?
Goto page 1, 2, 3  Next  
Post new topic   Reply to topic    Open Object Forum Index -> General discussion
View previous topic :: View next topic  
Author Message
dhariwal



Joined: 11 Mar 2009
Posts: 196
Location: Pakistan

PostPosted: Mon May 18, 2009 7:35 pm    Post subject: Scripts and procedures in Partner Section? Reply with quote

Hi,
I am battling to create a working exe from source. The steps i followed were in:
http://bazaar.launchpad.net/~openerp/openerp/win-installer-trunk/annotate/head%3A/doc/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
Back to top
View user's profile Send private message
GEM



Joined: 21 Nov 2008
Posts: 1129
Location: Lotharingie

PostPosted: Tue May 19, 2009 8:47 am    Post subject: Reply with quote

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+
Back to top
View user's profile Send private message
GEM



Joined: 21 Nov 2008
Posts: 1129
Location: Lotharingie

PostPosted: Tue May 19, 2009 10:26 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
GEM



Joined: 21 Nov 2008
Posts: 1129
Location: Lotharingie

PostPosted: Wed May 20, 2009 11:49 am    Post subject: Reply with quote

@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+
Back to top
View user's profile Send private message
dhariwal



Joined: 11 Mar 2009
Posts: 196
Location: Pakistan

PostPosted: Thu May 21, 2009 10:00 am    Post subject: Reply with quote

Smile
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/topic10994.html?highlight=source

What about barter trade?
Back to top
View user's profile Send private message
dhariwal



Joined: 11 Mar 2009
Posts: 196
Location: Pakistan

PostPosted: Thu May 21, 2009 10:14 am    Post subject: Reply with quote

Its like Americans gave us the F-16 planes but no look down shoot down capability with it Smile

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

Thanks
Dhariwal
Back to top
View user's profile Send private message
David L



Joined: 25 Feb 2009
Posts: 77
Location: London, UK

PostPosted: Thu May 21, 2009 2:11 pm    Post subject: Reply with quote

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 cockup 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
Back to top
View user's profile Send private message
David L



Joined: 25 Feb 2009
Posts: 77
Location: London, UK

PostPosted: Thu May 21, 2009 2:32 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
David L



Joined: 25 Feb 2009
Posts: 77
Location: London, UK

PostPosted: Thu May 21, 2009 2:38 pm    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message
dhariwal



Joined: 11 Mar 2009
Posts: 196
Location: Pakistan

PostPosted: Thu May 21, 2009 3:49 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
dhariwal



Joined: 11 Mar 2009
Posts: 196
Location: Pakistan

PostPosted: Thu May 21, 2009 3:54 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
David L



Joined: 25 Feb 2009
Posts: 77
Location: London, UK

PostPosted: Thu May 21, 2009 4:00 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
fabien
Site Admin


Joined: 08 Feb 2005
Posts: 2024
Location: Grand-Rosiere, Belgium

PostPosted: Thu May 21, 2009 5:19 pm    Post subject: Reply with quote

Please note that we are working to release a 5.0.4 auto-installer wihtin a few days. (beginning of next week)
Back to top
View user's profile Send private message Send e-mail Visit poster's website
David L



Joined: 25 Feb 2009
Posts: 77
Location: London, UK

PostPosted: Thu May 21, 2009 5:26 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
dhariwal



Joined: 11 Mar 2009
Posts: 196
Location: Pakistan

PostPosted: Thu May 21, 2009 5:38 pm    Post subject: Reply with quote

Does that mean one can build exe without problems or is it simply a newer version of windows installer?

Thanks
Khalid
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Open Object Forum Index -> General discussion All times are GMT + 2 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
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
You cannot vote in polls in this forum