server 6.0 rev2407 AttributeError: 'bool' object has no attribute 'replace'

Bug #598024 reported by GEM
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

windows vista
all version trunk (nothing work)
when I want to create a database I have this error

[2010-06-24 11:26:12,007] INFO:web-services:CREATE DATABASE: admin
[2010-06-24 11:26:12,115] WARNING:init:module base: module not found
[2010-06-24 11:26:12,115] ERROR:web-services:[01]: CREATE DATABASE
[2010-06-24 11:26:12,115] ERROR:web-services:[02]: Traceback (most recent call last):
[2010-06-24 11:26:12,115] ERROR:web-services:[03]: File "service\web_services.pyo", line 97, in __call__
[2010-06-24 11:26:12,115] ERROR:web-services:[04]: File "tools\misc.pyo", line 52, in init_db
[2010-06-24 11:26:12,115] ERROR:web-services:[05]: File "tools\misc.pyo", line 182, in file_open
[2010-06-24 11:26:12,115] ERROR:web-services:[06]: AttributeError: 'bool' object has no attribute 'replace'

Revision history for this message
Ronald Portier (Therp) (rportier1962) wrote :

Had the same problem: base module not found

The base module is NOT in de normal addons directory but in the openerp-server/bin/addons directory.

I got the error because of a wrong value for root_path in the configuration file.

Revision history for this message
GEM (nimp3) wrote :

problems for win 32 :
when the server is installed :

+addons are copied in server\bin\addons, and not in server\addons

+folder server\pixmaps is not present, but required

+module base\res\res_compagny.py line 191 :

 change :
 -tools.config['root_path'], '..', 'pixmaps', 'openerp-header.png')
 +tools.config['root_path'], 'pixmaps', 'openerp-header.png')

 with this changes(move bin\addons in addons, and addd folder pixmaps), the server run, but create a database using "start configuration" give errors : see after (demo data is selected)

using "use directly" is ok

Revision history for this message
GEM (nimp3) wrote :
Download full text (48.4 KiB)

server error with start configuration :

[2010-07-12 16:29:25,707] INFO:installer:Selecting addons ['purchase', 'account', 'knowledge', 'hr', 'marketing', 'project_mrp', 'mrp', 'sale', 'project', 'report_designer', 'sale_crm', 'stock', 'crm'] to install
[2010-07-12 16:29:26,875] INFO:init:module base: loading objects
[2010-07-12 16:29:26,976] INFO:init:updating modules list
[2010-07-12 16:29:27,009] INFO:init:module base: loading objects
[2010-07-12 16:29:27,105] INFO:init:module process: loading objects
[2010-07-12 16:29:27,112] INFO:init:module process: creating or updating database tables
[2010-07-12 16:29:27,591] INFO:init:module base_action_rule: loading objects
[2010-07-12 16:29:27,595] INFO:init:module base_action_rule: creating or updating database tables
[2010-07-12 16:29:27,982] INFO:init:module base_setup: loading objects
[2010-07-12 16:29:27,992] INFO:init:module knowledge: loading objects
[2010-07-12 16:29:27,993] INFO:init:module knowledge: creating or updating database tables
[2010-07-12 16:29:28,016] INFO:init:module base_calendar: loading objects
[2010-07-12 16:29:28,029] INFO:init:module base_calendar: creating or updating database tables
[2010-07-12 16:29:30,115] INFO:orm:storing computed values of fields.function 'rrule'
[2010-07-12 16:29:30,118] INFO:orm:storing computed values of fields.function 'date'
[2010-07-12 16:29:30,118] INFO:orm:storing computed values of fields.function 'vtimezone'
[2010-07-12 16:29:30,119] INFO:orm:storing computed values of fields.function 'delegated_to'
[2010-07-12 16:29:30,121] INFO:orm:storing computed values of fields.function 'delegated_from'
[2010-07-12 16:29:30,121] INFO:orm:storing computed values of fields.function 'sent_by'
[2010-07-12 16:29:30,121] INFO:orm:storing computed values of fields.function 'cn'
[2010-07-12 16:29:30,122] INFO:orm:storing computed values of fields.function 'language'
[2010-07-12 16:29:30,122] INFO:orm:storing computed values of fields.function 'rrule'
[2010-07-12 16:29:30,125] INFO:orm:storing computed values of fields.function 'vtimezone'
[2010-07-12 16:29:30,125] INFO:init:module board: loading objects
[2010-07-12 16:29:30,134] INFO:init:module board: creating or updating database tables
[2010-07-12 16:29:30,539] INFO:init:module marketing: loading objects
[2010-07-12 16:29:30,542] INFO:init:module marketing: creating or updating database tables
[2010-07-12 16:29:30,572] INFO:init:module mail_gateway: loading objects
[2010-07-12 16:29:30,578] INFO:init:module mail_gateway: creating or updating database tables
[2010-07-12 16:29:31,288] INFO:init:module report_designer: loading objects
[2010-07-12 16:29:31,290] INFO:init:module report_designer: creating or updating database tables
[2010-07-12 16:29:31,311] INFO:init:module decimal_precision: loading objects
[2010-07-12 16:29:31,312] INFO:init:module decimal_precision: creating or updating database tables
[2010-07-12 16:29:31,382] INFO:init:module analytic: loading objects
[2010-07-12 16:29:31,388] INFO:init:module analytic: creating or updating database tables
[2010-07-12 16:29:31,680] INFO:orm:storing computed values of fields.function 'balance'
[2010-07-12 16:29:31,681] INFO:orm:storing computed values of ...

Revision history for this message
GEM (nimp3) wrote :

Environment Information :
System : Windows-32bit-SP2
OS Name : nt
Operating System Release :
Operating System Version : 32bit
Operating System Architecture : 32bit
Operating System Locale : fr_FR.cp1252
Python Version : 2.5.4
OpenERP-Client Version : 6.0dev
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "netsvc.pyo", line 394, in dispatch
  File "service\web_services.pyo", line 588, in dispatch
  File "osv\osv.pyo", line 57, in wrapper
  File "osv\osv.pyo", line 133, in execute
  File "osv\osv.pyo", line 123, in execute_cr
  File "d:\OpenERP AllInOne\Server\addons\base\res\res_config.py", line 183, in action_next
  File "d:\OpenERP AllInOne\Server\addons\base\res\res_config.py", line 415, in execute
  File "pooler.pyo", line 62, in restart_pool
  File "pooler.pyo", line 39, in get_db_and_pool
  File "addons\__init__.pyo", line 830, in load_modules
  File "addons\__init__.pyo", line 717, in load_module_graph
  File "addons\__init__.pyo", line 613, in load_init_update_xml
  File "tools\convert.pyo", line 905, in convert_xml_import
  File "tools\convert.pyo", line 799, in parse
  File "tools\convert.pyo", line 758, in _tag_record
  File "tools\convert.pyo", line 120, in _eval_xml
  File "tools\convert.pyo", line 115, in _process
  File "tools\convert.pyo", line 774, in id_get
  File "tools\convert.pyo", line 781, in model_id_get
  File "tools\misc.pyo", line 802, in cached_result
  File "d:\OpenERP AllInOne\Server\addons\base\ir\ir_model.py", line 494, in _get_id
ValueError: No references to crm.act_my_leads

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hi GEM,

There is no such error with latest revisions.
Thanks.

Changed in openobject-server:
milestone: none → 6.0
status: New → 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.