← Back to team overview

openerp-india team mailing list archive

[Bug 1094174] Re: Exception loading data into new DB - mail_group image

 

** Description changed:

  Windows 7
  PostgreSQL postgresql-9.2.2-1-windows-x64
+ (Bug does not occur with postgresql-8.3-int.msi)
  OpenERP openerp-server-setup-7.0-20121227-173430
  (As an aside, I use the server setup instead of the allinone setup, because the password is still not set correctly. It is put into an initial configuration file in openerp\server instead of openerp\Server\server and so the server defaults to using openpgpwd instead of the one given during installation)
+ 
+ There was a very similar bug to this that did exactly the same thing
+ except with the Company Image for OpenERP 20121206 but that one is fixed
+ in this release.
  
  Create a new database OK.
  Install CRM and get the following trace:
  
  2012-12-28 10:03:02,190 3860 INFO test01 openerp.modules.loading: module base: loading objects
  2012-12-28 10:03:02,204 3860 INFO test01 openerp.modules.loading: module web: loading objects
  2012-12-28 10:03:02,207 3860 INFO test01 openerp.modules.loading: module web_tests: loading objects
  2012-12-28 10:03:02,209 3860 INFO test01 openerp.modules.loading: module process: loading objects
  2012-12-28 10:03:02,210 3860 INFO test01 openerp.modules.loading: module web_calendar: loading objects
  2012-12-28 10:03:02,210 3860 INFO test01 openerp.modules.loading: module web_diagram: loading objects
  2012-12-28 10:03:02,211 3860 INFO test01 openerp.modules.loading: module web_gantt: loading objects
  2012-12-28 10:03:02,213 3860 INFO test01 openerp.modules.loading: module web_graph: loading objects
  2012-12-28 10:03:02,213 3860 INFO test01 openerp.modules.loading: module web_kanban: loading objects
  2012-12-28 10:03:02,213 3860 INFO test01 openerp.modules.loading: module web_view_editor: loading objects
  2012-12-28 10:03:02,223 3860 INFO test01 openerp.modules.loading: module base_status: loading objects
  2012-12-28 10:03:02,224 3860 INFO test01 openerp.modules.module: module base_status: creating or updating database tables
  2012-12-28 10:03:02,230 3860 INFO test01 openerp.modules.loading: module board: loading objects
  2012-12-28 10:03:02,232 3860 INFO test01 openerp.modules.module: module board: creating or updating database tables
  2012-12-28 10:03:02,257 3860 INFO test01 openerp.modules.loading: module board: loading security/ir.model.access.csv
  2012-12-28 10:03:02,269 3860 INFO test01 openerp.modules.loading: module board: loading board_view.xml
  2012-12-28 10:03:02,299 3860 INFO test01 openerp.modules.loading: module board: loading board_mydashboard_view.xml
  2012-12-28 10:03:02,332 3860 INFO test01 openerp.modules.loading: module base_setup: loading objects
  2012-12-28 10:03:02,334 3860 INFO test01 openerp.modules.module: module base_setup: creating or updating database tables
  2012-12-28 10:03:02,394 3860 INFO test01 openerp.modules.loading: module base_setup: loading security/ir.model.access.csv
  2012-12-28 10:03:02,395 3860 INFO test01 openerp.modules.loading: module base_setup: loading base_setup_views.xml
  2012-12-28 10:03:02,417 3860 INFO test01 openerp.modules.loading: module base_setup: loading res_config_view.xml
  2012-12-28 10:03:02,453 3860 INFO test01 openerp.modules.loading: module base_setup: loading res_partner_view.xml
  2012-12-28 10:03:02,477 3860 INFO test01 openerp.modules.loading: module resource: loading objects
  2012-12-28 10:03:02,480 3860 INFO test01 openerp.modules.module: module resource: creating or updating database tables
  2012-12-28 10:03:02,609 3860 INFO test01 openerp.osv.orm: storing computed values of fields.function 'company_id'
  2012-12-28 10:03:02,611 3860 INFO test01 openerp.modules.loading: module resource: loading security/ir.model.access.csv
  2012-12-28 10:03:02,640 3860 INFO test01 openerp.modules.loading: module resource: loading resource_view.xml
  2012-12-28 10:03:02,782 3860 INFO test01 openerp.modules.loading: module mail: loading objects
  2012-12-28 10:03:02,788 3860 INFO test01 openerp.modules.module: module mail: creating or updating database tables
  2012-12-28 10:03:03,200 3860 INFO test01 openerp.addons.mail.mail_alias: Mail alias created for res.users admin (uid 1)
  2012-12-28 10:03:03,500 3860 INFO test01 openerp.osv.orm: storing computed values of fields.function 'record_name'
  2012-12-28 10:03:03,500 3860 INFO test01 openerp.osv.orm: storing computed values of fields.function 'image_medium'
  2012-12-28 10:03:03,500 3860 INFO test01 openerp.osv.orm: storing computed values of fields.function 'image_small'
  2012-12-28 10:03:03,500 3860 INFO test01 openerp.osv.orm: storing computed values of fields.function 'record_name'
  2012-12-28 10:03:03,502 3860 INFO test01 openerp.modules.loading: module mail: loading wizard/invite_view.xml
  2012-12-28 10:03:03,513 3860 INFO test01 openerp.modules.loading: module mail: loading wizard/mail_compose_message_view.xml
  2012-12-28 10:03:03,532 3860 INFO test01 openerp.modules.loading: module mail: loading mail_message_subtype.xml
  2012-12-28 10:03:03,562 3860 INFO test01 openerp.modules.loading: module mail: loading res_config_view.xml
  2012-12-28 10:03:03,573 3860 INFO test01 openerp.modules.loading: module mail: loading mail_message_view.xml
  2012-12-28 10:03:03,611 3860 INFO test01 openerp.modules.loading: module mail: loading mail_mail_view.xml
  2012-12-28 10:03:03,654 3860 INFO test01 openerp.modules.loading: module mail: loading mail_followers_view.xml
  2012-12-28 10:03:03,706 3860 INFO test01 openerp.modules.loading: module mail: loading mail_thread_view.xml
  2012-12-28 10:03:03,779 3860 INFO test01 openerp.modules.loading: module mail: loading mail_group_view.xml
  2012-12-28 10:03:03,836 3860 INFO test01 openerp.modules.loading: module mail: loading res_partner_view.xml
  2012-12-28 10:03:03,865 3860 INFO test01 openerp.modules.loading: module mail: loading data/mail_data.xml
  2012-12-28 10:03:03,881 3860 INFO test01 openerp.modules.loading: module mail: loading data/mail_group_data.xml
