Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken with Xamarin 5.3 build 423 #524

Closed
etcimon opened this issue Aug 14, 2014 · 19 comments
Closed

Broken with Xamarin 5.3 build 423 #524

etcimon opened this issue Aug 14, 2014 · 19 comments

Comments

@etcimon
Copy link
Contributor

etcimon commented Aug 14, 2014

Since I updated to the latest Xamarin Studio alpha, the projects don't open anymore and when downgrading to older versions of Mono-D, the parser doesn't work at all...

@aBothe
Copy link
Owner

aBothe commented Aug 14, 2014

First off, try reinstalling Mono-D. Are D settings available in the global settings dialog? Just to make sure it loaded mono-d properly. I updated XS today as well and everything went fine.

@etcimon
Copy link
Contributor Author

etcimon commented Aug 14, 2014

Yes, I tried restoring previous versions (in LocalInstall/Addins) compiled previous and master versions from git commits in Visual Studio 2013 as well, no luck. I re-downloaded and re-installed Xamarin as well from http://monodevelop.com/download following the Alpha updates again. I'll try a complete reinstall (without local folders) now. I just can't find last week's Xamarin installer, that would surely solve it for me

@etcimon
Copy link
Contributor Author

etcimon commented Aug 14, 2014

I tried a complete re-installation, same issue. I could use a previous version Xamarin installer right now =)

@etcimon
Copy link
Contributor Author

etcimon commented Aug 14, 2014

To be more specific, when I open a mono-d project all the menus go gray and the controls are disabled.

@aBothe
Copy link
Owner

aBothe commented Aug 14, 2014

Are there D options in the global options?

@etcimon
Copy link
Contributor Author

etcimon commented Aug 14, 2014

Yep

@aBothe
Copy link
Owner

aBothe commented Aug 14, 2014

So it's actually loaded which is generally both a nice and a bad sign. :D
I'll reboot - time for heading on irc?

@etcimon
Copy link
Contributor Author

etcimon commented Aug 14, 2014

I have this in my logs:

ERROR [2014-08-14 13:34:31Z]: Gtk-Critical: gtk_box_pack: assertion 'GTK_IS_WIDGET (child)' failed
Stack trace:
at Gtk.Box.gtk_box_pack_start(IntPtr raw, IntPtr child, Boolean expand, Boolean fill, UInt32 padding)
at Gtk.Box.PackStart(Widget child, Boolean expand, Boolean fill, UInt32 padding)
at MonoDevelop.Components.Docking.DockItemToolbar.Add(Widget widget, Boolean fill, Int32 padding, Int32 index)
at MonoDevelop.Components.Docking.DockItemToolbar.Add(Widget widget, Boolean fill, Int32 padding)
at MonoDevelop.Components.Docking.DockItemToolbar.Add(Widget widget, Boolean fill)
at MonoDevelop.Components.Docking.DockItemToolbar.Add(Widget widget)
at MonoDevelop.Ide.Gui.Pads.TaskListPad.OnContentSwitched(Object obj, EventArgs e)
at MonoDevelop.Ide.Gui.Pads.TaskListPad.MonoDevelop.Ide.Gui.IPadContent.Initialize(IPadWindow window)
at MonoDevelop.Ide.Codons.PadCodon.InitializePadContent(IPadWindow window)
at MonoDevelop.Ide.Gui.DefaultWorkbench.CreatePadContent(Boolean force, PadCodon padCodon, PadWindow window, DockItem item)
at MonoDevelop.Ide.Gui.DefaultWorkbench.<>c__DisplayClassb.b__7(Object param0, EventArgs param1)
at MonoDevelop.Components.Docking.DockItem.SetupContent(Object ob, EventArgs args)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.UnsafeInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at GLib.Signal.ClosureInvokedCB(Object o, ClosureInvokedArgs args)
at GLib.SignalClosure.Invoke(ClosureInvokedArgs args)
at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
at Gtk.Widget.gtk_widget_show(IntPtr raw)
at Gtk.Widget.Show()
at MonoDevelop.Components.Docking.DockGroup.AddRemoveWidgets()
at MonoDevelop.Components.Docking.DockGroup.AddRemoveWidgets()
at MonoDevelop.Components.Docking.DockContainer.RelayoutWidgets()
at MonoDevelop.Components.Docking.DockContainer.LoadLayout(DockLayout dl)
at MonoDevelop.Components.Docking.DockFrame.LoadLayout(String layoutName)
at MonoDevelop.Components.Docking.DockFrame.set_CurrentLayout(String value)
at MonoDevelop.Ide.Gui.DefaultWorkbench.set_CurrentLayout(String value)
at MonoDevelop.Ide.Gui.Workbench.Show(String workbenchMemento)
at MonoDevelop.Ide.IdeApp.Initialize(IProgressMonitor monitor)
at MonoDevelop.Ide.IdeStartup.Run(MonoDevelopOptions options)
at MonoDevelop.Ide.IdeStartup.Main(String[] args, IdeCustomizer customizer)
at Xamarin.Startup.MainClass.Main(String[] args)

@aBothe
Copy link
Owner

aBothe commented Aug 14, 2014

Alright, I'm getting the update now as well. Let's see.

@etcimon
Copy link
Contributor Author

etcimon commented Aug 14, 2014

Oh I hope you saved the earlier version :/

@etcimon
Copy link
Contributor Author

etcimon commented Aug 14, 2014

I disabled the TaskListPad, that's apparently not the issue even though that particular error goes away from the logs

@aBothe
Copy link
Owner

aBothe commented Aug 14, 2014

okay, found out the issue.. Hopefully the reparse cycle isn't broken, as I experienced recently.

@etcimon
Copy link
Contributor Author

etcimon commented Aug 14, 2014

Where do you put your breakpoints? I can't seem to find a good way to debug this, I'm not sure what the entry point is

@aBothe
Copy link
Owner

aBothe commented Aug 14, 2014

Okay, it is broken. Let's see whether I can workaround this.

@aBothe
Copy link
Owner

aBothe commented Aug 14, 2014

I just opened a project, waited a bit, broke execution.

@etcimon
Copy link
Contributor Author

etcimon commented Aug 14, 2014

I get an issue about not finding the monodoc.xml

@etcimon
Copy link
Contributor Author

etcimon commented Aug 14, 2014

Once I have the sources/ folder and monodoc.xml file in the same folder as the mono-d dll, the exceptions left are about mscorlib.XmlSerializers and Xwt.Gtk.Windows dependencies, and a NullReferenceException in the LazyProjectLoader.AddOrUpdateFiles call. Are the dependencies something you can just ignore?

@aBothe
Copy link
Owner

aBothe commented Aug 14, 2014

It primarily was this line
0f725ea#diff-f107b70c52214b18feef2dd0e7c21cc0L211

@etcimon
Copy link
Contributor Author

etcimon commented Aug 14, 2014

Oh, I broke a junction when trying to reinstall. It's good now, thanks for fixing quickly =)

@etcimon etcimon closed this as completed Aug 14, 2014
aBothe pushed a commit that referenced this issue Aug 14, 2014
… in order to let the parse system thing that its project context wrapper thingy has been loaded. This will remain established only until the next XS release.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants