Menu

#79 plm 2d Layout Assign Document have crash problem

closed
Client
Bug Report
2019-04-17
2017-01-11
JasonWu
No

Dears:
Thanks your PLM Module for odoo !
now..testing for odoo V8 、V9'....have problem

Software : Solidworks 2016
odoo version : 8 and 9
Client: Windows 7 64bit

3D Parts AssignDocument and Edit Parts , Save ..no problem

use 2D Layout .. AssignDocument is Error!!!

error log is:
[2017/1/11 下午1:44:01] Monica Chang: com_error(-2147352567, '\xb5o\xa5\xcd\xa8\xd2\xa5~\xaa\xac\xaap\xa1C', (0, u'Python COM Server Internal Error', u'Unexpected Python Error: Traceback (most recent call last):\n File "win32com\server\policy.pyc", line 277, in Invoke_\n File "win32com\server\policy.pyc", line 282, in invoke_\n File "win32com\server\policy.pyc", line 585, in invokeex\n File "utils.pyc", line 116, in func_wrapper\nException: (\'ModelFromLayout \', u"\'ascii\' codec can\'t encode characters in position 6-9: ordinal not in range(128)")\n', None, 0, -2147467259), None)<class 'pywintypes.com_error'="">
com_error(-2147352567, '\xb5o\xa5\xcd\xa8\xd2\xa5~\xaa\xac\xaap\xa1C', (0, u'Python COM Server Internal Error', u'Unexpected Python Error: Traceback (most recent call last):\n File "win32com\server\policy.pyc", line 277, in Invoke_\n File "win32com\server\policy.pyc", line 282, in invoke_\n File "win32com\server\policy.pyc", line 585, in invokeex\n File "utils.pyc", line 116, in func_wrapper\nException: (\'ModelFromLayout \', u"\'ascii\' codec can\'t encode characters in position 6-9: ordinal not in range(128)")\n', None, 0, -2147467259), None)
<traceback object="" at="" 0x000000011FDF8F48="">
Locals by frame, innermost last
Frame 'Invoke' in 'win32com\server\policy.pyc' at line 277
'wFlags' = 1.
'args' = ().
'lcid' = 1028L.
'dispid' = 1010.
'self' = <win32com.server.policy.DesignatedWrapPolicy instance="" at="" 0x00000000508393C8="">.
Frame 'invoke' in 'win32com\server\policy.pyc' at line 282
'wFlags' = 1.
'args' = ().
'lcid' = 1028L.
'dispid' = 1010.
'self' = <win32com.server.policy.DesignatedWrapPolicy instance="" at="" 0x00000000508393C8="">.
Frame 'invokeex' in 'win32com\server\policy.pyc' at line 585
'serviceProvider' = None.
'self' = <win32com.server.policy.DesignatedWrapPolicy instance="" at="" 0x00000000508393C8="">.
'args' = ().
'dispid' = 1010.
'funcname' = 'AssignDocName'.
'wFlags' = 1.
'lcid' = 1028L.
'func' = <bound method="" OpenClerk.AssignDocName="" of="" <openclerk.OpenClerk="" object="" at="" 0x0000000050837550="">>.
'kwArgs' = None.
Frame 'AssignDocName' in 'openclerk.pyc' at line 1451
'self' = <openclerk.OpenClerk object="" at="" 0x0000000050837550="">.
'ex' = com_error(-2147352567, '\xb5o\xa5\xcd\xa8\xd2\xa5~\xaa\xac\xaap\xa1C', (0, u'Python COM Server Internal Error', u'Unexpected Python Error: Traceback (most recent call last):\n File "win32com\server\policy.pyc", line 277, in Invoke_\n File "win32com\server\policy.pyc", line 282, in invoke_\n File "win32com\server\policy.pyc", line 585, in invokeex\n File "utils.pyc", line 116, in func_wrapper\nException: (\'ModelFromLayout \', u"\'ascii\' codec can\'t encode characters in position 6-9: ordinal not in range(128)")\n', None, 0, -2147467259), None).
'autorename' = True.
Frame 'GetReferenced' in '<COMObject OpenErpPlm.Application="">' at line 2
'self' = <COMObject OpenErpPlm.Application="">.
'args' = ().

How can resolove this problem?

Related

Tickets: #79