- 2012-12-28 10:03:03,908 3860 ERROR test01 openerp.tools.convert: Parse error in file:///D:/OpenERP/OpenERP%207.0-20121227/server/openerp/addons/mail/data/mail_group_data.xml:5: 
+ 2012-12-28 10:03:03,908 3860 ERROR test01 openerp.tools.convert: Parse error in file:///D:/OpenERP/OpenERP%207.0-20121227/server/openerp/addons/mail/data/mail_group_data.xml:5:
  <record model="mail.group" id="group_all_employees">
-             <field name="name">Whole Company</field>
-             <field name="group_ids" eval="[(4, ref('base.group_user'))]"/>
-             <field name="description">General announces for all employees.</field>
-         </record>
+             <field name="name">Whole Company</field>
+             <field name="group_ids" eval="[(4, ref('base.group_user'))]"/>
+             <field name="description">General announces for all employees.</field>
+         </record>
  Traceback (most recent call last):
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\convert.py", line 847, in parse
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\convert.py", line 814, in _tag_record
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\base\ir\ir_model.py", line 956, in _update
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\mail\mail_group.py", line 137, in create
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\mail\mail_thread.py", line 240, in create
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\orm.py", line 4478, in create
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\orm.py", line 4600, in _store_set_values
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\fields.py", line 1122, in get
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\mail\mail_group.py", line 41, in _get_image
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\image.py", line 163, in image_get_resized_images
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\image.py", line 101, in image_resize_image_medium
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\image.py", line 67, in image_resize_image
-   File "encodings\base64_codec.pyo", line 42, in base64_decode
-   File "base64.pyo", line 321, in decodestring
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\convert.py", line 847, in parse
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\convert.py", line 814, in _tag_record
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\base\ir\ir_model.py", line 956, in _update
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\mail\mail_group.py", line 137, in create
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\mail\mail_thread.py", line 240, in create
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\orm.py", line 4478, in create
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\orm.py", line 4600, in _store_set_values
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\fields.py", line 1122, in get
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\mail\mail_group.py", line 41, in _get_image
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\image.py", line 163, in image_get_resized_images
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\image.py", line 101, in image_resize_image_medium
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\image.py", line 67, in image_resize_image
+   File "encodings\base64_codec.pyo", line 42, in base64_decode
+   File "base64.pyo", line 321, in decodestring
  Error: Incorrect padding
  2012-12-28 10:03:03,908 3860 ERROR test01 openerp.osv.osv: Uncaught exception
  Traceback (most recent call last):
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\osv.py", line 123, in wrapper
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\osv.py", line 179, in execute
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\osv.py", line 166, in execute_cr
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\base\module\module.py", line 425, in button_immediate_install
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\base\module\module.py", line 476, in _button_immediate_function
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\pooler.py", line 39, in restart_pool
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\modules\registry.py", line 214, in new
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\modules\loading.py", line 349, in load_modules
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\modules\loading.py", line 260, in load_marked_modules
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\modules\loading.py", line 192, in load_module_graph
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\modules\loading.py", line 77, in <lambda>
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\modules\loading.py", line 128, in _load_data
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\convert.py", line 954, in convert_xml_import
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\convert.py", line 847, in parse
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\convert.py", line 814, in _tag_record
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\base\ir\ir_model.py", line 956, in _update
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\mail\mail_group.py", line 137, in create
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\mail\mail_thread.py", line 240, in create
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\orm.py", line 4478, in create
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\orm.py", line 4600, in _store_set_values
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\fields.py", line 1122, in get
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\mail\mail_group.py", line 41, in _get_image
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\image.py", line 163, in image_get_resized_images
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\image.py", line 101, in image_resize_image_medium
-   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\image.py", line 67, in image_resize_image
-   File "encodings\base64_codec.pyo", line 42, in base64_decode
-   File "base64.pyo", line 321, in decodestring
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\osv.py", line 123, in wrapper
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\osv.py", line 179, in execute
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\osv.py", line 166, in execute_cr
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\base\module\module.py", line 425, in button_immediate_install
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\base\module\module.py", line 476, in _button_immediate_function
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\pooler.py", line 39, in restart_pool
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\modules\registry.py", line 214, in new
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\modules\loading.py", line 349, in load_modules
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\modules\loading.py", line 260, in load_marked_modules
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\modules\loading.py", line 192, in load_module_graph
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\modules\loading.py", line 77, in <lambda>
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\modules\loading.py", line 128, in _load_data
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\convert.py", line 954, in convert_xml_import
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\convert.py", line 847, in parse
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\convert.py", line 814, in _tag_record
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\base\ir\ir_model.py", line 956, in _update
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\mail\mail_group.py", line 137, in create
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\mail\mail_thread.py", line 240, in create
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\orm.py", line 4478, in create
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\orm.py", line 4600, in _store_set_values
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\fields.py", line 1122, in get
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\mail\mail_group.py", line 41, in _get_image
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\image.py", line 163, in image_get_resized_images
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\image.py", line 101, in image_resize_image_medium
+   File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\image.py", line 67, in image_resize_image
+   File "encodings\base64_codec.pyo", line 42, in base64_decode
+   File "base64.pyo", line 321, in decodestring
  Error: Incorrect padding
  2012-12-28 10:03:03,910 3860 ERROR test01 openerp.netsvc: Incorrect padding

