Python binding on recent build?

Evening,

On a recent build of LLDB, I see the following:

./lldb
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/jcarlson/Software/LLDB/lldb/DerivedData/lldb/Build/Products/Debug/LLDB.framework/Versions/A/Resources/Python/lldb/__init__.py", line 361, in <module>
    eNoSyntheticFilter = _lldb.eNoSyntheticFilter
AttributeError: 'module' object has no attribute 'eNoSyntheticFilter'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
(lldb) q

It seems to run fairly well after this but wondering what this is…

$ svn verion
Unknown command: 'verion'
Type 'svn help' for usage.
jared:lldb jcarlson$ svn info
Path: .
URL: http://llvm.org/svn/llvm-project/lldb/trunk
Repository Root: http://llvm.org/svn/llvm-project
Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8
Revision: 158842
Node Kind: directory
Schedule: normal
Last Changed Author: filcab
Last Changed Rev: 158809
Last Changed Date: 2012-06-20 06:13:40 -0400 (Wed, 20 Jun 2012)

Thanks,

- Jared

Hi Jared,

Since r153061 eNoSyntheticFilter doesn't exist anymore:
http://llvm.org/viewvc/llvm-project?view=rev&revision=153061

How did you build the LLDB.framework? Xcode should re-generate __init__.py with an up-to-date version.
If you used the makefiles, they don't generate the LLDB.framework, IIRC, so you'll need to refresh everything you have there.

Regards,

  Filipe

Filipe,

Thanks for the clarification. I did a clean, a quick svn update and a rebuild and everything was fine. I've been building via xcode all along but not sure what happened. However, now things seem to be fine…

Thanks for the help,

- Jared