Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#940 code completion in Eclipse does not work

1.4.7
closed-works-for-me
5
2009-07-09
2009-07-09
Nivaldo
No

OS Vista Business with Service Pack 1

Eclipse SDK
Version: 3.5.0
Build id: I20090611-1540

PyDEV 1.4.7.2843
(I have attached screen shots of the interpreter configuration.)

Here is the complete error log:
Error connecting to python process (Name:IronPython:EndName:
Version2.6Executable:C:\Program Files\IronPython 2.6\ipy.exe|C:
\Program Files\IronPython 2.6|C:\Program Files\IronPython 2.6
\Lib|C:\Program Files\IronPython 2.6\lib\site-packages@$|IEHost.
Execute|Microsoft|Microsoft.Aspnet.Snapin|Microsoft.Build.
BuildEngine|Microsoft.Build.Conversion|Microsoft.Build.
Framework|Microsoft.Build.Tasks|Microsoft.Build.Tasks.
Deployment.Bootstrapper|Microsoft.Build.Tasks.Deployment.
ManifestUtilities|Microsoft.Build.Tasks.Hosting|Microsoft.Build.
Tasks.Windows|Microsoft.Build.Utilities|Microsoft.
CLRAdmin|Microsoft.CSharp|Microsoft.Data.Entity.Build.
Tasks|Microsoft.IE|Microsoft.Ink|Microsoft.Ink.TextInput|Microsoft.
JScript|Microsoft.JScript.Vsa|Microsoft.
ManagementConsole|Microsoft.ManagementConsole.
Advanced|Microsoft.ManagementConsole.Internal|Microsoft.
ServiceModel.Channels.Mail|Microsoft.ServiceModel.Channels.
Mail.ExchangeWebService|Microsoft.ServiceModel.Channels.Mail.
ExchangeWebService.Exchange2007|Microsoft.ServiceModel.
Channels.Mail.WindowsMobile|Microsoft.SqlServer.
Server|Microsoft.StylusInput|Microsoft.StylusInput.
PluginData|Microsoft.VisualBasic|Microsoft.VisualBasic.
ApplicationServices|Microsoft.VisualBasic.Compatibility.
VB6|Microsoft.VisualBasic.CompilerServices|Microsoft.VisualBasic.
Devices|Microsoft.VisualBasic.FileIO|Microsoft.VisualBasic.
Logging|Microsoft.VisualBasic.MyServices|Microsoft.VisualBasic.
MyServices.Internal|Microsoft.VisualBasic.Vsa|Microsoft.
VisualC|Microsoft.VisualC.StlClr|Microsoft.VisualC.StlClr.
Generic|Microsoft.Vsa|Microsoft.Vsa.Vb.CodeDOM|Microsoft.
Win32|Microsoft.Win32.SafeHandles|Microsoft.Windows.
Themes|Microsoft.WindowsCE.Forms|Microsoft.WindowsMobile.
DirectX|Microsoft.WindowsMobile.DirectX.
Direct3D|Microsoft_VsaVb|RegCode|System|System.AddIn|System.
AddIn.Contract|System.AddIn.Contract.Automation|System.
AddIn.Contract.Collections|System.AddIn.Hosting|System.AddIn.
Pipeline|System.CodeDom|System.CodeDom.Compiler|System.
Collections|System.Collections.Generic|System.Collections.
ObjectModel|System.Collections.Specialized|System.
ComponentModel|System.ComponentModel.
DataAnnotations|System.ComponentModel.Design|System.
ComponentModel.Design.Data|System.ComponentModel.Design.
Serialization|System.Configuration|System.Configuration.
Assemblies|System.Configuration.Install|System.Configuration.
Internal|System.Configuration.Provider|System.Data|System.Data.
Common|System.Data.Common.CommandTrees|System.Data.
Design|System.Data.Entity.Design|System.Data.Entity.Design.
AspNet|System.Data.EntityClient|System.Data.Linq|System.Data.
Linq.Mapping|System.Data.Linq.SqlClient|System.Data.Linq.
SqlClient.Implementation|System.Data.Mapping|System.Data.
Metadata.Edm|System.Data.Objects|System.Data.Objects.
DataClasses|System.Data.Odbc|System.Data.OleDb|System.Data.
OracleClient|System.Data.Services|System.Data.Services.
Client|System.Data.Services.Common|System.Data.Services.
Design|System.Data.Services.Internal|System.Data.Sql|System.Data.
SqlClient|System.Data.SqlTypes|System.Deployment.
Application|System.Deployment.Internal|System.
Diagnostics|System.Diagnostics.CodeAnalysis|System.Diagnostics.
Design|System.Diagnostics.Eventing|System.Diagnostics.Eventing.
Reader|System.Diagnostics.PerformanceData|System.Diagnostics.
SymbolStore|System.DirectoryServices|System.DirectoryServices.
AccountManagement|System.DirectoryServices.
ActiveDirectory|System.DirectoryServices.Protocols|System.
Drawing|System.Drawing.Design|System.Drawing.
Drawing2D|System.Drawing.Imaging|System.Drawing.
Printing|System.Drawing.Text|System.EnterpriseServices|System.
EnterpriseServices.CompensatingResourceManager|System.
EnterpriseServices.Internal|System.Globalization|System.IO|System.
IO.Compression|System.IO.IsolatedStorage|System.IO.Log|System.
IO.Packaging|System.IO.Pipes|System.IO.Ports|System.
IdentityModel.Claims|System.IdentityModel.Policy|System.
IdentityModel.Selectors|System.IdentityModel.Tokens|System.
Linq|System.Linq.Expressions|System.Management|System.
Management.Instrumentation|System.Media|System.
Messaging|System.Messaging.Design|System.Net|System.Net.
Cache|System.Net.Configuration|System.Net.Mail|System.Net.
Mime|System.Net.NetworkInformation|System.Net.
PeerToPeer|System.Net.PeerToPeer.Collaboration|System.Net.
Security|System.Net.Sockets|System.Printing|System.Printing.
IndexedProperties|System.Printing.Interop|System.
Reflection|System.Reflection.Emit|System.Resources|System.
Resources.Tools|System.Runtime|System.Runtime.
CompilerServices|System.Runtime.ConstrainedExecution|System.
Runtime.Hosting|System.Runtime.InteropServices|System.
Runtime.InteropServices.ComTypes|System.Runtime.
InteropServices.CustomMarshalers|System.Runtime.
InteropServices.Expando|System.Runtime.Remoting|System.
Runtime.Remoting.Activation|System.Runtime.Remoting.
Channels|System.Runtime.Remoting.Channels.Http|System.
Runtime.Remoting.Channels.Ipc|System.Runtime.Remoting.
Channels.Tcp|System.Runtime.Remoting.Contexts|System.
Runtime.Remoting.Lifetime|System.Runtime.Remoting.
Messaging|System.Runtime.Remoting.Metadata|System.Runtime.
Remoting.MetadataServices|System.Runtime.Remoting.
Proxies|System.Runtime.Remoting.Services|System.Runtime.
Serialization|System.Runtime.Serialization.Configuration|System.
Runtime.Serialization.Formatters|System.Runtime.Serialization.
Formatters.Binary|System.Runtime.Serialization.Formatters.
Soap|System.Runtime.Serialization.Json|System.Runtime.
Versioning|System.Security|System.Security.AccessControl|System.
Security.Authentication|System.Security.Authentication.
ExtendedProtection|System.Security.Authentication.
ExtendedProtection.Configuration|System.Security.
Cryptography|System.Security.Cryptography.Pkcs|System.Security.
Cryptography.X509Certificates|System.Security.Cryptography.
Xml|System.Security.Permissions|System.Security.Policy|System.
Security.Principal|System.Security.RightsManagement|System.
ServiceModel|System.ServiceModel.Activation|System.
ServiceModel.Activation.Configuration|System.ServiceModel.
Channels|System.ServiceModel.ComIntegration|System.
ServiceModel.Configuration|System.ServiceModel.
Description|System.ServiceModel.Diagnostics|System.
ServiceModel.Dispatcher|System.ServiceModel.Install.
Configuration|System.ServiceModel.Internal|System.ServiceModel.
MsmqIntegration|System.ServiceModel.PeerResolvers|System.
ServiceModel.Persistence|System.ServiceModel.Security|System.
ServiceModel.Security.Tokens|System.ServiceModel.
Syndication|System.ServiceModel.Web|System.
ServiceProcess|System.ServiceProcess.Design|System.Speech.
AudioFormat|System.Speech.Recognition|System.Speech.
Recognition.SrgsGrammar|System.Speech.Synthesis|System.
Speech.Synthesis.TtsEngine|System.Text|System.Text.
RegularExpressions|System.Threading|System.Timers|System.
Transactions|System.Transactions.Configuration|System.
Web|System.Web.ApplicationServices|System.Web.
Caching|System.Web.ClientServices|System.Web.ClientServices.
Providers|System.Web.Compilation|System.Web.
Configuration|System.Web.Configuration.Internal|System.Web.
DynamicData|System.Web.DynamicData.Design|System.Web.
DynamicData.ModelProviders|System.Web.Handlers|System.Web.
Hosting|System.Web.Mail|System.Web.Management|System.Web.
Mobile|System.Web.Profile|System.Web.Query.Dynamic|System.
Web.RegularExpressions|System.Web.Routing|System.Web.Script.
Serialization|System.Web.Script.Services|System.Web.
Security|System.Web.Services|System.Web.Services.
Configuration|System.Web.Services.Description|System.Web.
Services.Discovery|System.Web.Services.Protocols|System.Web.
SessionState|System.Web.UI|System.Web.UI.Adapters|System.Web.
UI.Design|System.Web.UI.Design.MobileControls|System.Web.UI.
Design.MobileControls.Converters|System.Web.UI.Design.
WebControls|System.Web.UI.Design.WebControls.
WebParts|System.Web.UI.MobileControls|System.Web.UI.
MobileControls.Adapters|System.Web.UI.MobileControls.
Adapters.XhtmlAdapters|System.Web.UI.WebControls|System.
Web.UI.WebControls.Adapters|System.Web.UI.WebControls.
WebParts|System.Web.Util|System.Windows|System.Windows.
Annotations|System.Windows.Annotations.Storage|System.
Windows.Automation|System.Windows.Automation.Peers|System.
Windows.Automation.Provider|System.Windows.Automation.
Text|System.Windows.Controls|System.Windows.Controls.
Primitives|System.Windows.Converters|System.Windows.
Data|System.Windows.Documents|System.Windows.Documents.
Serialization|System.Windows.Forms|System.Windows.Forms.
ComponentModel.Com2Interop|System.Windows.Forms.
Design|System.Windows.Forms.Design.Behavior|System.Windows.
Forms.Integration|System.Windows.Forms.Layout|System.
Windows.Forms.PropertyGridInternal|System.Windows.Forms.
VisualStyles|System.Windows.Ink|System.Windows.Ink.
AnalysisCore|System.Windows.Input|System.Windows.Input.
StylusPlugIns|System.Windows.Interop|System.Windows.
Markup|System.Windows.Markup.Localizer|System.Windows.
Markup.Primitives|System.Windows.Media|System.Windows.
Media.Animation|System.Windows.Media.Converters|System.
Windows.Media.Effects|System.Windows.Media.Imaging|System.
Windows.Media.Media3D|System.Windows.Media.Media3D.
Converters|System.Windows.Media.TextFormatting|System.
Windows.Navigation|System.Windows.Resources|System.
Windows.Shapes|System.Windows.Threading|System.Windows.
Xps|System.Windows.Xps.Packaging|System.Windows.Xps.
Serialization|System.Workflow.Activities|System.Workflow.
Activities.Configuration|System.Workflow.Activities.Rules|System.
Workflow.Activities.Rules.Design|System.Workflow.
ComponentModel|System.Workflow.ComponentModel.
Compiler|System.Workflow.ComponentModel.Design|System.
Workflow.ComponentModel.Serialization|System.Workflow.
Runtime|System.Workflow.Runtime.Configuration|System.
Workflow.Runtime.DebugEngine|System.Workflow.Runtime.
Hosting|System.Workflow.Runtime.Tracking|System.Xml|System.
Xml.Linq|System.Xml.Schema|System.Xml.Serialization|System.
Xml.Serialization.Advanced|System.Xml.Serialization.
Configuration|System.Xml.XPath|System.Xml.Xsl|System.Xml.Xsl.
Runtime|UIAutomationClientsideProviders|__builtin__|_codecs|_col
lections|_ctypes|_ctypes_test|_functools|_heapq|_locale|_md5|_ran
dom|_sha|_sha256|_sha512|_sre|_struct|_warnings|_weakref|_winreg
|array|binascii|cPickle|cStringIO|clr|cmath|copy_reg|datetime|email
|errno|exceptions|future_builtins|gc|imp|itertools|marshal|math|nt|
operator|os|os.path|re|select|socket|sys|thread|time|xxsubtype "C:
\eclipse\plugins\org.python.pydev_1.4.7.2843
\PySrc\pycompletionserver.py" 50819 50820) - the process in
NOT ALIVE anymore (output=1) - the output of the process is:
Std output:

Err output:
Traceback (most recent call last):

File "C:\eclipse\plugins\org.python.pydev_1.4.7.2843
\PySrc\pycompletionserver.py", line 32, in C:\eclipse\plugins\org.
python.pydev_1.4.7.2843\PySrc\pycompletionserver.py

File "C:\eclipse\plugins\org.python.pydev_1.4.7.2843
\PySrc\importsTipper.py", line 4, in C:\eclipse\plugins\org.python.
pydev_1.4.7.2843\PySrc\importsTipper.py

File "C:\Program Files\IronPython 2.6\Lib\inspect.py", line 950,
in C:\Program Files\IronPython 2.6\Lib\inspect.py

AttributeError: 'module' object has no attribute '_getframe'
At: at org.python.pydev.editor.codecompletion.shell.AbstractShell.
startIt(AbstractShell.java:467)

Discussion

  • Nivaldo
    Nivaldo
    2009-07-09

    screen shot of configuration

     
    Attachments
  • Nivaldo
    Nivaldo
    2009-07-09

    screen shot of ironpython config

     
    Attachments
  • Fabio Zadrozny
    Fabio Zadrozny
    2009-07-09

    • status: open --> pending
     
  • Fabio Zadrozny
    Fabio Zadrozny
    2009-07-09

    The command line to be run is:

    "C:\Program Files\IronPython 2.6\ipy.exe" -X:Frames -c "import sys;print sys.version;print sys._getframe()"

    (please post the result of running that command line)

     
  • Fabio Zadrozny
    Fabio Zadrozny
    2009-07-09

    Ok, closing bug (as the problem is that the ipy.exe was being added to the python preferences page -- instead of the iron python preferences page)

     
  • Fabio Zadrozny
    Fabio Zadrozny
    2009-07-09

    • status: pending --> closed-works-for-me