** Description changed:

  Windows 7
  PostgreSQL postgresql-9.2.2-1-windows-x64
  (Bug does not occur with postgresql-8.3-int.msi)
  OpenERP openerp-server-setup-7.0-20121227-173430
- (As an aside, I use the server setup instead of the allinone setup, because the password is still not set correctly. It is put into an initial configuration file in openerp\server instead of openerp\Server\server and so the server defaults to using openpgpwd instead of the one given during installation)
+ (As an aside, openpgpwd bug nicely fixed :) )
  
  There was a very similar bug to this that did exactly the same thing
  except with the Company Image for OpenERP 20121206 but that one is fixed
  in this release.
  
  Create a new database OK.
  Install CRM and get the following trace:
  
  2012-12-28 10:03:02,190 3860 INFO test01 openerp.modules.loading: module base: loading objects
  2012-12-28 10:03:02,204 3860 INFO test01 openerp.modules.loading: module web: loading objects
  2012-12-28 10:03:02,207 3860 INFO test01 openerp.modules.loading: module web_tests: loading objects
  2012-12-28 10:03:02,209 3860 INFO test01 openerp.modules.loading: module process: loading objects
  2012-12-28 10:03:02,210 3860 INFO test01 openerp.modules.loading: module web_calendar: loading objects
  2012-12-28 10:03:02,210 3860 INFO test01 openerp.modules.loading: module web_diagram: loading objects
  2012-12-28 10:03:02,211 3860 INFO test01 openerp.modules.loading: module web_gantt: loading objects
  2012-12-28 10:03:02,213 3860 INFO test01 openerp.modules.loading: module web_graph: loading objects
  2012-12-28 10:03:02,213 3860 INFO test01 openerp.modules.loading: module web_kanban: loading objects
  2012-12-28 10:03:02,213 3860 INFO test01 openerp.modules.loading: module web_view_editor: loading objects
  2012-12-28 10:03:02,223 3860 INFO test01 openerp.modules.loading: module base_status: loading objects
  2012-12-28 10:03:02,224 3860 INFO test01 openerp.modules.module: module base_status: creating or updating database tables
  2012-12-28 10:03:02,230 3860 INFO test01 openerp.modules.loading: module board: loading objects
  2012-12-28 10:03:02,232 3860 INFO test01 openerp.modules.module: module board: creating or updating database tables
  2012-12-28 10:03:02,257 3860 INFO test01 openerp.modules.loading: module board: loading security/ir.model.access.csv
  2012-12-28 10:03:02,269 3860 INFO test01 openerp.modules.loading: module board: loading board_view.xml
  2012-12-28 10:03:02,299 3860 INFO test01 openerp.modules.loading: module board: loading board_mydashboard_view.xml
  2012-12-28 10:03:02,332 3860 INFO test01 openerp.modules.loading: module base_setup: loading objects
  2012-12-28 10:03:02,334 3860 INFO test01 openerp.modules.module: module base_setup: creating or updating database tables
  2012-12-28 10:03:02,394 3860 INFO test01 openerp.modules.loading: module base_setup: loading security/ir.model.access.csv
  2012-12-28 10:03:02,395 3860 INFO test01 openerp.modules.loading: module base_setup: loading base_setup_views.xml
  2012-12-28 10:03:02,417 3860 INFO test01 openerp.modules.loading: module base_setup: loading res_config_view.xml
  2012-12-28 10:03:02,453 3860 INFO test01 openerp.modules.loading: module base_setup: loading res_partner_view.xml
  2012-12-28 10:03:02,477 3860 INFO test01 openerp.modules.loading: module resource: loading objects
  2012-12-28 10:03:02,480 3860 INFO test01 openerp.modules.module: module resource: creating or updating database tables
  2012-12-28 10:03:02,609 3860 INFO test01 openerp.osv.orm: storing computed values of fields.function 'company_id'
  2012-12-28 10:03:02,611 3860 INFO test01 openerp.modules.loading: module resource: loading security/ir.model.access.csv
  2012-12-28 10:03:02,640 3860 INFO test01 openerp.modules.loading: module resource: loading resource_view.xml
  2012-12-28 10:03:02,782 3860 INFO test01 openerp.modules.loading: module mail: loading objects
  2012-12-28 10:03:02,788 3860 INFO test01 openerp.modules.module: module mail: creating or updating database tables
  2012-12-28 10:03:03,200 3860 INFO test01 openerp.addons.mail.mail_alias: Mail alias created for res.users admin (uid 1)
  2012-12-28 10:03:03,500 3860 INFO test01 openerp.osv.orm: storing computed values of fields.function 'record_name'
  2012-12-28 10:03:03,500 3860 INFO test01 openerp.osv.orm: storing computed values of fields.function 'image_medium'
  2012-12-28 10:03:03,500 3860 INFO test01 openerp.osv.orm: storing computed values of fields.function 'image_small'
  2012-12-28 10:03:03,500 3860 INFO test01 openerp.osv.orm: storing computed values of fields.function 'record_name'
  2012-12-28 10:03:03,502 3860 INFO test01 openerp.modules.loading: module mail: loading wizard/invite_view.xml
  2012-12-28 10:03:03,513 3860 INFO test01 openerp.modules.loading: module mail: loading wizard/mail_compose_message_view.xml
  2012-12-28 10:03:03,532 3860 INFO test01 openerp.modules.loading: module mail: loading mail_message_subtype.xml
  2012-12-28 10:03:03,562 3860 INFO test01 openerp.modules.loading: module mail: loading res_config_view.xml
  2012-12-28 10:03:03,573 3860 INFO test01 openerp.modules.loading: module mail: loading mail_message_view.xml
  2012-12-28 10:03:03,611 3860 INFO test01 openerp.modules.loading: module mail: loading mail_mail_view.xml
  2012-12-28 10:03:03,654 3860 INFO test01 openerp.modules.loading: module mail: loading mail_followers_view.xml
  2012-12-28 10:03:03,706 3860 INFO test01 openerp.modules.loading: module mail: loading mail_thread_view.xml
  2012-12-28 10:03:03,779 3860 INFO test01 openerp.modules.loading: module mail: loading mail_group_view.xml
  2012-12-28 10:03:03,836 3860 INFO test01 openerp.modules.loading: module mail: loading res_partner_view.xml
  2012-12-28 10:03:03,865 3860 INFO test01 openerp.modules.loading: module mail: loading data/mail_data.xml
  2012-12-28 10:03:03,881 3860 INFO test01 openerp.modules.loading: module mail: loading data/mail_group_data.xml
  2012-12-28 10:03:03,908 3860 ERROR test01 openerp.tools.convert: Parse error in file:///D:/OpenERP/OpenERP%207.0-20121227/server/openerp/addons/mail/data/mail_group_data.xml:5:
  <record model="mail.group" id="group_all_employees">
              <field name="name">Whole Company</field>
              <field name="group_ids" eval="[(4, ref('base.group_user'))]"/>
              <field name="description">General announces for all employees.</field>
          </record>
  Traceback (most recent call last):
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\convert.py", line 847, in parse
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\convert.py", line 814, in _tag_record
    File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\base\ir\ir_model.py", line 956, in _update
    File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\mail\mail_group.py", line 137, in create
    File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\mail\mail_thread.py", line 240, in create
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\orm.py", line 4478, in create
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\orm.py", line 4600, in _store_set_values
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\fields.py", line 1122, in get
    File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\mail\mail_group.py", line 41, in _get_image
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\image.py", line 163, in image_get_resized_images
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\image.py", line 101, in image_resize_image_medium
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\image.py", line 67, in image_resize_image
    File "encodings\base64_codec.pyo", line 42, in base64_decode
    File "base64.pyo", line 321, in decodestring
  Error: Incorrect padding
  2012-12-28 10:03:03,908 3860 ERROR test01 openerp.osv.osv: Uncaught exception
  Traceback (most recent call last):
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\osv.py", line 123, in wrapper
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\osv.py", line 179, in execute
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\osv.py", line 166, in execute_cr
    File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\base\module\module.py", line 425, in button_immediate_install
    File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\base\module\module.py", line 476, in _button_immediate_function
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\pooler.py", line 39, in restart_pool
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\modules\registry.py", line 214, in new
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\modules\loading.py", line 349, in load_modules
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\modules\loading.py", line 260, in load_marked_modules
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\modules\loading.py", line 192, in load_module_graph
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\modules\loading.py", line 77, in <lambda>
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\modules\loading.py", line 128, in _load_data
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\convert.py", line 954, in convert_xml_import
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\convert.py", line 847, in parse
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\convert.py", line 814, in _tag_record
    File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\base\ir\ir_model.py", line 956, in _update
    File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\mail\mail_group.py", line 137, in create
    File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\mail\mail_thread.py", line 240, in create
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\orm.py", line 4478, in create
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\orm.py", line 4600, in _store_set_values
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\fields.py", line 1122, in get
    File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\mail\mail_group.py", line 41, in _get_image
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\image.py", line 163, in image_get_resized_images
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\image.py", line 101, in image_resize_image_medium
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\image.py", line 67, in image_resize_image
    File "encodings\base64_codec.pyo", line 42, in base64_decode
    File "base64.pyo", line 321, in decodestring
  Error: Incorrect padding
  2012-12-28 10:03:03,910 3860 ERROR test01 openerp.netsvc: Incorrect padding

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1094174