Discussion

  • Matteo Boscolo

    Matteo Boscolo - 2017-01-12

    it seems some problem related to teh coracter taht you are using on you drawing.
    could you please send as the file you are using ?

    regards,
    Matteo

     
  • JasonWu

    JasonWu - 2017-01-13

    Dear Sir:
    ok..upload test file.....please help reslove this question......thanks
    odooplm_test_file.zip

     
  • Matteo Boscolo

    Matteo Boscolo - 2017-01-13

    Hi,
    we just test it and it works ..
    you could find the result at the following site
    http://www.odooplm.cloud/web#id=91&view_type=form&model=product.product&menu_id=235&action=318

    login as:
    user: odooplm
    passord: odooplm

    my solidwork installation is 2016 english.

    best regards
    Matteo

     
    • JasonWu

      JasonWu - 2017-01-13

      Hi,
      I'm test it from my env.
      Solid works 2016 is Chinese .
      OS is Chinese .
      Drawings Chinese fonts remove it. Can assign documents it.
      If no remove ,its error !

      Matteo Boscolo matteoboscolo@users.sf.net於 2017年1月13日 週五,下午7:23寫道:

      Hi,

      we just test it and it works ..

      you could find the result at the following site

      http://www.odooplm.cloud/web#id=91&view_type=form&model=product.product&menu_id=235&action=318

      login as:

      user: odooplm

      passord: odooplm

      my solidwork installation is 2016 english.

      best regards

      Matteo


      Status: open

      Application Editors: Client

      Type: Bug Report

      Created: Wed Jan 11, 2017 06:29 AM UTC by JasonWu

      Last Updated: Fri Jan 13, 2017 01:00 AM UTC

      Owner: nobody

      Dears:

      Thanks your PLM Module for odoo !

      now..testing for odoo V8 、V9'....have problem

      Software : Solidworks 2016

      odoo version : 8 and 9

      Client: Windows 7 64bit

      3D Parts AssignDocument and Edit Parts , Save ..no problem

      use 2D Layout .. AssignDocument is Error!!!

      error log is:

      [2017/1/11 下午1:44:01] Monica Chang: com_error(-2147352567,
      '\xb5o\xa5\xcd\xa8\xd2\xa5~\xaa\xac\xaap\xa1C', (0, u'Python COM Server
      Internal Error', u'Unexpected Python Error: Traceback (most recent call
      last):\n File "win32com\server\policy.pyc", line 277, in Invoke_\n File
      "win32com\server\policy.pyc", line 282, in invoke_\n File
      "win32com\server\policy.pyc", line 585, in invokeex\n File "utils.pyc",
      line 116, in func_wrapper\nException: (\'ModelFromLayout \', u"\'ascii\'
      codec can\'t encode characters in position 6-9: ordinal not in
      range(128)")\n', None, 0, -2147467259), None)<class 'pywintypes.com_error'="">

      com_error(-2147352567, '\xb5o\xa5\xcd\xa8\xd2\xa5~\xaa\xac\xaap\xa1C', (0,
      u'Python COM Server Internal Error', u'Unexpected Python Error: Traceback
      (most recent call last):\n File "win32com\server\policy.pyc", line 277, in
      Invoke_\n File "win32com\server\policy.pyc", line 282, in invoke_\n File
      "win32com\server\policy.pyc", line 585, in invokeex\n File "utils.pyc",
      line 116, in func_wrapper\nException: (\'ModelFromLayout \', u"\'ascii\'
      codec can\'t encode characters in position 6-9: ordinal not in
      range(128)")\n', None, 0, -2147467259), None)

      <traceback object="" at="" 0x000000011FDF8F48="">

      Locals by frame, innermost last

      Frame 'Invoke' in 'win32com\server\policy.pyc' at line 277

      'wFlags' = 1.

      'args' = ().

      'lcid' = 1028L.

      'dispid' = 1010.

      'self' = <win32com.server.policy.DesignatedWrapPolicy instance="" at="" 0x00000000508393C8="">.

      Frame 'invoke' in 'win32com\server\policy.pyc' at line 282

      'wFlags' = 1.

      'args' = ().

      'lcid' = 1028L.

      'dispid' = 1010.

      'self' = <win32com.server.policy.DesignatedWrapPolicy instance="" at="" 0x00000000508393C8="">.

      Frame 'invokeex' in 'win32com\server\policy.pyc' at line 585

      'serviceProvider' = None.

      'self' = <win32com.server.policy.DesignatedWrapPolicy instance="" at="" 0x00000000508393C8="">.

      'args' = ().

      'dispid' = 1010.

      'funcname' = 'AssignDocName'.

      'wFlags' = 1.

      'lcid' = 1028L.

      'func' = <bound method="" OpenClerk.AssignDocName="" of="" <openclerk.OpenClerk="" object="" at="" 0x0000000050837550="">>.

      'kwArgs' = None.

      Frame 'AssignDocName' in 'openclerk.pyc' at line 1451

      'self' = <openclerk.OpenClerk object="" at="" 0x0000000050837550="">.

      'ex' = com_error(-2147352567,
      '\xb5o\xa5\xcd\xa8\xd2\xa5~\xaa\xac\xaap\xa1C', (0, u'Python COM Server
      Internal Error', u'Unexpected Python Error: Traceback (most recent call
      last):\n File "win32com\server\policy.pyc", line 277, in Invoke_\n File
      "win32com\server\policy.pyc", line 282, in invoke_\n File
      "win32com\server\policy.pyc", line 585, in invokeex\n File "utils.pyc",
      line 116, in func_wrapper\nException: (\'ModelFromLayout \', u"\'ascii\'
      codec can\'t encode characters in position 6-9: ordinal not in
      range(128)")\n', None, 0, -2147467259), None).

      'autorename' = True.

      Frame 'GetReferenced' in '<COMObject OpenErpPlm.Application="">' at line 2

      'self' = <COMObject OpenErpPlm.Application="">.

      'args' = ().

      How can resolove this problem?


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/openerpplm/tickets/79/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #79

      • Matteo Boscolo

        Matteo Boscolo - 2017-01-13

        ok sould be a bug of a system.
        we need to replicate your enviroment in order to test it and solve the issius.
        this will take time.

        we will update you onece we heve solve it..

        thanks for the bug report

        best regards,
        Matteo

         
  • Matteo Boscolo

    Matteo Boscolo - 2017-01-13
    • labels: --> chines font error
    • assigned_to: Daniel Smerghetto
     
  • Matteo Boscolo

    Matteo Boscolo - 2017-01-13
    • status: open --> accepted
     
  • Matteo Boscolo

    Matteo Boscolo - 2019-04-17
    • status: accepted --> closed
     

Log in to post a comment.