code_autocomplete icon indicating copy to clipboard operation
code_autocomplete copied to clipboard

Blender 2.78-9 (buildbot version) error when building BPY Module.

Open SirPigeonz opened this issue 8 years ago • 2 comments

2.79 is in beta stage so not sure if useful. But here is the error.

  File "C:\Users\pgolab\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\code_autocomplete\autocompletion\suggestions\generate_fake_bpy.py", line 28, in execute
    regenerate_fake_bpy()
  File "C:\Users\pgolab\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\code_autocomplete\autocompletion\suggestions\generate_fake_bpy.py", line 36, in regenerate_fake_bpy
    generate_fake_bpy()
  File "C:\Users\pgolab\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\code_autocomplete\autocompletion\suggestions\generate_fake_bpy.py", line 46, in generate_fake_bpy
    create_private_subdirectory()
  File "C:\Users\pgolab\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\code_autocomplete\autocompletion\suggestions\generate_fake_bpy.py", line 64, in create_private_subdirectory
    generate_code_files()
  File "C:\Users\pgolab\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\code_autocomplete\autocompletion\suggestions\generate_fake_bpy.py", line 77, in generate_code_files
    write_code_file(name, code)
  File "C:\Users\pgolab\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\code_autocomplete\autocompletion\suggestions\generate_fake_bpy.py", line 252, in write_code_file
    file.write(code)
  File "C:\Users\pgolab\Desktop\Apps\blender-2.78.0-git.9cd6b03-windows64\2.78\python\lib\encodings\cp1250.py", line 19, in encode
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\xb2' in position 5339: character maps to <undefined>

location: <unknown location>:-1

SirPigeonz avatar Jul 03 '17 10:07 SirPigeonz

Oh ok, thanks for the report. Will have to check that in more detail.

JacquesLucke avatar Jul 03 '17 10:07 JacquesLucke

Just downloaded the last buildbot version for windows. For some reason I can't reproduce this atm. Will try again a bit later.

JacquesLucke avatar Jul 03 '17 19:07 JacquesLucke