Title:
  Exception loading data into new DB - mail_group image

Status in OpenERP Server:
  New

Bug description:
  Windows 7
  PostgreSQL postgresql-9.2.2-1-windows-x64
  (Bug does not occur with postgresql-8.3-int.msi)
  OpenERP openerp-server-setup-7.0-20121227-173430
  (As an aside, openpgpwd bug nicely fixed :) )

  There was a very similar bug to this that did exactly the same thing
  except with the Company Image for OpenERP 20121206 but that one is
  fixed in this release.

  Create a new database OK.
  Install CRM and get the following trace:

  2012-12-28 10:03:02,190 3860 INFO test01 openerp.modules.loading: module base: loading objects
  2012-12-28 10:03:02,204 3860 INFO test01 openerp.modules.loading: module web: loading objects
  2012-12-28 10:03:02,207 3860 INFO test01 openerp.modules.loading: module web_tests: loading objects
  2012-12-28 10:03:02,209 3860 INFO test01 openerp.modules.loading: module process: loading objects
  2012-12-28 10:03:02,210 3860 INFO test01 openerp.modules.loading: module web_calendar: loading objects
  2012-12-28 10:03:02,210 3860 INFO test01 openerp.modules.loading: module web_diagram: loading objects
  2012-12-28 10:03:02,211 3860 INFO test01 openerp.modules.loading: module web_gantt: loading objects
  2012-12-28 10:03:02,213 3860 INFO test01 openerp.modules.loading: module web_graph: loading objects
  2012-12-28 10:03:02,213 3860 INFO test01 openerp.modules.loading: module web_kanban: loading objects
  2012-12-28 10:03:02,213 3860 INFO test01 openerp.modules.loading: module web_view_editor: loading objects
  2012-12-28 10:03:02,223 3860 INFO test01 openerp.modules.loading: module base_status: loading objects
  2012-12-28 10:03:02,224 3860 INFO test01 openerp.modules.module: module base_status: creating or updating database tables
  2012-12-28 10:03:02,230 3860 INFO test01 openerp.modules.loading: module board: loading objects
  2012-12-28 10:03:02,232 3860 INFO test01 openerp.modules.module: module board: creating or updating database tables
  2012-12-28 10:03:02,257 3860 INFO test01 openerp.modules.loading: module board: loading security/ir.model.access.csv
  2012-12-28 10:03:02,269 3860 INFO test01 openerp.modules.loading: module board: loading board_view.xml
  2012-12-28 10:03:02,299 3860 INFO test01 openerp.modules.loading: module board: loading board_mydashboard_view.xml
  2012-12-28 10:03:02,332 3860 INFO test01 openerp.modules.loading: module base_setup: loading objects
  2012-12-28 10:03:02,334 3860 INFO test01 openerp.modules.module: module base_setup: creating or updating database tables
  2012-12-28 10:03:02,394 3860 INFO test01 openerp.modules.loading: module base_setup: loading security/ir.model.access.csv
  2012-12-28 10:03:02,395 3860 INFO test01 openerp.modules.loading: module base_setup: loading base_setup_views.xml
  2012-12-28 10:03:02,417 3860 INFO test01 openerp.modules.loading: module base_setup: loading res_config_view.xml
  2012-12-28 10:03:02,453 3860 INFO test01 openerp.modules.loading: module base_setup: loading res_partner_view.xml
  2012-12-28 10:03:02,477 3860 INFO test01 openerp.modules.loading: module resource: loading objects
  2012-12-28 10:03:02,480 3860 INFO test01 openerp.modules.module: module resource: creating or updating database tables
  2012-12-28 10:03:02,609 3860 INFO test01 openerp.osv.orm: storing computed values of fields.function 'company_id'
  2012-12-28 10:03:02,611 3860 INFO test01 openerp.modules.loading: module resource: loading security/ir.model.access.csv
  2012-12-28 10:03:02,640 3860 INFO test01 openerp.modules.loading: module resource: loading resource_view.xml
  2012-12-28 10:03:02,782 3860 INFO test01 openerp.modules.loading: module mail: loading objects
  2012-12-28 10:03:02,788 3860 INFO test01 openerp.modules.module: module mail: creating or updating database tables
  2012-12-28 10:03:03,200 3860 INFO test01 openerp.addons.mail.mail_alias: Mail alias created for res.users admin (uid 1)
  2012-12-28 10:03:03,500 3860 INFO test01 openerp.osv.orm: storing computed values of fields.function 'record_name'
  2012-12-28 10:03:03,500 3860 INFO test01 openerp.osv.orm: storing computed values of fields.function 'image_medium'
  2012-12-28 10:03:03,500 3860 INFO test01 openerp.osv.orm: storing computed values of fields.function 'image_small'
  2012-12-28 10:03:03,500 3860 INFO test01 openerp.osv.orm: storing computed values of fields.function 'record_name'
  2012-12-28 10:03:03,502 3860 INFO test01 openerp.modules.loading: module mail: loading wizard/invite_view.xml
  2012-12-28 10:03:03,513 3860 INFO test01 openerp.modules.loading: module mail: loading wizard/mail_compose_message_view.xml
  2012-12-28 10:03:03,532 3860 INFO test01 openerp.modules.loading: module mail: loading mail_message_subtype.xml
  2012-12-28 10:03:03,562 3860 INFO test01 openerp.modules.loading: module mail: loading res_config_view.xml
  2012-12-28 10:03:03,573 3860 INFO test01 openerp.modules.loading: module mail: loading mail_message_view.xml
  2012-12-28 10:03:03,611 3860 INFO test01 openerp.modules.loading: module mail: loading mail_mail_view.xml
  2012-12-28 10:03:03,654 3860 INFO test01 openerp.modules.loading: module mail: loading mail_followers_view.xml
  2012-12-28 10:03:03,706 3860 INFO test01 openerp.modules.loading: module mail: loading mail_thread_view.xml
  2012-12-28 10:03:03,779 3860 INFO test01 openerp.modules.loading: module mail: loading mail_group_view.xml
  2012-12-28 10:03:03,836 3860 INFO test01 openerp.modules.loading: module mail: loading res_partner_view.xml
  2012-12-28 10:03:03,865 3860 INFO test01 openerp.modules.loading: module mail: loading data/mail_data.xml
  2012-12-28 10:03:03,881 3860 INFO test01 openerp.modules.loading: module mail: loading data/mail_group_data.xml
  2012-12-28 10:03:03,908 3860 ERROR test01 openerp.tools.convert: Parse error in file:///D:/OpenERP/OpenERP%207.0-20121227/server/openerp/addons/mail/data/mail_group_data.xml:5:
  <record model="mail.group" id="group_all_employees">
              <field name="name">Whole Company</field>
              <field name="group_ids" eval="[(4, ref('base.group_user'))]"/>
              <field name="description">General announces for all employees.</field>
          </record>
  Traceback (most recent call last):
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\convert.py", line 847, in parse
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\convert.py", line 814, in _tag_record
    File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\base\ir\ir_model.py", line 956, in _update
    File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\mail\mail_group.py", line 137, in create
    File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\mail\mail_thread.py", line 240, in create
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\orm.py", line 4478, in create
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\orm.py", line 4600, in _store_set_values
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\fields.py", line 1122, in get
    File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\mail\mail_group.py", line 41, in _get_image
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\image.py", line 163, in image_get_resized_images
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\image.py", line 101, in image_resize_image_medium
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\image.py", line 67, in image_resize_image
    File "encodings\base64_codec.pyo", line 42, in base64_decode
    File "base64.pyo", line 321, in decodestring
  Error: Incorrect padding
  2012-12-28 10:03:03,908 3860 ERROR test01 openerp.osv.osv: Uncaught exception
  Traceback (most recent call last):
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\osv.py", line 123, in wrapper
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\osv.py", line 179, in execute
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\osv.py", line 166, in execute_cr
    File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\base\module\module.py", line 425, in button_immediate_install
    File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\base\module\module.py", line 476, in _button_immediate_function
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\pooler.py", line 39, in restart_pool
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\modules\registry.py", line 214, in new
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\modules\loading.py", line 349, in load_modules
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\modules\loading.py", line 260, in load_marked_modules
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\modules\loading.py", line 192, in load_module_graph
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\modules\loading.py", line 77, in <lambda>
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\modules\loading.py", line 128, in _load_data
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\convert.py", line 954, in convert_xml_import
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\convert.py", line 847, in parse
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\convert.py", line 814, in _tag_record
    File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\base\ir\ir_model.py", line 956, in _update
    File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\mail\mail_group.py", line 137, in create
    File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\mail\mail_thread.py", line 240, in create
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\orm.py", line 4478, in create
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\orm.py", line 4600, in _store_set_values
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\osv\fields.py", line 1122, in get
    File "D:\OpenERP\OpenERP 7.0-20121227\server\openerp\addons\mail\mail_group.py", line 41, in _get_image
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\image.py", line 163, in image_get_resized_images
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\image.py", line 101, in image_resize_image_medium
    File "D:\OpenERP\OpenERP 7.0-20121227\server\.\openerp\tools\image.py", line 67, in image_resize_image
    File "encodings\base64_codec.pyo", line 42, in base64_decode
    File "base64.pyo", line 321, in decodestring
  Error: Incorrect padding
  2012-12-28 10:03:03,910 3860 ERROR test01 openerp.netsvc: Incorrect padding

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1094174/+subscriptions


References