Comment 3 for bug 340506

Revision history for this message
Leonardo Robol (leo.robol) wrote :

I think this is still present in oneiric. Now monodevelop-vala installs libafrodite, but if I try to write some code I get this traceback in monodevelop:

System.EntryPointNotFoundException: afrodite_completion_engine_try_acquire_ast
  at (wrapper managed-to-native) MonoDevelop.ValaBinding.Parser.Afrodite.CompletionEngine:afrodite_completion_engine_try_acquire_ast (intptr,intptr&,int)
  at MonoDevelop.ValaBinding.Parser.Afrodite.CompletionEngine.TryAcquireAst () [0x00000] in <filename unknown>:0
  at MonoDevelop.ValaBinding.Parser.ProjectInformation.GetSymbolsForFile (System.String file, IEnumerable`1 desiredTypes) [0x00000] in <filename unknown>:0
  at MonoDevelop.ValaBinding.Parser.ProjectInformation.GetClassesForFile (System.String file) [0x00000] in <filename unknown>:0
  at MonoDevelop.ValaBinding.Parser.ProjectInformation.GetTypesVisibleFrom (System.String filename, Int32 line, Int32 column, MonoDevelop.ValaBinding.ValaCompletionDataList results) [0x00000] in <filename unknown>:0
  at MonoDevelop.ValaBinding.Parser.ProjectInformation.GetSymbolsVisibleFrom (System.String filename, Int32 line, Int32 column, MonoDevelop.ValaBinding.ValaCompletionDataList results) [0x00000] in <filename unknown>:0
  at MonoDevelop.ValaBinding.ValaTextEditorExtension+<GlobalComplete>c__AnonStorey5.<>m__5 (System.Object ) [0x00000] in <filename unknown>:0

It seem that it cannot call afrodite_completion_engine_try_acquire_ast() that has been removed from libafrodite... maybe the vala module needs to be updated to reflect the changes in the library?