| View previous topic :: View next topic |
| Author |
Message |
GEM
Joined: 21 Nov 2008 Posts: 1153 Location: Lotharingie
|
Posted: Fri Jun 19, 2009 10:25 am Post subject: |
|
|
bye
Last edited by GEM on Tue Dec 22, 2009 4:45 pm; edited 5 times in total |
|
| Back to top |
|
 |
GEM
Joined: 21 Nov 2008 Posts: 1153 Location: Lotharingie
|
Posted: Mon Jun 22, 2009 4:35 pm Post subject: |
|
|
bye
Last edited by GEM on Thu Jun 25, 2009 3:20 pm; edited 1 time in total |
|
| Back to top |
|
 |
GEM
Joined: 21 Nov 2008 Posts: 1153 Location: Lotharingie
|
Posted: Wed Jun 24, 2009 10:59 am Post subject: |
|
|
bye
Last edited by GEM on Thu Jan 28, 2010 2:57 pm; edited 2 times in total |
|
| Back to top |
|
 |
GEM
Joined: 21 Nov 2008 Posts: 1153 Location: Lotharingie
|
Posted: Wed Jun 24, 2009 7:15 pm Post subject: |
|
|
it works without client gtk error and without use libraries openerp.
A+ |
|
| Back to top |
|
 |
jitu.hds
Joined: 29 Jul 2008 Posts: 184 Location: delhi
|
Posted: Thu Jun 25, 2009 6:01 pm Post subject: |
|
|
Hi GEM,
GEM don't do that,plzzz.....its not OpenERP who needs you....we need you..it will affect all community members they are not from particular company but they are trying to learn & use it properly...& we respect your knowledge & amazing work.
so please ...don't be angry....
regards _________________ jitu |
|
| Back to top |
|
 |
hda
Joined: 03 Dec 2007 Posts: 1311 Location: Belgium
|
|
| Back to top |
|
 |
Stephane Wirtel OpenERP Developer
Joined: 23 Mar 2008 Posts: 125 Location: Grand-Rosiere
|
Posted: Tue Jun 30, 2009 1:57 pm Post subject: |
|
|
Thank you hda,
GEM, Can you tell me what's the real problem with the packaging of the Windows Installer because the source of the packaging exists since october 2008.
Thanks
Stephane _________________ OpenERP Developer |
|
| Back to top |
|
 |
dhariwal
Joined: 11 Mar 2009 Posts: 196 Location: Pakistan
|
Posted: Tue Jun 30, 2009 4:23 pm Post subject: |
|
|
Hi hda & Stephane,
The link you mentioned is the source for the efforts to create "working" windows installer. As far as i know whoever (inlcuding myself) tried the packing instruction mentioned in the link got multiple problems. Than GEM kicked in to help and troubleshoot the whole thing. He managed to sort out almost all of the problems, however, i believe it is such a tedious task that it is hard to troubleshoot the problems and also keep good track of them in the meantime. The nag basically we had is that Open ERP dev team could have lent a hand to resolve some of the problems or atleast the instructions should be more precise that it could have saved other's time & mostly the pain one have to undergo (kind of re-inventing the wheel).
I guess nobody updated the win-installer-trunk after getting exhausted by the efforts to make it work.
I believe GEM will repost the information.....
Many Thanks
Dhariwal |
|
| Back to top |
|
 |
GEM
Joined: 21 Nov 2008 Posts: 1153 Location: Lotharingie
|
Posted: Tue Jun 30, 2009 4:37 pm Post subject: |
|
|
Thanks hda and Stephane for your interest,
I followed steps of the branch win-installer but script and a few libraries don't work :
- the script I modified to build package and which work for me is (client web part):
:packaging
:: package client for allinone
echo debut client build
cd client
python setup.py --quiet py2exe
makensis /DVERSION=%VERSION% /DALLINONE=1 /V1 setup.nsi
echo client build
:: package server for allinone
echo debut server build
cd ..
cd server\win32
python setup.py --quiet py2exe
cd ..
python setup.py --quiet py2exe
makensis /DVERSION=%VERSION% /DALLINONE=1 /V1 setup.nsi
echo server build
:: package client-web for allinone
echo debut client web build
cd ..
cd client-web
python win32\setup.py --quiet bdist_wininst
move win32\openerp-web-setup-* win32\openerp-web-setup-%VERSION%.exe
makensis /DVERSION=%VERSION% /DALLINONE=1 /V1 win32\setup.nsi
move win32\openerp-web-setup-%VERSION%.exe .
echo client-web compile
:: package all-in-one
cd ..
makensis /DVERSION=%VERSION% /V1 setup.nsi
echo all in one compile
in fact the line which must move the client web build don't work, because the build don't catch the %version%, we obtain all the time version=5.0.1-0
And I use Nsis with setup.nsi (the line is not in the branch script.
Secondly I have a lot of problem with libraries which cause error in gtk client :
matplotlib => error and display not graphic for modules board like board_manufacturing :
problem in figure.py backend_gdk and mlab
the first is solved with last version matplotlib 0.98.5.3, there is correction for the figure.py code.
But if I install this version and uninstall the previous, i have another error, because the file _backend_gdk.pyd is not present in the last version : conclusion we must let installed the two version
in mlab error with kwdoc : TypeError: unsupported operand type(s) for %: 'NoneType' and 'tuple'
error because we can't do operation with different type
solution :
in site-packages\matplotlib, in mlab.py :
in the head put under "import matplotlib.cbook as cbook" :
import matplotlib.artist as martist
search (CTRL+F) keyword kwdoc:
and for lines :
psd.__doc__.... put psd.__doc__ = cbook.dedent(psd.__doc__) % martist.kwdocd
csd.__doc__.... put csd.__doc__ = cbook.dedent(psd.__doc__) % martist.kwdocd
specgram.__doc__.... put specgram.__doc__ = cbook.dedent(specgram.__doc__) %
martist.kwdocd
cohere.__doc__.... put cohere.__doc__ = cbook.dedent(cohere.__doc__) %
martist.kwdocd
and last big problem I solved but I don't know how I done it, I can't retrieve solution : pytz
all type of error
with your package 2008i, when we want to create database =>crash impossible to create it
I have tried pytz2006p work but not totally,
and with last version, problem : no module pytz.zoneinfo (perhaps now it is tzinfo). I don't understand why files in zoneinfo have no extansion .py like in pytz-2006p, and in the client in preferences for timezone there is no list and I can't choose a timezone.
If I put in pytz\zoneinfo the file .py in pytz2006p\zoneinfo\*, I have a listing, but after I have error :
can't read the file in archive library.zip (IO error 2), or unknow timezone 'Paris, Madrid' (timezone windows i suppose), ...
Try in pytz file __init__.py to put the absolut path to the place of "os.path.dirname(__file__), 'zoneinfo'" line 57 in def open_resource(name) ...
I spend a lot of time with this, hope this will help you to solve the problem for pytz, because some people stand to have possibility to build themself openerp.
For info i don't know if you have solved the problem import/export for database, but I had a message which said :impossible to read data, and the message was with special characters like @% ...
thanks again for your interest to this problem
A+ |
|
| Back to top |
|
 |
GEM
Joined: 21 Nov 2008 Posts: 1153 Location: Lotharingie
|
Posted: Wed Jul 01, 2009 9:37 am Post subject: |
|
|
complete script is now to the first page.
I would like know if some people are interesting by build windows setup, reply to this post to see if we are numerous, this will be your contribution.
A+ |
|
| Back to top |
|
 |
jitu.hds
Joined: 29 Jul 2008 Posts: 184 Location: delhi
|
Posted: Wed Jul 01, 2009 9:53 am Post subject: |
|
|
Hi all,
I think there were few installation steps problem and some exe need to be updated, cause now I am able to create client exe[atleat there is no graph problem] which is on following link..
https://code.launchpad.net/~openerp/openerp/win-installer-trunk/
1-python2.5 not python2.5.2[given on above branch]
2-matplotlib[both version ....5 & ..3]
3-py2exe-0.6.9.win32-py2.5.exe
thats all
Now I am going create server which has previously "new database creation problem"
regards _________________ jitu |
|
| Back to top |
|
 |
jitu.hds
Joined: 29 Jul 2008 Posts: 184 Location: delhi
|
Posted: Wed Jul 01, 2009 11:09 am Post subject: |
|
|
and yes....GEM is right perhaps there is problem with
package 2008i, or something else when we want to create database
=>crash impossible to create it!
I created server[off course stable 5.0] & tried to create new database after connecting my client which has I made previously...
regards _________________ jitu |
|
| Back to top |
|
 |
GEM
Joined: 21 Nov 2008 Posts: 1153 Location: Lotharingie
|
Posted: Wed Jul 01, 2009 11:24 am Post subject: |
|
|
hi Jitendra,
the problem comes from pytz, but can you give the server and error log for package 2008i?
For pytz I have no solution without error in gtk (when you choose timezone in preferences)
thanx
A+ |
|
| Back to top |
|
 |
Stephane Wirtel OpenERP Developer
Joined: 23 Mar 2008 Posts: 125 Location: Grand-Rosiere
|
Posted: Wed Jul 01, 2009 11:38 am Post subject: |
|
|
try pytz-2006 from the repository (see in revisions) _________________ OpenERP Developer |
|
| Back to top |
|
 |
GEM
Joined: 21 Nov 2008 Posts: 1153 Location: Lotharingie
|
Posted: Wed Jul 01, 2009 11:55 am Post subject: |
|
|
pytz\zoneinfo\*filezoneinfo.py are insert in library.zip with 2006p
but error for me :
Traceback (most recent call last):
File "widget\view\tree_gtk\parser.pyo", line 196, in setter
File "widget\view\tree_gtk\parser.pyo", line 310, in get_textual_value
File "pytz\__init__.pyo", line 71, in timezone
KeyError: 'Paris, Madrid'
All the time this error even if I change timezone in preferences for Europe\Dublin
for info download all pytz sources or egg :
http://pypi.python.org/simple/pytz/
A+ |
|
| Back to top |
|
 |
|