Re: [Trisquel-users] MonoDevelop fails to start

2015-06-23 Thread santi

I wasn't able to reproduce this, can you provide more info in the bureport?




Re: [Trisquel-users] MonoDevelop fails to start

2015-06-23 Thread moxalt
That is really all there is to it. I am running Trisquel 7 Belenos with
belenos, belenos-security, belenos-backports, and belenos-updates
enabled, on an ASUS N43SL, with your very own Trisquel (customised GNOME
fallback) desktop environment. I installed monodevelop with sudo apt-get
install monodevelop, and it went through fine. However, I tried running
monodevelop from both the application menu and from a terminal, with and
without root. When running from the menu, a 'Starting MonoDevelop...'
window (which I could not actually open) appeared in the window
switcher. No monodevelop or related processes were found in the System
Monitor either before, during, or after my run attempts. When running
from terminal, the mysterious hidden window did not appear, and the
command simply gave me a new prompt. monodevelop --no-splash did
nothing, but monodevelop --no-redirect gave this output:

FATAL ERROR [2015-06-22 19:37:47Z]: MonoDevelop failed to start. Some of
the assemblies required to run MonoDevelop (for example gtk-sharp)may
not be properly installed in the GAC.
System.Exception: Toolkit could not be loaded ---
System.IO.FileNotFoundException: Could not load file or assembly
'Mono.Cairo, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756' or one of its dependencies.
File name: 'Mono.Cairo, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756'
  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj,
System.Object[] parameters) [0x0] in filename unknown:0 
  at System.Activator.CreateInstance (System.Type type, Boolean
nonPublic) [0x0] in filename unknown:0 
  at System.Activator.CreateInstance (System.Type type) [0x0] in
filename unknown:0 
  at Xwt.Backends.ToolkitEngineBackend.CreateBackend (System.Type
backendType) [0x0] in filename unknown:0 
  at
Xwt.Backends.ToolkitEngineBackend.CreateBackend[TextLayoutBackendHandler] () 
[0x0] in filename unknown:0 
  at Xwt.Toolkit.Initialize (Boolean isGuest) [0x0] in filename
unknown:0 
  at Xwt.Toolkit.LoadBackend (System.String type, Boolean isGuest,
Boolean throwIfFails) [0x0] in filename unknown:0 
  --- End of inner exception stack trace ---
  at Xwt.Toolkit.LoadBackend (System.String type, Boolean isGuest,
Boolean throwIfFails) [0x0] in filename unknown:0 
  at Xwt.Toolkit.Load (System.String fullTypeName, Boolean isGuest)
[0x0] in filename unknown:0 
  at Xwt.Application.Initialize (System.String backendType) [0x0] in
filename unknown:0 
  at Xwt.Application.Initialize (ToolkitType type) [0x0] in
filename unknown:0 
  at Xwt.Application.InitializeAsGuest (ToolkitType type) [0x0] in
filename unknown:0 
  at MonoDevelop.Ide.IdeStartup.Run (MonoDevelop.Ide.MonoDevelopOptions
options) [0x0] in filename unknown:0 
  at MonoDevelop.Ide.IdeStartup.Main (System.String[] args) [0x0] in
filename unknown:0

From this output, mjmhogg71 suggested installing libmono-cairo2.0-cil. I
did, and that resolved the issue. Monodevelop launches fine now, and
works as advertised. However, upon attempting to compile a piece of C#
code, the status bar thingy at the top of the mono interface complained
of not being able to find a C# compiler. I installed mono-devel (it
probably would have worked with mono-mcs alone) and programs now compile
fine. I fear there may be other problems with missing dependencies.

Currently, neither mono-devel, mono-mcs, or libmono-cairo2.0-cil are
listed as dependencies of the package monodevelop in the package
repository. However, from what I remember of Mono under Debian, all of
these packages were dependencies (though you should probably check the
Debian repo), and it worked fine out of the box.

One strange thing to note: it worked absolutely flawlessly out of the
box no more than two/three weeks ago under Xfce.

To conclude: I think mono-devel and libmono-cairo2.0-cil should be added
to the monodevelop .deb as dependencies. A surefire way of avoiding this
problem in any case.



Re: [Trisquel-users] MonoDevelop fails to start

2015-06-22 Thread moxalt
You truly are a goldmine of helpful advice. Output of monodevelop
--no-redirect:

FATAL ERROR [2015-06-22 19:37:47Z]: MonoDevelop failed to start. Some of
the assemblies required to run MonoDevelop (for example gtk-sharp)may
not be properly installed in the GAC.
System.Exception: Toolkit could not be loaded ---
System.IO.FileNotFoundException: Could not load file or assembly
'Mono.Cairo, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756' or one of its dependencies.
File name: 'Mono.Cairo, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756'
  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj,
System.Object[] parameters) [0x0] in filename unknown:0 
  at System.Activator.CreateInstance (System.Type type, Boolean
nonPublic) [0x0] in filename unknown:0 
  at System.Activator.CreateInstance (System.Type type) [0x0] in
filename unknown:0 
  at Xwt.Backends.ToolkitEngineBackend.CreateBackend (System.Type
backendType) [0x0] in filename unknown:0 
  at
Xwt.Backends.ToolkitEngineBackend.CreateBackend[TextLayoutBackendHandler] () 
[0x0] in filename unknown:0 
  at Xwt.Toolkit.Initialize (Boolean isGuest) [0x0] in filename
unknown:0 
  at Xwt.Toolkit.LoadBackend (System.String type, Boolean isGuest,
Boolean throwIfFails) [0x0] in filename unknown:0 
  --- End of inner exception stack trace ---
  at Xwt.Toolkit.LoadBackend (System.String type, Boolean isGuest,
Boolean throwIfFails) [0x0] in filename unknown:0 
  at Xwt.Toolkit.Load (System.String fullTypeName, Boolean isGuest)
[0x0] in filename unknown:0 
  at Xwt.Application.Initialize (System.String backendType) [0x0] in
filename unknown:0 
  at Xwt.Application.Initialize (ToolkitType type) [0x0] in
filename unknown:0 
  at Xwt.Application.InitializeAsGuest (ToolkitType type) [0x0] in
filename unknown:0 
  at MonoDevelop.Ide.IdeStartup.Run (MonoDevelop.Ide.MonoDevelopOptions
options) [0x0] in filename unknown:0 
  at MonoDevelop.Ide.IdeStartup.Main (System.String[] args) [0x0] in
filename unknown:0 

As to what it may mean, I have no clue. Wrong libcairo version or
something? Yet it worked fine in Xfce. Conundrums, conundrums.

Danke.



Re: [Trisquel-users] MonoDevelop fails to start

2015-06-22 Thread mjmhogg71

Hmmm...not sure either.
Try installing libmono-cairo2.0-cil (unless it's installed already of  
course).

If that doesn't fix it then I don't know, sorry !
Gerne Doch.


Re: [Trisquel-users] MonoDevelop fails to start

2015-06-22 Thread mjmhogg71

try some options from terminal:

monodevelop --no-splash

or

monodevelop --no-redirect

...that might show some error reports !
thanks


Re: [Trisquel-users] MonoDevelop fails to start

2015-06-22 Thread mjmhogg71

try running it from terminal as root, as it could be an ownership issue


Re: [Trisquel-users] MonoDevelop fails to start

2015-06-22 Thread moxalt
That was a glaringly obvious thing to do- one which I completely forgot
to consider. Thanks.

Unfortunately, it didn't work.

- sigh - I'm stuck with using mono-devel. An IDE would be nice.



Re: [Trisquel-users] MonoDevelop fails to start

2015-06-22 Thread moxalt
You sir, are a lifesaver. It worked. I am forever in your debt.

I am not actually German btw.



Re: [Trisquel-users] MonoDevelop fails to start

2015-06-22 Thread moxalt
I wonder why that wasn't installed as a dependency?



Re: [Trisquel-users] MonoDevelop fails to start

2015-06-22 Thread marioxcc . MT

I suggest reporting it as a bug.



Re: [Trisquel-users] MonoDevelop fails to start

2015-06-22 Thread moxalt
Done. http://trisquel.info/en/issues/14721



[Trisquel-users] MonoDevelop fails to start

2015-06-21 Thread moxalt
I am running Trisquel 7 with all repositories enabled. I installed
MonoDevelop (4.0.12, I think) with apt-get, and the installation went
through fine, with MonoDevelop being added to my main menu.

However, when I attempt to launch MonoDevelop, I can see 'Starting
MonoDevelop...' in the window switcher for about 10 seconds, then it
closes, and nothing. MonoDevelop doesn't show up in the system monitor
either during launching or after.

Has anyone else experienced this issue? I looked it up, but I'm slightly
wary of replacing files I don't understand. Funnily enough, it worked
perfectly under Trisquel Xfce (4.11).

Help!

PS. In the meantime, are there any command-line C# compilers in the
Trisquel repos I could use? This has to be done for Tuesday...

If only we were taught in a less Windows-centric language.