[MacPorts] #16652: Error in execution of built deluge, Fatal Python error: Interpreter not initialized (version mismatch?)

MacPorts noreply at macports.org
Thu Sep 25 11:42:52 PDT 2008


#16652: Error in execution of built deluge, Fatal Python error: Interpreter not
initialized (version mismatch?)
----------------------------------------------------------------------------+
 Reporter:  kjomara at scienceus.org                                           |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect                                                          |      Status:  new                                  
 Priority:  Normal                                                          |   Milestone:  Port Bugs                            
Component:  ports                                                           |     Version:  1.6.0                                
 Keywords:  fatal python error interpreter not initalized version mismatch  |        Port:  deluge                               
----------------------------------------------------------------------------+
 I have now successfully (seeminlgly) built deluge, but now there is an
 execution error which prevents deluge from running successfully.  I have
 no other versions of python installed on my system:

 sudo port installed python*
 Password:
 The following ports are currently installed:
   python25 @2.5.2_2+darwin_9
   python25 @2.5.2_5+darwin_9 (active)
   python_select @0.1_4+darwin_9 (active)

 It seems that the previous version of python installed is associated with
 a bunch of previous versions of python modules, but
 all have been upgraded to support the latest, active version (2.5.2.5)

 Here is the error I receive when I execute [[deluge &]]:

 1] 34034
 kevin-omaras-macbook:~ kevinomara$ [INFO    ] 23:40:23 main:93 Deluge ui
 1.0.0
 [DEBUG   ] 23:40:23 main:94 options: {'config': None, 'logfile': None,
 'ui': None}
 [DEBUG   ] 23:40:23 main:95 args: []
 [DEBUG   ] 23:40:23 configmanager:44 ConfigManager started..
 [INFO    ] 23:40:23 main:98 Starting ui..
 [DEBUG   ] 23:40:23 ui:44 UI init..
 [DEBUG   ] 23:40:23 configmanager:88 Getting config 'ui.conf'
 [DEBUG   ] 23:40:23 config:47 Config created with filename: ui.conf
 [DEBUG   ] 23:40:23 config:48 Config defaults: {'default_ui': 'gtk'}
 [INFO    ] 23:40:23 ui:60 Starting GtkUI..
 [DEBUG   ] 23:40:23 client:54 CoreProxy init..
 [DEBUG   ] 23:40:23 configmanager:69 get_config_dir:
 /Users/kevinomara/.config/deluge
 [DEBUG   ] 23:40:23 configmanager:88 Getting config 'gtkui.conf'
 [DEBUG   ] 23:40:23 config:47 Config created with filename: gtkui.conf
 [DEBUG   ] 23:40:23 config:48 Config defaults: {'autoadd_queued': False,
 'close_to_tray': True, 'window_width': 640, 'default_load_path': None,
 'window_y_pos': 0, 'classic_mode': True, 'window_pane_position': -1,
 'enabled_plugins': [], 'show_connection_manager_on_start': True,
 'show_statusbar': True, 'autoadd_enable': False,
 'tray_download_speed_list': [5.0, 10.0, 30.0, 80.0, 300.0],
 'autoconnect_host_uri': None, 'window_maximized': False,
 'enable_system_tray': True, 'show_sidebar': True, 'window_x_pos': 0,
 'window_height': 480, 'lock_tray': False, 'connection_limit_list': [50,
 100, 200, 300, 500], 'tray_password': '', 'focus_add_dialog': True,
 'show_new_releases': True, 'start_in_tray': False, 'autoconnect': False,
 'choose_directory_dialog_path': '/Users/kevinomara', 'check_new_releases':
 True, 'autostart_localhost': False, 'show_toolbar': True,
 'autoadd_location': '', 'config_location':
 '/Users/kevinomara/.config/deluge', 'tray_upload_speed_list': [5.0, 10.0,
 30.0, 80.0, 300.0], 'interactive_add': True, 'signal_port': 40000}
 1.0.0
 [DEBUG   ] 23:40:23 gtkui:165 retcode: 0
 [DEBUG   ] 23:40:23 component:102 Registered QueuedTorrents with
 ComponentRegistry..
 [DEBUG   ] 23:40:23 configmanager:88 Getting config 'gtkui.conf'
 [DEBUG   ] 23:40:24 component:102 Registered IPCInterface with
 ComponentRegistry..
 [DEBUG   ] 23:40:24 component:102 Registered DbusInterface with
 ComponentRegistry..
 [WARNING ] 23:40:24 ipcinterface:69 Unable to start DBUS component:
 org.freedesktop.DBus.Error.Spawn.ExecFailed: dbus-launch failed to
 autolaunch D-Bus session: Autolaunch requested, but X11 support not
 compiled in.
 Cannot continue.

 [DEBUG   ] 23:40:24 component:102 Registered MainWindow with
 ComponentRegistry..
 [DEBUG   ] 23:40:24 configmanager:88 Getting config 'gtkui.conf'
 [DEBUG   ] 23:40:24 mainwindow:84 Showing window
 [DEBUG   ] 23:40:24 menubar:49 MenuBar init..
 [DEBUG   ] 23:40:24 component:102 Registered MenuBar with
 ComponentRegistry..
 [DEBUG   ] 23:40:24 configmanager:88 Getting config 'gtkui.conf'
 [DEBUG   ] 23:40:24 component:102 Registered ToolBar with
 ComponentRegistry..
 [DEBUG   ] 23:40:24 toolbar:48 ToolBar Init..
 [DEBUG   ] 23:40:24 configmanager:88 Getting config 'gtkui.conf'
 /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
 /site-packages/deluge/ui/gtkui/toolbar.py:77: GtkWarning:
 gtk_menu_attach_to_widget(): menu already attached to GtkImageMenuItem
 component.get("MenuBar").torrentmenu_glade.get_widget("remove_torrent_menu"))
 [DEBUG   ] 23:40:24 component:102 Registered TorrentView with
 ComponentRegistry..
 [DEBUG   ] 23:40:24 listview:124 ListView initialized..
 [DEBUG   ] 23:40:24 torrentview:110 TorrentView Init..
 [DEBUG   ] 23:40:24 configmanager:88 Getting config 'gtkui.conf'
 [DEBUG   ] 23:40:24 listview:193 Loading ListView state file:
 torrentview.state
 [DEBUG   ] 23:40:24 component:102 Registered TorrentDetails with
 ComponentRegistry..
 [DEBUG   ] 23:40:24 configmanager:88 Getting config 'gtkui.conf'
 [DEBUG   ] 23:40:24 torrentdetails:384 Loading TorrentDetails state file:
 tabs.state
 [DEBUG   ] 23:40:24 torrentdetails:65 parent: None
 [DEBUG   ] 23:40:24 torrentdetails:65 parent: None
 [DEBUG   ] 23:40:24 configmanager:88 Getting config 'gtkui.conf'
 [DEBUG   ] 23:40:24 files_tab:216 Loading FilesTab state file:
 files_tab.state
 [DEBUG   ] 23:40:24 torrentdetails:65 parent: None
 [DEBUG   ] 23:40:24 configmanager:88 Getting config 'gtkui.conf'
 [DEBUG   ] 23:40:24 peers_tab:176 Loading PeersTab state file:
 peers_tab.state
 [DEBUG   ] 23:40:24 torrentdetails:65 parent: None
 [DEBUG   ] 23:40:24 torrentdetails:65 parent: None
 [DEBUG   ] 23:40:24 component:102 Registered SideBar with
 ComponentRegistry..
 [DEBUG   ] 23:40:24 configmanager:88 Getting config 'gtkui.conf'
 [DEBUG   ] 23:40:24 component:102 Registered Preferences with
 ComponentRegistry..
 [DEBUG   ] 23:40:24 configmanager:88 Getting config 'gtkui.conf'
 [DEBUG   ] 23:40:24 component:102 Registered SystemTray with
 ComponentRegistry..
 [DEBUG   ] 23:40:24 configmanager:88 Getting config 'gtkui.conf'
 [DEBUG   ] 23:40:24 config:158 Registering function for enable_system_tray
 key..
 [DEBUG   ] 23:40:24 systemtray:76 Enabling the system tray icon..
 [DEBUG   ] 23:40:24 component:102 Registered StatusBar with
 ComponentRegistry..
 [DEBUG   ] 23:40:24 configmanager:88 Getting config 'gtkui.conf'
 [DEBUG   ] 23:40:24 component:102 Registered AddTorrentDialog with
 ComponentRegistry..
 [DEBUG   ] 23:40:24 component:102 Registered Signals with
 ComponentRegistry..
 [DEBUG   ] 23:40:24 signalreceiver:52 SignalReceiver init..
 [DEBUG   ] 23:40:24 configmanager:88 Getting config 'gtkui.conf'
 [DEBUG   ] 23:40:24 config:117 Setting 'signal_port' to 56613 of <type
 'int'>
 [DEBUG   ] 23:40:24 coreconfig:40 CoreConfig init..
 [DEBUG   ] 23:40:24 component:102 Registered CoreConfig with
 ComponentRegistry..
 [DEBUG   ] 23:40:24 component:102 Registered PluginManager with
 ComponentRegistry..
 [DEBUG   ] 23:40:24 configmanager:88 Getting config 'gtkui.conf'
 [DEBUG   ] 23:40:24 pluginmanagerbase:48 Plugin manager init..
 [DEBUG   ] 23:40:24 configmanager:88 Getting config 'gtkui.conf'
 [DEBUG   ] 23:40:24 configmanager:69 get_config_dir:
 /Users/kevinomara/.config/deluge
 [DEBUG   ] 23:40:24 pluginmanagerbase:95 Found plugin: Blocklist 1.0
 [DEBUG   ] 23:40:24 pluginmanagerbase:95 Found plugin: Label 0.1
 [DEBUG   ] 23:40:24 component:102 Registered ConnectionManager with
 ComponentRegistry..
 [DEBUG   ] 23:40:24 configmanager:88 Getting config 'hostlist.conf'
 [DEBUG   ] 23:40:24 config:47 Config created with filename: hostlist.conf
 [DEBUG   ] 23:40:24 config:48 Config defaults: {'hosts':
 ['localhost:58846']}
 [DEBUG   ] 23:40:24 configmanager:88 Getting config 'gtkui.conf'
 The process has forked and you cannot use this CoreFoundation
 functionality safely. You MUST exec().
 Break on
 __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__()
 to debug.
 The process has forked and you cannot use this CoreFoundation
 functionality safely. You MUST exec().
 Break on
 __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__()
 to debug.
 Fatal Python error: Interpreter not initialized (version mismatch?)

 I believe that I have done everything properly, but apparently not.  I
 have tried uninstalling and reinstalling deluge to no avail.

-- 
Ticket URL: <http://trac.macports.org/ticket/16652>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list