#2373: Deluge won't start on OS Mavericks
-----------------------+----------------------
Reporter: n1g2t3s4 | Owner: Cas
Type: bug | Status: assigned
Priority: major | Milestone: 1.3.7
Component: Console | Version: 1.3.6
Resolution: | Keywords:
-----------------------+----------------------
Comment (by lauhub):
The problem does not come from the quarantine flag: Deluge cannot run if
it is removed until modifications made as kicker78 gave them.
Here is some log, when I run :
{{{
$ bash -x /Applications/Deluge.app/Contents/MacOS/Deluge
}}}
== Without modification ==
{{{
+ EXEC=exec
++ basename /Applications/Deluge.app/Contents/MacOS/Deluge
+ name=Deluge
++ pwd
+ [[ /Applications/Deluge.app/Contents/MacOS/Deluge == /Users/lauhub* ]]
+ [[ /Applications/Deluge.app/Contents/MacOS/Deluge == \/\/* ]]
++ pwd
+ full_path=/Users/lauhub//Applications/Deluge.app/Contents/MacOS/Deluge
++ dirname /Users/lauhub//Applications/Deluge.app/Contents/MacOS/Deluge
+ tmp=/Users/lauhub//Applications/Deluge.app/Contents/MacOS
++ dirname /Users/lauhub//Applications/Deluge.app/Contents/MacOS
+ tmp=/Users/lauhub//Applications/Deluge.app/Contents
++ dirname /Users/lauhub//Applications/Deluge.app/Contents
+ bundle=/Users/lauhub//Applications/Deluge.app
+ bundle_contents=/Users/lauhub//Applications/Deluge.app/Contents
+ bundle_macos=/Users/lauhub//Applications/Deluge.app/Contents/MacOS
+ bundle_res=/Users/lauhub//Applications/Deluge.app/Contents/Resources
+ bundle_lib=/Users/lauhub//Applications/Deluge.app/Contents/Resources/lib
+ bundle_bin=/Users/lauhub//Applications/Deluge.app/Contents/Resources/bin
...
+ exec /Users/lauhub//Applications/Deluge.app/Contents/MacOS/Deluge-python
/Users/lauhub//Applications/Deluge.app/Contents/MacOS/Deluge-bin
/Applications/Deluge.app/Contents/MacOS/Deluge: line 80:
/Users/lauhub//Applications/Deluge.app/Contents/MacOS/Deluge-python: No
such file or directory
/Applications/Deluge.app/Contents/MacOS/Deluge: line 80: exec:
/Users/lauhub//Applications/Deluge.app/Contents/MacOS/Deluge-python:
cannot execute: No such file or directory
}}}
== With modification ==
{{{
+ EXEC=exec
++ basename /Applications/Deluge.app/Contents/MacOS/Deluge
+ name=Deluge
++ pwd
+ [[ /Applications/Deluge.app/Contents/MacOS/Deluge == /Users/lauhub* ]]
+ [[ /Applications/Deluge.app/Contents/MacOS/Deluge == \/\/* ]]
++ pwd
+ full_path=/Users/lauhub//Applications/Deluge.app/Contents/MacOS/Deluge
++ dirname /Users/lauhub//Applications/Deluge.app/Contents/MacOS/Deluge
+ tmp=/Users/lauhub//Applications/Deluge.app/Contents/MacOS
++ dirname /Users/lauhub//Applications/Deluge.app/Contents/MacOS
+ tmp=/Users/lauhub//Applications/Deluge.app/Contents
++ dirname /Users/lauhub//Applications/Deluge.app/Contents
+ bundle=/Users/lauhub//Applications/Deluge.app
+ bundle=/Applications/Deluge.app/
+ bundle_contents=/Applications/Deluge.app//Contents
+ bundle_macos=/Applications/Deluge.app//Contents/MacOS
...
+ exec /Applications/Deluge.app//Contents/MacOS/Deluge-python
/Applications/Deluge.app//Contents/MacOS/Deluge-bin
** (deluge:61142): WARNING **: Trying to register gtype 'GMountMountFlags'
as enum when in fact it is of type 'GFlags'
** (deluge:61142): WARNING **: Trying to register gtype 'GDriveStartFlags'
as enum when in fact it is of type 'GFlags'
** (deluge:61142): WARNING **: Trying to register gtype 'GSocketMsgFlags'
as enum when in fact it is of type 'GFlags'
}}}
The three last warning are normal: they mean Deluge was correctly
executed.
The problem comes from the bundle=`dirname "$tmp"` assignment which does
not set the correct path to bundle variable.
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2373#comment:13>
Deluge <http://deluge-torrent.org/>
Deluge project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/groups/opt_out.