Unable to do anything

Bug #794540 reported by Charles Dumont
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
monodevelop-python (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: monodevelop-python

I'm so sorry for this summary but ... i cannot be more precise. I've installed everything about python but...

It's unable to open any .py file inside a Python project, even the main.py automatically created:
A window is displayed indicating :
Le fichier <blabla> main.py n'a pas pu être ouvert.
Argument cannot be null.
Parameter name: runtime.

It's also unable to open the prject options window:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at PyBinding.PythonConfiguration.CopyFrom (MonoDevelop.Projects.ItemConfiguration config) [0x00000] in <filename unknown>:0
  at MonoDevelop.Projects.ItemConfiguration.Clone () [0x00000] in <filename unknown>:0
  at MonoDevelop.Ide.Gui.Dialogs.ConfigurationData.Build (IConfigurationTarget entry) [0x00000] in <filename unknown>:0
  at MonoDevelop.Ide.Gui.Dialogs.MultiConfigItemOptionsDialog.get_ConfigurationData () [0x00000] in <filename unknown>:0
  at MonoDevelop.Ide.Gui.Dialogs.MultiConfigItemOptionsPanel.Initialize (MonoDevelop.Ide.Gui.Dialogs.OptionsDialog dialog, System.Object dataObject) [0x00000] in <filename unknown>:0
  at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.CreatePage (TreeIter it, MonoDevelop.Ide.Extensions.OptionsDialogSection section, System.Object dataObject) [0x00000] in <filename unknown>:0
  at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.AddSection (TreeIter parentIter, MonoDevelop.Ide.Extensions.OptionsDialogSection section, System.Object dataObject) [0x00000] in <filename unknown>:0
  at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.AddChildSections (TreeIter parentIter, MonoDevelop.Ide.Extensions.OptionsDialogSection section, System.Object dataObject) [0x00000] in <filename unknown>:0
  at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.AddSection (TreeIter parentIter, MonoDevelop.Ide.Extensions.OptionsDialogSection section, System.Object dataObject) [0x00000] in <filename unknown>:0
  at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.AddSection (MonoDevelop.Ide.Extensions.OptionsDialogSection section, System.Object dataObject) [0x00000] in <filename unknown>:0
  at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.FillTree () [0x00000] in <filename unknown>:0
  at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog..ctor (Gtk.Window parentWindow, System.Object dataObject, System.String extensionPath, Boolean removeEmptySections) [0x00000] in <filename unknown>:0
  at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog..ctor (Gtk.Window parentWindow, System.Object dataObject, System.String extensionPath) [0x00000] in <filename unknown>:0
  at MonoDevelop.Ide.Gui.Dialogs.ItemOptionsDialog..ctor (Gtk.Window parentWindow, System.Object dataObject) [0x00000] in <filename unknown>:0
  at MonoDevelop.Ide.Gui.Dialogs.MultiConfigItemOptionsDialog..ctor (Gtk.Window parentWindow, System.Object dataObject) [0x00000] in <filename unknown>:0
  at MonoDevelop.Ide.Projects.ProjectOptionsDialog..ctor (Gtk.Window parentWindow, MonoDevelop.Projects.SolutionEntityItem project) [0x00000] in <filename unknown>:0
  at MonoDevelop.Ide.ProjectOperations.ShowOptions (IWorkspaceObject entry, System.String panelId) [0x00000] in <filename unknown>:0
  at MonoDevelop.Ide.ProjectOperations.ShowOptions (IWorkspaceObject entry) [0x00000] in <filename unknown>:0
  at MonoDevelop.Ide.Gui.Pads.ProjectPad.ProjectNodeCommandHandler.ActivateItem () [0x00000] in <filename unknown>:0
  at MonoDevelop.Ide.Gui.Components.NodeCommandHandler.ActivateMultipleItems () [0x00000] in <filename unknown>:0
  at MonoDevelop.Ide.Gui.Components.ExtensibleTreeView.ActivateCurrentItem () [0x00000] in <filename unknown>:0
  at MonoDevelop.Ide.Gui.Components.ExtensibleTreeView.OnNodeActivated (System.Object sender, Gtk.RowActivatedArgs args) [0x00000] in <filename unknown>:0
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <filename unknown>:0
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0
  at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in <filename unknown>:0

Revision history for this message
Tyler Larson (pjhuyl525) wrote :

The python language support for monodevelop does not yet include support for python 2.7. You currently have to have python 2.6 or 2.5 installed to use it.

Revision history for this message
Charles Dumont (unomadh) wrote :

You know current is 3.2 ?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in monodevelop-python (Ubuntu):
status: New → Confirmed
Revision history for this message
Jimmy Merrild Krag (beruic) wrote :

It worked for me to install python2.6.
Could you at least add a dependency to the package as a quick-fix, and maybe give some hint to which version is used in MonoDevelop?

Revision history for this message
Charles Dumont (unomadh) wrote :

This works today having python 2.7 or 2.6

The problem is that these are not dependencies of the plugin. I couldn't imagine at the moment that I had to install a previous version, I just thought I had to have the latest version installed...

Of course, i really would love to see python 3.2 work on Monodevelop (I continue to hope)

I would also appreciate that the last version is the one selected by default

Revision history for this message
Jimmy Merrild Krag (beruic) wrote :

How did you make it work with 2.7? I did have 2.7 installed, but had to install 2.6 to make it work.

Revision history for this message
Charles Dumont (unomadh) wrote :

Maybe by choosing the version in the project options

Revision history for this message
Jimmy Merrild Krag (beruic) wrote :

Nice. Then I can uninstall 2.6. Would whish 2.7 was default when I create the project though.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.