FS#46248 - [monodevelop] monodevelop doesn't start

Attached to Project: Arch Linux
Opened by Artyom Kazak (artyom.kazak) - Thursday, 10 September 2015, 16:59 GMT
Last edited by Isenmann Daniel (ise) - Sunday, 13 September 2015, 12:30 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Isenmann Daniel (ise)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: monodevelop doesn't start

Additional info:
* package version: 5.9.6.20-1

Steps to reproduce:
* type “monodevelop” in console

The error will be

Cannot open assembly '/usr/sbin/monodevelop/lib/monodevelop/bin/MonoDevelop.exe': Not a directory.

It starts normally if I edit /usr/sbin/monodevelop:

EXE_PATH="/usr/lib/monodevelop/bin/MonoDevelop.exe"
This task depends upon

Closed by  Isenmann Daniel (ise)
Sunday, 13 September 2015, 12:30 GMT
Reason for closing:  Not a bug
Additional comments about closing:  See comments
Comment by Isenmann Daniel (ise) - Sunday, 13 September 2015, 11:06 GMT
Can't reproduce it, monodevelop starts without any error here.
Can you give some more information like which desktop environment, etc.

Next strange thing is that monodevelop's binary isn't located in /usr/sbin, it's in /usr/bin. Why is it located in /usr/sbin on your PC?
Comment by Artyom Kazak (artyom.kazak) - Sunday, 13 September 2015, 12:23 GMT
I used /usr/sbin because “which monodevelop” says it's located in /usr/sbin/monodevelop, and it happens because /usr/sbin comes before /usr/bin in my PATH. Actually, this seems to be the root cause, because the original EXE_PATH relies on /bin being present in the path:

EXE_PATH="${0%%/bin/monodevelop}/lib/monodevelop/bin/MonoDevelop.exe"

Since getting /usr/sbin into PATH is my fault, I guess the issue can be closed now.
Comment by Isenmann Daniel (ise) - Sunday, 13 September 2015, 12:30 GMT
Okay, thanks for the answer. I will close the bug as invalid.

Loading...