It is currently Sun Feb 12, 2012 8:33 pm

All times are UTC + 2 hours




Post new topic Reply to topic  [ 37 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject:
PostPosted: Thu Sep 17, 2009 7:09 am 
Offline

Joined: Thu Sep 10, 2009 3:02 pm
Posts: 18
Hello Pavel910,
Its very strange :(. have u installed bi web client branch from bzr.
can u give me more detail about your work.that how you run the web client.?

Thanks,
:)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 17, 2009 9:20 am 
Offline

Joined: Mon Jul 27, 2009 12:45 pm
Posts: 148
Hey vda!

I used
Code:
bzr branch lp:~openerp/openobject-bi/client-new-trunk
to get the client, than go to that folder. When i run python setup.py install it downloads whole lot of extra libraries, turbogears and what not.

I also installed all 3 olap modules in /addons folder and successfuly isntalled them in openERP.

After that I go to client-new-trunk folder and type: python start-openerp-web.py and get surprisingly new message:


Code:
Traceback (most recent call last):
  File "start-openerp-web.py", line 11, in <module>
    from openerp.commands import start, ConfigurationError
  File "/usr/local/src/client-new-trunk/openerp/commands.py", line 18, in <module>
    pkg_resources.require("TurboGears >= 1.0.3, < 1.1b1")
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 626, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 524, in resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: Extremes>=1.1


For some reason it mentions TurboGears although I know I saw the client-new-trunk setup installing it himself and I am looking at TurboGears folders in my "python2.5/site-packages "folder right now.

Than I reinstalled the whole client-new-trunk and now it only says
Code:
Error: TurboGears >= 1.0.3, < 1.1b1 required.


Trying to reinstall it again gives me
Code:
No local packages or download links found for PyProtocols>=1.0a0dev-r2302
error: Could not find suitable distribution for Requirement.parse('PyProtocols>=1.0a0dev-r2302')


Thanks for any help.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 17, 2009 12:00 pm 
Offline

Joined: Thu Sep 10, 2009 3:02 pm
Posts: 18
Hello Pavel910,
:).
for turbogear take the tgsetup.py from this:
http://svn.turbogears.org/branches/1.0/tools/tgsetup.py
and save it as tgsetup.py anywhere then go to there where u save this file.
then :
sudo python tgsetup.py install

then start bi web client.
it should work.

Thanks,
:D


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 17, 2009 12:16 pm 
Offline

Joined: Sat Sep 12, 2009 5:39 am
Posts: 27
Hi vda

Quote:
Hello diggerd,
install:
lxml-2.1.2.win32-py2.5
PyXML-0.8.4.win32-py2.5


I have installed the modules listed, now I get the error

"no module named sqlalchemy"

I do have sqlachemy installed in the addons under openerp allinone\server\addons\sqlachemy

Will get there eventually :)

Thanks
Quote:
C:\Python25\lib\site-packages\ruledispatch-0.5a1.dev_r2506-py2.5-win32.egg\dispatch\__init__.py:98: Warning: 'as' will become a reserved keyword in Python 2.6
C:\Python25\lib\site-packages\ruledispatch-0.5a1.dev_r2506-py2.5-win32.egg\dispatch\predicates.py:239: Warning: 'as' will become a reserved keyword in Python 2.6
C:\Python25\lib\site-packages\ruledispatch-0.5a1.dev_r2506-py2.5-win32.egg\dispatch\predicates.py:263: Warning: 'as' will become a reserved keyword in Python 2.6
C:\Python25\lib\site-packages\ruledispatch-0.5a1.dev_r2506-py2.5-win32.egg\dispatch\predicates.py:281: Warning: 'as' will become a reserved keyword in Python 2.6

Traceback (most recent call last):
File "C:\Program Files\Bazaar\client-new-trunk\start-openerp-web.py", line 15, in <module>
start()
File "C:\Program Files\Bazaar\client-new-trunk\openerp\commands.py", line 64, in start
from openerp.controllers import Root
File "C:\Program Files\Bazaar\client-new-trunk\openerp\controllers.py", line 50, in <module>
from openerp import subcontrollers
File "C:\Program Files\Bazaar\client-new-trunk\openerp\subcontrollers\__init__.py", line 1, in <module>
import actions
File "C:\Program Files\Bazaar\client-new-trunk\openerp\subcontrollers\actions.py", line 47, in <module>
from form import Form
File "C:\Program Files\Bazaar\client-new-trunk\openerp\subcontrollers\form.py", line 49, in <module>
from openerp import widgets as tw
File "C:\Program Files\Bazaar\client-new-trunk\openerp\widgets\__init__.py", line 1, in <module>
import form
File "C:\Program Files\Bazaar\client-new-trunk\openerp\widgets\form.py", line 921, in <module>
from action import Action
File "C:\Program Files\Bazaar\client-new-trunk\openerp\widgets\action.py", line 39, in <module>
import screen
File "C:\Program Files\Bazaar\client-new-trunk\openerp\widgets\screen.py", line 44, in <module>
import tinybi
File "C:\Program Files\Bazaar\client-new-trunk\openerp\widgets\tinybi\__init__.py", line 1, in <module>
import result_format
File "C:\Program Files\Bazaar\client-new-trunk\openerp\widgets\tinybi\result_format.py", line 37, in <module>
import sqlalchemy
ImportError: No module named sqlalchemy
>>>


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 17, 2009 12:21 pm 
Offline

