Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#26524] Api autocomplete more errors

Date:
2011-03-17 03:34
Priority:
3
State:
Closed
Submitted by:
Eugenio Pignataro (oscurart)
Assigned to:
Campbell Barton (campbellbarton)
Category:
Python
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Api autocomplete more errors
Detailed description
ubuntu 64 compiled in scons and cmake.

I kept trying and I saw that there were more of these errors autocomplete.
I do not know if these problems can get all from one place or needs to be done one by one. There may be many errors like this.

The error is:

bpy.data.objects ['Cube']. location. CTL + SPACEBAR


Traceback (most recent call last):
File "/media/WORKS/BLENDER_BUILDS/BLENDER-DEV/cmake/bin/2.56/scripts/op/console_python.py", line 247, in autocomplete
private=bpy.app.debug)
File "/media/WORKS/BLENDER_BUILDS/BLENDER-DEV/cmake/bin/2.56/scripts/modules/console/intellisense.py", line 125, in expand
matches, word = complete(line, cursor, namespace, private)
File "/media/WORKS/BLENDER_BUILDS/BLENDER-DEV/cmake/bin/2.56/scripts/modules/console/intellisense.py", line 87, in complete
matches = complete_namespace.complete(word, namespace, private)
File "/media/WORKS/BLENDER_BUILDS/BLENDER-DEV/cmake/bin/2.56/scripts/modules/console/complete_namespace.py", line 139, in complete
matches = complete_names(word, namespace)
File "/media/WORKS/BLENDER_BUILDS/BLENDER-DEV/cmake/bin/2.56/scripts/modules/console/complete_namespace.py", line 56, in complete_names
completer.complete(word, 0)
File "/media/WORKS/BLENDER_BUILDS/BLENDER-DEV/cmake/bin/2.56/python/lib/python3.2/rlcompleter.py", line 81, in complete
self.matches = self.attr_matches(text)
File "/media/WORKS/BLENDER_BUILDS/BLENDER-DEV/cmake/bin/2.56/python/lib/python3.2/rlcompleter.py", line 146, in attr_matches
if word[:n] == attr and hasattr(thisobject, word):
IndexError: vector[index]: out of range


----------------------------------------------------------


Should be a vector display options such as. length ....

ps: the error was resolved bpy.data.object well, incredible.
Thanks a bunch!

Followup

Message
  • Date: 2011-03-17 05:44
  • Sender: Campbell Barton
  • This is caused by change in behavior with python 3.2.
    fixed in svn, r35585.
 

Attached Files:

No Files Currently Attached

Changes:

Field Old Value Date By
StatusNew2011-03-17 05:44campbellbarton
status_idOpen2011-03-17 05:44campbellbarton
close_dateNone2011-03-17 05:44campbellbarton
assigned_tonone2011-03-17 03:51alexk