aBothe / Mono-D

D Add-In for MonoDevelop
http://wiki.dlang.org/Mono-D
Other
113 stars 26 forks source link

Can't run a dub project. (dub exited with code: 1) #655

Closed m-sz closed 8 years ago

m-sz commented 8 years ago

I am trying to build even the simplest (auto-generated) project using dub, and it fails. I am running on arch linux and have performed all the necessary tasks to install and setup MonoDevelop and Mono-D.

The project builds fine, but upon trying to run it the only message i receive is "dub exited with code: 1". I have tried to find more informations regarding this problem but with no avail.

m-sz commented 8 years ago

I have just found a solution to this issue. Running monodevelop with: $ unset GNOME_DESKTOP_SESSION_ID $ monodevelop

Seems to fix the issue. Any idea how to make it permanent ?

aBothe commented 8 years ago

Hey there, sorry for not having answered your issue. May I ask you about how you found that out? :o

Anyway, under linux (and osx probably as well), 'monodevelop' is just a script resting in /usr/bin or somewhere similar, so you may edit that script.