v6 bad name openobject-web

Bug #628835 reported by GEM
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Web Client
Fix Released
Undecided
Amit Mendapara

Bug Description

Hi,
Amit has changed for linux some things to install with setup.py on linux.
He has changed too openobject-web by openerp-web and config\openobject-web.cfg by doc\openerp-web.cfg.

list of name openobject-web which stay in this different files : (one of the reason why client-web for windows doesn't work)

D:\openerp\6.0\client-web\addons\openerp\controllers\templates\login.mako (1 hits)
 Line 67: % if cp.config('dbbutton.visible', 'openobject-web'):
  D:\openerp\6.0\client-web\addons\openerp\controllers\utils.py (1 hits)
 Line 54: dbfilter = cherrypy.request.app.config['openobject-web'].get('dblist.filter')
  D:\openerp\6.0\client-web\doc\ChangeLog (2 hits)
 Line 49: * start-openobject-web command is renamed to openobject-web
 Line 49: * start-openobject-web command is renamed to openobject-web
  D:\openerp\6.0\client-web\doc\openerp-web.cfg (3 hits)
 Line 30: #log.access_file = "/var/log/openobject-web/access.log"
 Line 31: #log.error_file = "/var/log/openobject-web/error.log"
 Line 42: [openobject-web]
  D:\openerp\6.0\client-web\doc\README.txt (2 hits)
 Line 47: $ cd /path/to/openobject-web/lib
 Line 240: openobject.configure(as_dict('openobject-web.cfg'))
  D:\openerp\6.0\client-web\openerp-web.py (1 hits)
 Line 3: """Start script for the openobject-web TurboGears project.
  D:\openerp\6.0\client-web\openobject\release.py (1 hits)
 Line 30: # Release information about openobject-web
  D:\openerp\6.0\client-web\win32\OpenERPWebService.py (5 hits)
 Line 28: #EXECUTABLE = ["openobject-web.exe", "--config", "conf\openobject-web.cfg"]
 Line 28: #EXECUTABLE = ["openobject-web.exe", "--config", "conf\openobject-web.cfg"]
 Line 29: EXECUTABLE = ["python.exe", "python25\Scripts\openobject-web-script.py", "--config", "conf\openobject-web.cfg"]
 Line 29: EXECUTABLE = ["python.exe", "python25\Scripts\openobject-web-script.py", "--config", "conf\openobject-web.cfg"]
 Line 33: _svc_name_ = "openobject-web"
  D:\openerp\6.0\client-web\win32\setup.nsi (7 hits)
 Line 37: OutFile "openobject-web-setup-${VERSION}.exe"
 Line 147: nsExec::Exec "net stop openobject-web"
 Line 161: File "/oname=openobject-web.cfg" "..\config\openobject-web.cfg"
 Line 161: File "/oname=openobject-web.cfg" "..\config\openobject-web.cfg"
 Line 180: CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Edit Web Config.lnk" "notepad.exe" "$INSTDIR\conf\openobject-web.cfg"
 Line 200: nsExec::Exec "net stop openobject-web"
 Line 242: nsExec::Exec "net start openobject-web"
  D:\openerp\6.0\client-web\win32\setup.py (2 hits)
 Line 161: self.run_ez("-m", "openobject-web")
 Line 164: if fnmatch.fnmatch(f, "*openobject-web*"):
  D:\openerp\6.0\client-web\win32\start.bat (2 hits)
 Line 3: @net stop openobject-web
 Line 4: @net start openobject-web
  D:\openerp\6.0\client-web\win32\stop.bat (1 hits)
 Line 3: @net stop openobject-web

list of files containing config :
D:\openerp\6.0\client-web\win32\setup.nsi (1 hits)
 Line 161: File "/oname=openobject-web.cfg" "..\config\openobject-web.cfg"

bye

Changed in openobject-client-web:
assignee: nobody → Amit Mendapara (cristatus)
Revision history for this message
GEM (nimp3) wrote :

Hi Amit,
same thing with term :
openobject_web I should had change to openerp_web :

D:\openerp\6.0\client-web\doc\README.txt (2 hits)
 Line 117: $ sudo cp /path/to/openerp_web-5.0.9-py2.5.egg/scripts/openerp-web /etc/init.d/
 Line 118: $ sudo cp /path/to/openerp_web-5.0.9-py2.5.egg/config/openerp-web.cfg /etc/
  D:\openerp\6.0\client-web\openerp_web.egg-info\SOURCES.txt (7 hits)
 Line 1295: openerp_web.egg-info/PKG-INFO
 Line 1296: openerp_web.egg-info/SOURCES.txt
 Line 1297: openerp_web.egg-info/dependency_links.txt
 Line 1298: openerp_web.egg-info/entry_points.txt
 Line 1299: openerp_web.egg-info/not-zip-safe
 Line 1300: openerp_web.egg-info/requires.txt
 Line 1301: openerp_web.egg-info/top_level.txt
  D:\openerp\6.0\client-web\win32\setup.py (5 hits)
 Line 26: OPENERP_WEB_DIR = os.path.dirname(SETUP_DIR)
 Line 63: self._check_openerp_web()
 Line 167: def _check_openerp_web(self):
 Line 178: if fnmatch.fnmatch(f, "openerp_web*"):
 Line 181: self.run_ez("-N", OPENERP_WEB_DIR)

Revision history for this message
Amit Mendapara (cristatus) wrote :

Hello GEM,

I have carefully reviewed the sources and changed them accordingly. However, the changes are not tested on win32 system yet.

Thanks

Changed in openobject-client-web:
status: New → In Progress
Revision history for this message
GEM (nimp3) wrote :

Hi Amit,
I will download a fresh last openerp web sources and will try to build it without changes ( even if I think I will must use setup.py of branch 5.0), I will post you the result tomorrow.
Bye

Revision history for this message
GEM (nimp3) wrote :

Hi Amit,
I download a new folder client-web with last sources.
I can build it but when I install it the service in control panel>administration tools>services, impossible to launch the openerp service.
message :
The service openerp web on local computer started up and next stopped itself. Certain services stop themselves automatically if they are not used by of other services or program.
another point, during the build, I have a message "unknow option install requires2", if I delete "2", I have no message,
see line 24 in client-web\setup.py.

Revision history for this message
Amit Mendapara (cristatus) wrote :

That was a typo. Thanks for reporting.

Revision history for this message
Amit Mendapara (cristatus) wrote :

Fixed in rev 3317

Changed in openobject-client-web:
milestone: none → 6.0
status: In Progress → Fix Committed
Revision history for this message
GEM (nimp3) wrote :

For info,
even with the correction of typo, service doesn't run.
it's a problem with scripts=['scripts/openerp-web'] line 52 at the end of file client-web\setup.py (the command start for the service works just for linux), on windows some files are not generated like :
openerp-web.exe, openerp-web.exe.manifest, openerp-web.script.py
bye

Revision history for this message
GEM (nimp3) wrote :

Ok, I didn't see the correction of win32 installer on launchpad, it was a very simple correction, I didn't think to do or search that.
I build a fresh downloaded sources, and it works well without any change.
Thanks a lot from windows user.
Bye

Changed in openobject-client-web:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.