Bug 1591 - MD trying to load MonoDoc docs from desktop
Summary: MD trying to load MonoDoc docs from desktop
Status: RESOLVED NORESPONSE
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 2.8
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-10-19 19:30 UTC by Mikayla Hutchinson [MSFT]
Modified: 2014-09-19 08:56 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NORESPONSE

Description Mikayla Hutchinson [MSFT] 2011-10-19 19:30:19 UTC
From http://lists.ximian.com/pipermail/monodevelop-list/2011-October/014080.html:

Error - 08:47:43 - Monodoc documentation tree could not be loaded.
System.IO.FileNotFoundException: Could not find file
'%USERPROFILE%\Desktop\monodoc.xml'.
File name: '%USERPROFILE%\Desktop\monodoc.xml'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess
access, Int32 rights, Boolean useRights, FileShare share, Int32
bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String
msgPath, Boolean bFromProxy, Boolean useLongPath)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
access, FileShare share, Int32 bufferSize)
at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials
credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)
at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role,
Type ofObjectToReturn)
at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
at System.Threading.CompressedStack.runTryCode(Object userData)
at
System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode
code, CleanupCode backoutCode, Object userData)
at System.Threading.CompressedStack.Run(CompressedStack compressedStack,
ContextCallback callback, Object state)
at System.Xml.XmlTextReaderImpl.OpenUrl()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean
preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at Monodoc.RootTree.LoadTree(String basedir)
at Monodoc.RootTree.LoadTree()
at MonoDevelop.Projects.HelpService.InitializeHelpTree()
Comment 1 Alan McGovern 2011-11-15 15:08:35 UTC
Is this an actual bug or is MD just searching a couple of different (unnecessary?) locations for the xml data?
Comment 2 PJ 2013-11-19 17:04:02 UTC
This bug has been in the NEEDINFO state with no changes for the last 90 days. Can we put this back into the NEW or CONFIRMED state, or are we still awaiting response?

If there is no change in the status of this bug over the next two weeks, this bug will be marked as NORESPONSE.
Comment 3 PJ 2013-12-05 18:34:04 UTC
This bug has not been changed from the NEEDINFO state since my previous comment, marking as RESOLVED NORESPONSE.

Please feel free to REOPEN this bug at any time if you are still experiencing the issue. Please add the requested information and set the bug back to the NEW (or CONFIRMED) state.
Comment 4 Kai-Mikael Jää-Aro 2014-09-19 08:56:16 UTC
I am running MonoDevelop-Unity 4.0.1 under OS X 10.9.4, and I'm getting the same error on start-up:
WARNING [2014-09-19 14:48:40Z]: Gtk-Warning: Locale not supported by C library.
	Using the fallback 'C' locale.
Stack trace: 
   at Gtk.Application.gtk_init(Int32 ByRef , IntPtr ByRef )
   at Gtk.Application.do_init(System.String progname, System.String[] ByRef args, Boolean check)
   at Gtk.Application.Init(System.String progname, System.String[] ByRef args)
   at MonoDevelop.Ide.IdeStartup.Run(MonoDevelop.Ide.MonoDevelopOptions options) in /BuildAgent/work/5c6d706b6ad8bc12/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:line 100
   at MonoDevelop.Ide.IdeStartup.Main(System.String[] args) in /BuildAgent/work/5c6d706b6ad8bc12/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:line 542
   at MonoDevelop.Startup.MonoDevelopMain.Main(System.String[] args) in /BuildAgent/work/5c6d706b6ad8bc12/monodevelop/main/src/core/MonoDevelop.Startup/MonoDevelop.Startup/MonoDevelopMain.cs:line 16
Starting MonoDevelop-Unity
   Loading Workbench
      Initializing Main Window
ERROR [2014-09-19 14:48:43Z]: Monodoc documentation tree could not be loaded.
System.IO.FileNotFoundException: Could not find file "/monodoc.xml".
File name: '/monodoc.xml'
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0 
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
  at System.Xml.XmlUrlResolver.GetEntity (System.Uri absoluteUri, System.String role, System.Type ofObjectToReturn) [0x00000] in <filename unknown>:0 
  at Mono.Xml2.XmlTextReader.GetStreamFromUrl (System.String url, System.String& absoluteUriString) [0x00000] in <filename unknown>:0 
  at Mono.Xml2.XmlTextReader.ReadTextReader (Int32 remained) [0x00000] in <filename unknown>:0 
  at Mono.Xml2.XmlTextReader.PeekChar () [0x00000] in <filename unknown>:0 
  at Mono.Xml2.XmlTextReader.ReadContent () [0x00000] in <filename unknown>:0 
  at Mono.Xml2.XmlTextReader.Read () [0x00000] in <filename unknown>:0 
  at System.Xml.XmlTextReader.Read () [0x00000] in <filename unknown>:0 
  at Mono.Xml.EntityResolvingXmlReader.Read () [0x00000] in <filename unknown>:0 
  at Mono.Xml.DTDValidatingReader.ReadContent () [0x00000] in <filename unknown>:0 
  at Mono.Xml.DTDValidatingReader.Read () [0x00000] in <filename unknown>:0 
  at Mono.Xml.Schema.XsdValidatingReader.Read () [0x00000] in <filename unknown>:0 
  at System.Xml.XmlValidatingReader.Read () [0x00000] in <filename unknown>:0 
  at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0 
  at System.Xml.XmlDocument.ReadNode (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0 
  at System.Xml.XmlDocument.Load (System.Xml.XmlReader xmlReader) [0x00000] in <filename unknown>:0 
  at System.Xml.XmlDocument.Load (System.String filename) [0x00000] in <filename unknown>:0 
  at Monodoc.RootTree.LoadTree (System.String basedir) [0x00000] in <filename unknown>:0 
  at Monodoc.RootTree.LoadTree () [0x00000] in <filename unknown>:0 
  at MonoDevelop.Projects.HelpService.InitializeHelpTree () [0x0002a] in /BuildAgent/work/5c6d706b6ad8bc12/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/HelpService.cs:77 
Boo.MonoDevelop.ProjectModel.BooLanguageBinding()
UnityScript.MonoDevelop.ProjectModel.UnityScriptLanguageBinding()