Merge lp:~bstanciu/openobject-client/trunk-dev into lp:openobject-client

Proposed by Bogdan Stanciu
Status: Merged
Merged at revision: 1793
Proposed branch: lp:~bstanciu/openobject-client/trunk-dev
Merge into: lp:openobject-client
Diff against target: 12 lines (+1/-1)
1 file modified
MANIFEST.in (+1/-1)
To merge this branch: bzr merge lp:~bstanciu/openobject-client/trunk-dev
Reviewer Review Type Date Requested Status
tfr (Openerp) Needs Fixing
Review via email: mp+45613@code.launchpad.net
To post a comment you must log in.
1762. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

1763. By tfr (Openerp)

[MERGE] remove save as shortcut

1764. By tfr (Openerp)

[MERGE] user locale to server side defined locale

1765. By Olivier Dony (Odoo)

[FIX] shortcuts: support integer or m2o shortcut res_id values, for upcoming server API change

1766. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

1767. By tfr (Openerp)

[MERGE] clean shortcut code

1768. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

1769. By tfr (Openerp)

[MERGE] translation

1770. By tfr (Openerp)

[MERGE] translation

1771. By Naresh <nch@nch-laptop>

[FIX]:datetime related issue. datetime were getting truncated in large formats like de_DE

1772. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

1773. By Naresh(OpenERP)

[FIX]:strftime arg should be str not unicode

Revision history for this message
tfr (Openerp) (tfr) wrote :

this branch seems really interesting.

But I see 2 problem, when I install the trunk with this patch : I'm using "python setup.py install"
the script openerp-client don't go to the right folder:

cd: 2: can't cd to /usr/local/lib/python2.6/dist-packages/openerp-client
/usr/bin/python: can't open file './openerp-client.py': [Errno 2] No such file or directory

and even if I change the path manually to
#!/bin/sh
cd /usr/local/lib/python2.6/dist-packages/openerp_client-6.0.0_rc2-py2.6.egg/openerp-client
exec /usr/bin/python ./openerp-client.py $@

the client cannot find good path for pixmaps and other ressource

instead of
pixmaps = /usr/share/pixmaps/openerp-client
share = /usr/share/openerp-client

pixmaps = /usr/local/lib/python2.6/dist-packages/openerp_client-6.0.0_rc2-py2.6.egg/share/pixmaps/openerp-client
share = /usr/local/lib/python2.6/dist-packages/openerp_client-6.0.0_rc2-py2.6.egg/share/openerp-client

Maybe I'm using setup.py in the wrong way

review: Needs Fixing
1774. By tfr (Openerp)

[FIX] win_error.glade : Typo

1775. By tfr (Openerp)

[MERGE] lp:~openerp-dev/openobject-client/trunk-dev-client

1776. By Olivier Dony (Odoo)

[FIX] list_record: XML-RPC cannot serialize None, pass False instead

1777. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

Revision history for this message
Bogdan Stanciu (bstanciu) wrote :

On 13. 01. 11 16:23, tfr (Openerp) wrote:
> Review: Needs Fixing
> this branch seems really interesting.
>
> But I see 2 problem, when I install the trunk with this patch : I'm using "python setup.py install"
> the script openerp-client don't go to the right folder:
>
> cd: 2: can't cd to /usr/local/lib/python2.6/dist-packages/openerp-client
> /usr/bin/python: can't open file './openerp-client.py': [Errno 2] No such file or directory
>
> and even if I change the path manually to
> #!/bin/sh
> cd /usr/local/lib/python2.6/dist-packages/openerp_client-6.0.0_rc2-py2.6.egg/openerp-client
> exec /usr/bin/python ./openerp-client.py $@
>
> the client cannot find good path for pixmaps and other ressource
>
>
> instead of
> pixmaps = /usr/share/pixmaps/openerp-client
> share = /usr/share/openerp-client
>
> pixmaps = /usr/local/lib/python2.6/dist-packages/openerp_client-6.0.0_rc2-py2.6.egg/share/pixmaps/openerp-client
> share = /usr/local/lib/python2.6/dist-packages/openerp_client-6.0.0_rc2-py2.6.egg/share/openerp-client
>
> Maybe I'm using setup.py in the wrong way
>
hi there!

firstly, thank you for the appreciation, but the credit goes to the main
author, as mentioned in the merge message.

secondly, the bugfix solves SOME of the problems. Reading your mail I
just realised that I never did a 100% clean setup. there are actually
two more issues with the setup, as you pointed out.

CLIENT
1. the packages install now in /openerp_client-6.0.0_rc2-pyx.y.egg - not
a big issue, but i need to change the file again :-) - merge proposed
2. the file ~/.openerprc gets the wrong paths for pixmaps and share -
should be corrected as you mentioned - bug #703537 - merge proposed

thank you!
b

Revision history for this message
Bogdan Stanciu (bstanciu) wrote :

On 13. 01. 11 16:23, tfr (Openerp) wrote:
> Review: Needs Fixing
> this branch seems really interesting.
>
> But I see 2 problem, when I install the trunk with this patch : I'm using "python setup.py install"
> the script openerp-client don't go to the right folder:
>
> cd: 2: can't cd to /usr/local/lib/python2.6/dist-packages/openerp-client
> /usr/bin/python: can't open file './openerp-client.py': [Errno 2] No such file or directory
>
> and even if I change the path manually to
> #!/bin/sh
> cd /usr/local/lib/python2.6/dist-packages/openerp_client-6.0.0_rc2-py2.6.egg/openerp-client
> exec /usr/bin/python ./openerp-client.py $@
>
> the client cannot find good path for pixmaps and other ressource
>
>
> instead of
> pixmaps = /usr/share/pixmaps/openerp-client
> share = /usr/share/openerp-client
>
> pixmaps = /usr/local/lib/python2.6/dist-packages/openerp_client-6.0.0_rc2-py2.6.egg/share/pixmaps/openerp-client
> share = /usr/local/lib/python2.6/dist-packages/openerp_client-6.0.0_rc2-py2.6.egg/share/openerp-client
>
> Maybe I'm using setup.py in the wrong way
>
please have a look at the updated merge proposal

thank you!
b

1778. By Naresh(OpenERP)

[FIX]:date format unicode problem

1779. By tfr (Openerp)

[FIX] Merge trunk-dev-client

1780. By tfr (Openerp)

[MERGE] lp:~tfr/openobject-client/tfr-packaging packaging fix

1781. By tfr (Openerp)

[REMOVE] Makefile

1782. By tfr (Openerp)

[FIX] typo

1783. By tfr (Openerp)

[MERGE] xrg debian packaging file

1784. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

1785. By Nicolas Vanhoren (OpenERP)

[IMP] Changed link for publisher warranty.

1786. By tfr (Openerp)

[MERGE] author comment fix

1787. By tfr (Openerp)

[MERGE] trunk-dev-client

1788. By tfr (Openerp)

[RELEASE]

1789. By tfr (Openerp)

[FIX] client package

1790. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

1791. By Bogdan Stanciu

[FIX] correction to rev 1789

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'MANIFEST.in'
2--- MANIFEST.in 2011-01-19 05:25:07 +0000
3+++ MANIFEST.in 2011-01-20 11:03:15 +0000
4@@ -2,7 +2,7 @@
5 include setup.cfg
6 include Makefile.translation
7 include configure
8-include configue.makefile
9+include configure.makefile
10 include rpminstall_sh.txt
11 include mydistutils.py
12 include msgfmt.py