Joined: Thu Sep 10, 2009 3:02 pm
Posts: 18
Hello diggerd,
paste sqlalchemy in openerp allinone\server\library.zip
not in addons.

Thanks.
:)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 17, 2009 12:35 pm 
Offline

Joined: Sat Sep 12, 2009 5:39 am
Posts: 27
Hi vda,

Quote:
paste sqlalchemy in openerp allinone\server\library.zip
not in addons.


I already had the folder in the library and still got the error. Does it matter if it is in both the library.zip and addons?

Cheers


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 17, 2009 12:40 pm 
Offline

Joined: Thu Sep 10, 2009 3:02 pm
Posts: 18
Hello diggerd,
no its not a problem if its in both.
then restart the openerp server.
and restart the bi web client.
it works.
Thanks
:)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 17, 2009 12:57 pm 
Offline

Joined: Sat Sep 12, 2009 5:39 am
Posts: 27
Thanks vda, but still no luck. I did do a reboot and relaunch of the openerp server. Tried to run the cube browser / cube designer and got the browser error

"NotFound: (404, "The path '/browser' was not found.")"

Went back to try and run start-openerp-web.py and got the same importerror "no module named sqalchemy"

Thanks for your patience. You would think that after 26 years of computers I would be better at it than this :roll:


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 17, 2009 1:23 pm 
Offline

Joined: Thu Sep 10, 2009 3:02 pm
Posts: 18
Hello diggerd,
have u copied sqlalchemy in python site-packages?
copy sqlalchemy into Python\Lib\site-packages.
restart openerp server.
restart bi web client.

Thanks
:)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 17, 2009 2:08 pm 
Offline

Joined: Sat Sep 12, 2009 5:39 am
Posts: 27
Hi vda

You must be getting a sick of this. Next error below.

"File "C:\Program Files\Bazaar\client-new-trunk\openerp\widgets\tinybi\result_format.py", line 51, in <module>
import pyparsing
ImportError: No module named pyparsing"

I have checked and I seem to have the pyparsing file in previous folders you mentioned, but don't know exactly what should be where.

Have I missed some part of the install process that would cause all these errors?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 17, 2009 2:17 pm 
Offline

Joined: Thu Sep 10, 2009 3:02 pm
Posts: 18
Hello diggerd,
install pyparsing-1.5.2 from :
http://sourceforge.net/projects/pyparsi ... e/download.

Thanks.
:)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 17, 2009 4:55 pm 
Offline

Joined: Mon Jul 27, 2009 12:45 pm
Posts: 148
Keep getting this:

Code:
Traceback (most recent call last):
  File "/usr/bin/start-openerp-web", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 2566, in <module>
    parse_requirements(__requires__), Environment()
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 524, in resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: PyProtocols>=1.0a0dev-r2302


Tried installing PyProtocols but get loads of erros.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 17, 2009 10:38 pm 
Offline

Joined: Sat Sep 12, 2009 5:39 am
Posts: 27
Hi vda

Installed the pyparsing-1.5.2 but now when I run the start-open-web.py the python shell hangs at the follwoing point (see below). There is also now a compiled pyparsing file in the python site-packages folder and it seemed to hang during the creation of that file

Thanks

Quote:
C:\Python25\lib\site-packages\ruledispatch-0.5a1.dev_r2506-py2.5-win32.egg\dispatch\__init__.py:98: Warning: 'as' will become a reserved keyword in Python 2.6
C:\Python25\lib\site-packages\ruledispatch-0.5a1.dev_r2506-py2.5-win32.egg\dispatch\predicates.py:239: Warning: 'as' will become a reserved keyword in Python 2.6
C:\Python25\lib\site-packages\ruledispatch-0.5a1.dev_r2506-py2.5-win32.egg\dispatch\predicates.py:263: Warning: 'as' will become a reserved keyword in Python 2.6
C:\Python25\lib\site-packages\ruledispatch-0.5a1.dev_r2506-py2.5-win32.egg\dispatch\predicates.py:281: Warning: 'as' will become a reserved keyword in Python 2.6


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 18, 2009 6:57 am 
Offline

Joined: Thu Sep 10, 2009 3:02 pm
Posts: 18
Hello Pavel910, diggerd,
all these packages are required to run.
(1) libxml2-python-2.7.1.win32-py2.5
(2) lxml-2.1.2.win32-py2.5
(3) matplotlib-0.98.3.win32-py2.5
(4) nsis-2.40-setup
(5) numpy-1.2.1-win32-superpack-python2.5
(6) PIL-1.1.6.win32-py2.5
(7) psycopg2-2.0.8.win32-py2.5-pg8.3.4-release
(8) py2exe-0.6.8.win32-py2.5
(9) pycairo-1.4.12-1.win32-py2.5
(10) PyChart-1.39.win32
(11) pydot-1.0.2.win32
(12) pygobject-2.14.1-1.win32-py2.5
(13) pygtk-2.12.1-2.win32-py2.5
(14) pyparsing-1.5.2.win32
(15) pytz-2008i.win32
(16) pywin32-212.win32-py2.5
(17) PyXML-0.8.4.win32-py2.5
(18) ReportLab-2.2.win32-py2.5
(19) setuptools-0.6c9.win32-py2.5
(20) vobject-0.7.1.win32

Thanks,
:D


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 18, 2009 10:57 am 
Offline

Joined: Sat Sep 12, 2009 5:39 am
Posts: 27
VDA

Cool, thanks for that. I assume they all have to be installed individually or is there a developers package that would contain most of them when installed?

Cheers


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 37 posts ]  Go to page Previous  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