You are not logged in.

#1 2008-11-14 16:19:44

methuselah
Member
Registered: 2007-10-02
Posts: 570

So nobody else is having issues with python 2.6 ????? [SOLVED]

I've checked through the bug reports, and I posted in this section: http://bbs.archlinux.org/viewtopic.php?id=58783


I saw other people say that the upgrade of python 2.5 to python 2.6 screwed some things up..... but they were talking about totally different apps than the ones I am having problems with.


These are the apps that I have had problems with upgraded python 2.6 and dbus-python 0.83.0-2:

compiz-fusion  ----- would not load
emerlad           ----- would not load
deluge-svn       ----- would not load
meld                ----- would not load
srceenlets        ----- would not load
firestarter        (didn't check with python 2.6 but I assume it broke with either the downgrade or the upgrade)



So far I have downgraded to python 2.5.2-5 and dbus-python 0.83.0-1.


I was able to get my compiz-fusion and emerald working as my window manager again, but now the ccsm wont load (loaded in python 2.6 but fusion-icon did not load) and emerald cpu usage will freeze for 2 minutes when changing themes.


Now deluge-svn will load as an app with 2.5, but new torrents can not be added.


Firestarter will not load from the Firestarter gksu icon in the System menu, and it won't load as the command "gksu firestarter" in the terminal..... but it will load with the "sudo firestarter" command, and it loads on boot up with my config. 


Meld works perfectly using python 2.5


And screenlets still don't work at all.




Error For Screenlets:

$ screenlets
cat: /etc/screenlets/prefix: No such file or directory
Traceback (most recent call last):
  File "/usr/share/screenlets-manager/screenlets-manager.py", line 28, in <module>
    import screenlets
  File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 51, in <module>
    from options import *
  File "/usr/lib/python2.5/site-packages/screenlets/options.py", line 30, in <module>
    import utils
  File "/usr/lib/python2.5/site-packages/screenlets/utils.py", line 16, in <module>
    import dbus
ImportError: No module named dbus

Error for ccsm:

$ ccsm
Info: No sexy-python package found, don't worry it's optional.
Traceback (most recent call last):
  File "/usr/bin/ccsm", line 100, in <module>
    import ccm
ImportError: No module named ccm

Error for deluge:

$ deluge
[INFO    ] 11:04:41 main:95 Deluge ui 1.1.0-devr4120
[DEBUG   ] 11:04:41 main:96 options: {'config': None, 'logfile': None, 'ui': None, 'args': None}
[DEBUG   ] 11:04:41 main:97 args: []
[DEBUG   ] 11:04:41 main:98 ui_args: []
[DEBUG   ] 11:04:41 configmanager:44 ConfigManager started..
[INFO    ] 11:04:41 main:101 Starting ui..
[DEBUG   ] 11:04:41 ui:44 UI init..
[DEBUG   ] 11:04:41 configmanager:88 Getting config 'ui.conf'
[DEBUG   ] 11:04:41 config:47 Config created with filename: ui.conf
[DEBUG   ] 11:04:41 config:48 Config defaults: {'default_ui': 'gtk'}
[INFO    ] 11:04:41 ui:60 Starting GtkUI..
[DEBUG   ] 11:04:41 client:54 CoreProxy init..
[DEBUG   ] 11:04:42 configmanager:69 get_config_dir: /home/seventy3/.config/deluge
[DEBUG   ] 11:04:42 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 11:04:42 config:47 Config created with filename: gtkui.conf
[DEBUG   ] 11:04:42 config:48 Config defaults: {'sidebar_show_zero': False, 'autoadd_queued': False, 'close_to_tray': True, 'ntf_sound_path': '/home/seventy3', 'window_width': 640, 'ntf_server': '', 'default_load_path': None, 'window_y_pos': 0, 'classic_mode': True, 'window_pane_position': -1, 'ntf_email': False, 'enabled_plugins': [], 'show_connection_manager_on_start': True, 'show_statusbar': True, 'autoadd_enable': False, 'ntf_popup': False, 'ntf_username': '', 'ntf_pass': '', 'tray_download_speed_list': [5.0, 10.0, 30.0, 80.0, 300.0], 'ntf_security': None, '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], 'sidebar_position': 170, 'ntf_sound': False, 'tray_password': '', 'focus_add_dialog': True, 'show_new_releases': True, 'start_in_tray': False, 'autoconnect': False, 'choose_directory_dialog_path': '/home/seventy3', 'ntf_tray_blink': True, 'check_new_releases': True, 'sidebar_show_trackers': False, 'autostart_localhost': False, 'show_toolbar': True, 'autoadd_location': '', 'config_location': '/home/seventy3/.config/deluge', 'tray_upload_speed_list': [5.0, 10.0, 30.0, 80.0, 300.0], 'ntf_email_add': '', 'interactive_add': True, 'signal_port': 40000}
[DEBUG   ] 11:04:42 component:102 Registered QueuedTorrents with ComponentRegistry..
[DEBUG   ] 11:04:42 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 11:04:42 component:102 Registered IPCInterface with ComponentRegistry..
[WARNING ] 11:04:42 ipcinterface:69 Unable to start DBUS component: No module named dbus
[DEBUG   ] 11:04:42 component:102 Registered Signals with ComponentRegistry..
[DEBUG   ] 11:04:42 signalreceiver:52 SignalReceiver init..
[DEBUG   ] 11:04:42 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 11:04:42 config:136 Setting 'signal_port' to 46714 of <type 'int'>
[DEBUG   ] 11:04:42 config:152 save_timer: None
[DEBUG   ] 11:04:42 config:112 Saving config file /home/seventy3/.config/deluge/gtkui.conf..
[DEBUG   ] 11:04:42 component:102 Registered MainWindow with ComponentRegistry..
[DEBUG   ] 11:04:42 configmanager:88 Getting config 'gtkui.conf'
/usr/lib/python2.5/site-packages/deluge/ui/gtkui/mainwindow.py:59: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  "glade/main_window.glade"))
[DEBUG   ] 11:04:42 mainwindow:86 Showing window
[DEBUG   ] 11:04:42 menubar:50 MenuBar init..
[DEBUG   ] 11:04:42 component:102 Registered MenuBar with ComponentRegistry..
[DEBUG   ] 11:04:42 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 11:04:42 component:102 Registered ToolBar with ComponentRegistry..
[DEBUG   ] 11:04:42 toolbar:48 ToolBar Init..
[DEBUG   ] 11:04:42 configmanager:88 Getting config 'gtkui.conf'
/usr/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   ] 11:04:42 component:102 Registered TorrentView with ComponentRegistry..
[DEBUG   ] 11:04:42 listview:128 ListView initialized..
[DEBUG   ] 11:04:42 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 11:04:42 listview:228 Loading ListView state file: torrentview.state
[DEBUG   ] 11:04:42 torrentview:126 TorrentView Init..
[DEBUG   ] 11:04:42 listview:183 sort_func: <function queue_column_sort at 0x195aa28> sort_id: 3
[DEBUG   ] 11:04:42 listview:183 sort_func: <function queue_column_sort at 0x195aa28> sort_id: 3
[DEBUG   ] 11:04:42 listview:183 sort_func: <function queue_column_sort at 0x195aa28> sort_id: 3
[DEBUG   ] 11:04:42 listview:183 sort_func: <function queue_column_sort at 0x195aa28> sort_id: 3
[DEBUG   ] 11:04:42 listview:183 sort_func: <function queue_column_sort at 0x195aa28> sort_id: 3
[DEBUG   ] 11:04:42 listview:183 sort_func: <function queue_column_sort at 0x195aa28> sort_id: 3
[DEBUG   ] 11:04:42 listview:183 sort_func: <function queue_column_sort at 0x195aa28> sort_id: 3
[DEBUG   ] 11:04:42 listview:183 sort_func: <function queue_column_sort at 0x195aa28> sort_id: 3
[DEBUG   ] 11:04:42 listview:183 sort_func: <function queue_column_sort at 0x195aa28> sort_id: 3
[DEBUG   ] 11:04:42 listview:183 sort_func: <function queue_column_sort at 0x195aa28> sort_id: 3
[DEBUG   ] 11:04:42 listview:183 sort_func: <function queue_column_sort at 0x195aa28> sort_id: 3
[DEBUG   ] 11:04:42 listview:183 sort_func: <function queue_column_sort at 0x195aa28> sort_id: 3
[DEBUG   ] 11:04:42 component:102 Registered TorrentDetails with ComponentRegistry..
[DEBUG   ] 11:04:42 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 11:04:42 torrentdetails:397 Loading TorrentDetails state file: tabs.state
[DEBUG   ] 11:04:42 torrentdetails:65 parent: None
[DEBUG   ] 11:04:42 torrentdetails:65 parent: None
[DEBUG   ] 11:04:42 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 11:04:42 files_tab:237 Loading FilesTab state file: files_tab.state
[DEBUG   ] 11:04:42 torrentdetails:65 parent: None
[DEBUG   ] 11:04:42 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 11:04:42 peers_tab:200 Loading PeersTab state file: peers_tab.state
[DEBUG   ] 11:04:42 torrentdetails:65 parent: None
[DEBUG   ] 11:04:42 torrentdetails:65 parent: None
[DEBUG   ] 11:04:42 component:102 Registered SideBar with ComponentRegistry..
[DEBUG   ] 11:04:42 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 11:04:42 component:102 Registered FilterTreeView with ComponentRegistry..
[DEBUG   ] 11:04:42 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 11:04:42 sidebar:82 add tab:filters
[DEBUG   ] 11:04:42 filtertreeview:258 nothing selected
[DEBUG   ] 11:04:42 component:102 Registered Preferences with ComponentRegistry..
/usr/lib/python2.5/site-packages/deluge/ui/gtkui/preferences.py:53: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  "glade/preferences_dialog.glade"))
/usr/lib/python2.5/site-packages/deluge/ui/gtkui/preferences.py:53: GtkWarning: gtk_radio_button_set_group: assertion `!g_slist_find (group, radio_button)' failed
  "glade/preferences_dialog.glade"))
/usr/lib/python2.5/site-packages/deluge/ui/gtkui/preferences.py:53: GtkWarning: gtk_scrolled_window_add(): cannot add non scrollable widget use gtk_scrolled_window_add_with_viewport() instead
  "glade/preferences_dialog.glade"))
[DEBUG   ] 11:04:43 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 11:04:43 component:102 Registered SystemTray with ComponentRegistry..
[DEBUG   ] 11:04:43 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 11:04:43 config:183 Registering function for enable_system_tray key..
[DEBUG   ] 11:04:43 systemtray:230 Disabling the system tray icon..
[DEBUG   ] 11:04:43 systemtray:237 Unable to disable system tray: SystemTray instance has no attribute 'tray'
[DEBUG   ] 11:04:43 component:102 Registered StatusBar with ComponentRegistry..
[DEBUG   ] 11:04:43 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 11:04:43 component:102 Registered AddTorrentDialog with ComponentRegistry..
/usr/lib/python2.5/site-packages/deluge/ui/gtkui/addtorrentdialog.py:55: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  "deluge.ui.gtkui", "glade/add_torrent_dialog.glade"))
[DEBUG   ] 11:04:43 coreconfig:40 CoreConfig init..
[DEBUG   ] 11:04:43 component:102 Registered CoreConfig with ComponentRegistry..
[DEBUG   ] 11:04:43 component:102 Registered PluginManager with ComponentRegistry..
[DEBUG   ] 11:04:43 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 11:04:43 pluginmanagerbase:60 Plugin manager init..
[DEBUG   ] 11:04:43 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 11:04:43 configmanager:69 get_config_dir: /home/seventy3/.config/deluge
[DEBUG   ] 11:04:43 configmanager:69 get_config_dir: /home/seventy3/.config/deluge
[DEBUG   ] 11:04:43 pluginmanagerbase:111 Found plugin: Stats 0.1
[DEBUG   ] 11:04:43 pluginmanagerbase:111 Found plugin: Blocklist 1.0
[DEBUG   ] 11:04:43 pluginmanagerbase:111 Found plugin: Label 0.1
[DEBUG   ] 11:04:43 component:102 Registered ConnectionManager with ComponentRegistry..
/usr/lib/python2.5/site-packages/deluge/ui/gtkui/connectionmanager.py:74: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  "glade/connection_manager.glade"))
[DEBUG   ] 11:04:43 configmanager:88 Getting config 'hostlist.conf'
[DEBUG   ] 11:04:43 config:47 Config created with filename: hostlist.conf
[DEBUG   ] 11:04:43 config:48 Config defaults: {'hosts': ['localhost:58846']}
[DEBUG   ] 11:04:43 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 11:04:43 connectionmanager:507 on_selection_changed
[DEBUG   ] 11:04:43 connectionmanager:497 on_chk_autostart_toggled
[DEBUG   ] 11:04:43 config:136 Setting 'window_pane_position' to 308 of <type 'int'>
[DEBUG   ] 11:04:43 config:152 save_timer: None
[DEBUG   ] 11:04:47 config:112 Saving config file /home/seventy3/.config/deluge/gtkui.conf..
[DEBUG   ] 11:04:55 connectionmanager:443 on_button_connect_clicked
[WARNING ] 11:04:55 connectionmanager:467 Host does not appear to be online..
[INFO    ] 11:04:55 connectionmanager:431 Starting localhost:58846 daemon..
[INFO    ] 11:04:56 client:112 Setting core uri as http://localhost:58846
[DEBUG   ] 11:04:56 client:144 Creating ServerProxy..
[DEBUG   ] 11:04:56 component:125 Starting component SystemTray..
[DEBUG   ] 11:04:56 component:125 Starting component Signals..
[DEBUG   ] 11:04:56 component:125 Starting component PluginManager..
[DEBUG   ] 11:04:56 component:125 Starting component Preferences..
[DEBUG   ] 11:04:56 component:125 Starting component StatusBar..
[DEBUG   ] 11:04:56 component:125 Starting component AddTorrentDialog..
[DEBUG   ] 11:04:56 pluginmanager:83 Core has these plugins enabled: ['Stats']
[DEBUG   ] 11:04:56 gtkui:80 Calling Stats UI init
[DEBUG   ] 11:04:56 init:42 0
/usr/lib/python2.5/site-packages/deluge/plugins/Stats-0.1-py2.5.egg/stats/gtkui.py:90: GtkWarning: gtk_scrolled_window_add(): cannot add non scrollable widget use gtk_scrolled_window_add_with_viewport() instead
  self.graphs_tab = GraphsTab(XML(self.get_resource("tabs.glade")))
[INFO    ] 11:04:56 pluginmanagerbase:134 Plugin Stats enabled..
[DEBUG   ] 11:04:56 component:125 Starting component FilterTreeView..
[DEBUG   ] 11:04:56 component:125 Starting component ConnectionManager..
[DEBUG   ] 11:04:56 component:125 Starting component TorrentView..
[DEBUG   ] 11:04:56 component:125 Starting component TorrentDetails..
[DEBUG   ] 11:04:56 component:125 Starting component IPCInterface..
[DEBUG   ] 11:04:56 component:125 Starting component CoreConfig..
[DEBUG   ] 11:04:56 component:125 Starting component SideBar..
[DEBUG   ] 11:04:56 component:125 Starting component QueuedTorrents..
[DEBUG   ] 11:04:56 component:125 Starting component MainWindow..
[DEBUG   ] 11:04:56 component:125 Starting component ToolBar..
[DEBUG   ] 11:04:56 component:125 Starting component MenuBar..
[DEBUG   ] 11:06:53 menubar:242 on_menuitem_addtorrent_activate
[DEBUG   ] 11:06:56 addtorrentdialog:507 _on_button_url_clicked
[DEBUG   ] 11:07:01 addtorrentdialog:539 url: ftp://ftp.archlinux.org/iso/2008.06/archlinux-2008.06-ftp-x86_64.iso.torrent
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/deluge/ui/gtkui/addtorrentdialog.py", line 557, in _download_from_url
    filename, headers = urllib.urlretrieve(url, tmp_file)
  File "/usr/lib/python2.5/urllib.py", line 89, in urlretrieve
    return _urlopener.retrieve(url, filename, reporthook, data)
  File "/usr/lib/python2.5/urllib.py", line 225, in retrieve
    tfp = open(filename, 'wb')
IOError: [Errno 13] Permission denied: u'/tmp/archlinux-2008.06-ftp-x86_64.iso.torrent'
[DEBUG   ] 11:07:03 addtorrentdialog:613 _on_button_add_clicked

....this is the part where I tried to add the Arch torrent:

[DEBUG   ] 11:06:56 addtorrentdialog:507 _on_button_url_clicked
[DEBUG   ] 11:07:01 addtorrentdialog:539 url: ftp://ftp.archlinux.org/iso/2008.06/archlinux-2008.06-ftp-x86_64.iso.torrent
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/deluge/ui/gtkui/addtorrentdialog.py", line 557, in _download_from_url
    filename, headers = urllib.urlretrieve(url, tmp_file)
  File "/usr/lib/python2.5/urllib.py", line 89, in urlretrieve
    return _urlopener.retrieve(url, filename, reporthook, data)
  File "/usr/lib/python2.5/urllib.py", line 225, in retrieve
    tfp = open(filename, 'wb')
IOError: [Errno 13] Permission denied: u'/tmp/archlinux-2008.06-ftp-x86_64.iso.torrent'
[DEBUG   ] 11:07:03 addtorrentdialog:613 _on_button_add_clicked

Firestarter gksu:

$ gksu firestarter

(firestarter:2630): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.

....and these dialog boxes pop up with these 2 messages:

A proper configuration for Firestarter was not found. If you are running Firestarter from the directory you built it in, run 'make install-data-local' to install a configuration, or simply 'make install' to install the whole program.

Firestarter will now close.

and

An error occurred while loading or saving configuration information for firestarter. Some of your configurations may not work properly.

Any help would be cool. Thanks.

Last edited by methuselah (2008-11-15 01:17:03)

Offline

#2 2008-11-14 16:22:32

methuselah
Member
Registered: 2007-10-02
Posts: 570

Re: So nobody else is having issues with python 2.6 ????? [SOLVED]

Is this a typo:

$ ccsm
Info: No sexy-python package found, don't worry it's optional.
Traceback (most recent call last):
  File "/usr/bin/ccsm", line 100, in <module>
    import ccm
ImportError: No module named ccm

Should it be ccsm?

Offline

#3 2008-11-14 16:31:54

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: So nobody else is having issues with python 2.6 ????? [SOLVED]

methuselah wrote:

Is this a typo:

$ ccsm
Info: No sexy-python package found, don't worry it's optional.
Traceback (most recent call last):
  File "/usr/bin/ccsm", line 100, in <module>
    import ccm
ImportError: No module named ccm

Should it be ccsm?

I dunno -- this command works ok on my system.  I have testing enabled, python2.6 installed and regular compiz-fusion from community.  Compiz, in general, works without any issues.

Offline

#4 2008-11-14 16:40:25

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: So nobody else is having issues with python 2.6 ????? [SOLVED]

Have you tried rebuilding the packages using ABS? That fixes some of the python scientific modules so maybe it would fix some of those packages too.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#5 2008-11-14 18:09:10

methuselah
Member
Registered: 2007-10-02
Posts: 570

Re: So nobody else is having issues with python 2.6 ????? [SOLVED]

Xyne wrote:

Have you tried rebuilding the packages using ABS? That fixes some of the python scientific modules so maybe it would fix some of those packages too.

I ONLY use ABS and AUR..... because I have my entire system (80%-90%) built from source using "pacbuilder".


I haven't tried to rebuild python 2.6-2 and dbus-python 0.83.0-2 yet because I was waiting to see if other people had similar problems..... I would rather use compiz-fusion with the downgraded python 2.5.2-5 and wait a week or two for a definite fix.

Offline

#6 2008-11-14 19:01:37

archlinuxsagi
Member
Registered: 2008-09-12
Posts: 259

Re: So nobody else is having issues with python 2.6 ????? [SOLVED]

Hi.
I have upgrade to python 2.6.2 and had compiz, ccsm and deluge installed.
So far no problems with this few applications.
I guess the build order is important if you building from ABS or AUR...

Offline

#7 2008-11-14 19:19:46

methuselah
Member
Registered: 2007-10-02
Posts: 570

Re: So nobody else is having issues with python 2.6 ????? [SOLVED]

archlinuxsagi wrote:

Hi.
I have upgrade to python 2.6.2 and had compiz, ccsm and deluge installed.
So far no problems with this few applications.
I guess the build order is important if you building from ABS or AUR...

I thought it might be because I build all of my apps from source..... maybe something didn't build correctly..... but then it should fail building the package. Maybe I'll try to install the binaries of python and dbus-python to see if it fixes the problem.

Offline

#8 2008-11-14 19:44:35

methuselah
Member
Registered: 2007-10-02
Posts: 570

Re: So nobody else is having issues with python 2.6 ????? [SOLVED]

Just tried building it again and the md5sums failed:

  -> Found python-2.6-internal-expat.patch in build dir
  -> Found modulator-launcher in build dir
  -> Found pynche-launcher in build dir
==> Validating source files with md5sums...
    Python-2.6.tar.bz2 ... FAILED
    python-2.6-internal-expat.patch ... Passed
    modulator-launcher ... Passed
    pynche-launcher ... Passed
==> ERROR: One or more files did not pass the validity check!

I think this was an important detail that I had forgotten about.... since I went ahead and built the package without md5's.....


So, I'm gonna install the binary now to see if it works. (oh yeah.... my abs was updated right before the I tried to build the package, and the PKGBUILD is the exact same as the one here: http://repos.archlinux.org/viewvc.cgi/p … ra-x86_64/ )

Offline

#9 2008-11-14 19:49:31

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: So nobody else is having issues with python 2.6 ????? [SOLVED]

methuselah wrote:

Is this a typo:

$ ccsm
Info: No sexy-python package found, don't worry it's optional.
Traceback (most recent call last):
  File "/usr/bin/ccsm", line 100, in <module>
    import ccm
ImportError: No module named ccm

Should it be ccsm?

no, the error is correct.
It is due to either a wrong python path or a wrong python version. You should do a rebuild yourself if you want to use ccsm with python<2.6

Offline

#10 2008-11-14 20:21:35

methuselah
Member
Registered: 2007-10-02
Posts: 570

Re: So nobody else is having issues with python 2.6 ????? [SOLVED]

pressh wrote:
methuselah wrote:

Is this a typo:

$ ccsm
Info: No sexy-python package found, don't worry it's optional.
Traceback (most recent call last):
  File "/usr/bin/ccsm", line 100, in <module>
    import ccm
ImportError: No module named ccm

Should it be ccsm?

no, the error is correct.
It is due to either a wrong python path or a wrong python version. You should do a rebuild yourself if you want to use ccsm with python<2.6

I rebuilt all the compiz-fusion-gtk packages from source and it still did not work with python 2.6..... then when I downgraded back to 2.5, compiz-fusion worked again, but the ccsm will not load when clicked from the menu and emerald became really slow when selecting new themes.... (where as the compiz-fusion/emerald would not work at all as a window manager with 2.6.... but the ccsm would load as a regualr app when clicked on in the menu.)


Now I just installed the binaries of python and dbus-pyhton and they both broke compiz-fusion/emerald again. So I downgraded again and everything is all good.


As for doing a rebuild of compiz-fusion again, I believe that I already have the newest version of 0.7.8.

I build eveything from source, so the compiz-fusion-gtk group offers these packages:

$ sudo pacman -S compiz-fusion-gtk
Password: 
compiz-fusion-gtk package not found, searching for group...
:: group compiz-fusion-gtk (including ignored packages):
    ccsm  compiz-fusion-plugins-extra  compiz-fusion-plugins-main  
    compizconfig-backend-gconf  emerald  emerald-themes  fusion-icon  
:: Install whole content? [Y/n] n
:: Install ccsm from group compiz-fusion-gtk? [Y/n] n
:: Install compiz-fusion-plugins-extra from group compiz-fusion-gtk? [Y/n] n
:: Install compiz-fusion-plugins-main from group compiz-fusion-gtk? [Y/n] n
:: Install compizconfig-backend-gconf from group compiz-fusion-gtk? [Y/n] n
:: Install emerald from group compiz-fusion-gtk? [Y/n] n
:: Install emerald-themes from group compiz-fusion-gtk? [Y/n] n
:: Install fusion-icon from group compiz-fusion-gtk? [Y/n] n
 local database is up to date
[seventy3@HPdv9920us ~]$ pacman -Q compizconfig-python
compizconfig-python 0.7.8-1
[seventy3@HPdv9920us ~]$ pacman -Ss compizconfig-python
community/compizconfig-python 0.7.8-1
    Compizconfig bindings for python
[seventy3@HPdv9920us ~]$ pacman -Q compiz-core
compiz-core 0.7.8-1
[seventy3@HPdv9920us ~]$ pacman -Ss compiz-core
community/compiz-core 0.7.8-1 (compiz compiz-kde compiz-gtk compiz-fusion)
    Composite manager for Aiglx and Xgl

If I check the most recent PKGBUILD for ccsm, my dependancies are all there:

depends=('compiz-core>=0.7.8' 'compizconfig-python>=0.7.8' 'pygtk')

.... and if you goto this compiz index, 0.7.8 is the newest version there: http://releases.compiz-fusion.org/


So, I don't know why the ccsm would of worked with python 2.5 before I upgraded to python 2.6. Then work with python 2.6 even though the rest of compiz-fusion didn't, and then not work with the downgraded python 2.5  that it had worked with before?????

Unless something else got changed that I don;t know about?????

Offline

#11 2008-11-14 20:31:09

Lord Illidan
Member
From: Malta
Registered: 2007-10-25
Posts: 248

Re: So nobody else is having issues with python 2.6 ????? [SOLVED]

I am using the testing repositories with python 2.6 installed. ccsm and meld work fine here. So does firestarter. I haven't got the other apps installed though.

Offline

#12 2008-11-14 20:40:08

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: So nobody else is having issues with python 2.6 ????? [SOLVED]

There must be something unusual about your system, because I've tried all of the applications you listed (except for firestarter) and they all work without any apparent issues and without any rebuilding or anything like that.

Offline

#13 2008-11-14 20:52:31

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: So nobody else is having issues with python 2.6 ????? [SOLVED]

methuselah wrote:

So, I don't know why the ccsm would of worked with python 2.5 before I upgraded to python 2.6. Then work with python 2.6 even though the rest of compiz-fusion didn't, and then not work with the downgraded python 2.5  that it had worked with before?????

Unless something else got changed that I don;t know about?????

I did a rebuild of ccsm against python 2.6 when fixing a bug last Sunday.

Could you check if your pythonpath is set correctly and that the packages are actually installed within the path?

Offline

#14 2008-11-14 21:25:51

methuselah
Member
Registered: 2007-10-02
Posts: 570

Re: So nobody else is having issues with python 2.6 ????? [SOLVED]

pressh wrote:
methuselah wrote:

So, I don't know why the ccsm would of worked with python 2.5 before I upgraded to python 2.6. Then work with python 2.6 even though the rest of compiz-fusion didn't, and then not work with the downgraded python 2.5  that it had worked with before?????

Unless something else got changed that I don;t know about?????

I did a rebuild of ccsm against python 2.6 when fixing a bug last Sunday.

Could you check if your pythonpath is set correctly and that the packages are actually installed within the path?

I'm sorry but could you tell me the command to do that, I'm google searching right now, but if you have the fast answer I would appreciate it.... I'm still pretty new to Linux.


@ fwojciec

Here are a few facts about my system that might make my install different:

I am using my own compiled kernel (the 2.6.27 kernel patched with the zen3-patch and the zen3-hotfix1-patch)
I have been using "pacbuilder" for my main package manager for the last 3 months, so everything has been built from ABS/AUR.
I am using xfce4 with as few Gnome apps and dependencies as possible.
I use the NVIDIA driver from this page (version 177.80 because they just updated to 177.82 today): http://www.nvidia.com/object/linux_disp … 77.82.html


I would think that the only possible problem above might be my C[XX]FLAGS or a change in abs and the pacbuilder-svn updates?????

Last edited by methuselah (2008-11-14 21:27:43)

Offline

#15 2008-11-14 21:43:03

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: So nobody else is having issues with python 2.6 ????? [SOLVED]

methuselah wrote:
pressh wrote:
methuselah wrote:

So, I don't know why the ccsm would of worked with python 2.5 before I upgraded to python 2.6. Then work with python 2.6 even though the rest of compiz-fusion didn't, and then not work with the downgraded python 2.5  that it had worked with before?????

Unless something else got changed that I don;t know about?????

I did a rebuild of ccsm against python 2.6 when fixing a bug last Sunday.

Could you check if your pythonpath is set correctly and that the packages are actually installed within the path?

I'm sorry but could you tell me the command to do that, I'm google searching right now, but if you have the fast answer I would appreciate it.... I'm still pretty new to Linux.

follow this scheme:

[ronald@Miranda python2.6]$ python
Python 2.6 (r26:66714, Oct 27 2008, 22:48:57)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print sys.path
['', '/usr/lib/python26.zip', '/usr/lib/python2.6', '/usr/lib/python2.5/site-packages', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/site-packages', '/usr/lib/python2.6/site-packages/Numeric', '/usr/lib/python2.6/site-packages/PIL', '/usr/lib/python2.6/site-packages/gst-0.10', '/usr/lib/python2.6/site-packages/gtk-2.0']

Offline

#16 2008-11-14 21:45:39

methuselah
Member
Registered: 2007-10-02
Posts: 570

Re: So nobody else is having issues with python 2.6 ????? [SOLVED]

pressh wrote:
methuselah wrote:
pressh wrote:

I did a rebuild of ccsm against python 2.6 when fixing a bug last Sunday.

Could you check if your pythonpath is set correctly and that the packages are actually installed within the path?

I'm sorry but could you tell me the command to do that, I'm google searching right now, but if you have the fast answer I would appreciate it.... I'm still pretty new to Linux.

follow this scheme:

[ronald@Miranda python2.6]$ python
Python 2.6 (r26:66714, Oct 27 2008, 22:48:57)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print sys.path
['', '/usr/lib/python26.zip', '/usr/lib/python2.6', '/usr/lib/python2.5/site-packages', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/site-packages', '/usr/lib/python2.6/site-packages/Numeric', '/usr/lib/python2.6/site-packages/PIL', '/usr/lib/python2.6/site-packages/gst-0.10', '/usr/lib/python2.6/site-packages/gtk-2.0']

Thank you for helping, this is the output:

]$ python
Python 2.5.2 (r252:60911, Jul  8 2008, 21:11:16) 
[GCC 4.3.2 20080626 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print sys.path
['', '/usr/lib/python25.zip', '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', '/usr/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages/Numeric', '/usr/lib/python2.5/site-packages/gtk-2.0']
>>>

Offline

#17 2008-11-14 21:48:39

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: So nobody else is having issues with python 2.6 ????? [SOLVED]

methuselah wrote:
pressh wrote:

Could you check if your pythonpath is set correctly and that the packages are actually installed within the path?

I'm sorry but could you tell me the command to do that, I'm google searching right now, but if you have the fast answer I would appreciate it.... I'm still pretty new to Linux.

> idle
> import sys
> sys.path

It sounds to me like you built something when you downgraded python and now have a mix of packages built for python2.5 and python2.6.  Some PKGBUILDs have a python2.6 path directly in them and will cause problems if you are trying to build everything against python2.5.

Offline

#18 2008-11-14 21:54:30

methuselah
Member
Registered: 2007-10-02
Posts: 570

Re: So nobody else is having issues with python 2.6 ????? [SOLVED]

Allan wrote:
methuselah wrote:
pressh wrote:

Could you check if your pythonpath is set correctly and that the packages are actually installed within the path?

I'm sorry but could you tell me the command to do that, I'm google searching right now, but if you have the fast answer I would appreciate it.... I'm still pretty new to Linux.

> idle
> import sys
> sys.path

It sounds to me like you built something when you downgraded python and now have a mix of packages built for python2.5 and python2.6.  Some PKGBUILDs have a python2.6 path directly in them and will cause problems if you are trying to build everything against python2.5.

I think you are correct, and I'm not sure of what to do now.

>>> idle
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'idle' is not defined
>>>

$ pacman -Q tk
tk 8.5.5-1

Last edited by methuselah (2008-11-14 21:57:16)

Offline

#19 2008-11-14 21:55:40

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: So nobody else is having issues with python 2.6 ????? [SOLVED]

methuselah wrote:

I think you are correct, and I'm not sure of what to do now.

Easiest: just reinstall everything from the repos.
Longest: rebuild everything

Offline

#20 2008-11-14 21:59:15

methuselah
Member
Registered: 2007-10-02
Posts: 570

Re: So nobody else is having issues with python 2.6 ????? [SOLVED]

Allan wrote:
methuselah wrote:

I think you are correct, and I'm not sure of what to do now.

Easiest: just reinstall everything from the repos.
Longest: rebuild everything

So, if I install the compiz-fusion-gtk group using the binaries, and the new python/dbus-python binaries, along with the other apps that failed like meld, deluge-svn, screenlets, and firestarter.... do you think it might fix it's self?

Offline

#21 2008-11-14 22:10:12

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: So nobody else is having issues with python 2.6 ????? [SOLVED]

Maybe...

Offline

#22 2008-11-14 22:13:32

methuselah
Member
Registered: 2007-10-02
Posts: 570

Re: So nobody else is having issues with python 2.6 ????? [SOLVED]

I don't know if this will help, but these are all the packages that I upgrade and built from source that started all of these breakages:

----- Newest Upgraded Versions on Nov.10th----

thunderbird
unrar
xfce4-datetime-plugin
xfce4-mailwatch-plugin
xfce4-mpc-plugin
xfce4-sensors-plugin
xfce4-taskmanager
xfce4-xkb-plugin
git
gstreamer0.10
mono
gtk-sharp-2
inkscape
libmpd
libtheora
libxaw
nasm
nspr
ilmbase
openexr
podsleuth
postgresql-libs
subversion
t1lib
logrotate
vi
alsa-lib
alsa-utils
banshee
cairo
curl
python
dbus-python
gnutls
poppler
poppler-glib
epdfview
evolution-data-server
gc
gimp
xorg-server-utils
xorg-utils
xorg-xkb-utils
xterm
yasm
ccsm
liblbxutil
xproxymngproto
totem-xine


These 2 are no longer in the repos so I removed them:
liblbxutil
xproxymngproto


.... all my error messages have been python related.

Last edited by methuselah (2008-11-14 22:15:03)

Offline

#23 2008-11-14 23:08:45

methuselah
Member
Registered: 2007-10-02
Posts: 570

Re: So nobody else is having issues with python 2.6 ????? [SOLVED]

****** SO I'M STARTING THIS WHOLE THING OVER *******

What I've done:

I've removed all these packages (that were built from source): firestarter, screenlets, totem, deluge-svn, and meld


Then, I re-installed them as the binary instead of building them with pacbuilder, I also re-installed compiz-fusion-gtk as binaries, and upgrade the python/dbus-python:

sudo pacman -Sy python dbus-python compiz-fusion-gtk meld totem-xine firestarter

Then I restarted.


The result was that compiz-fusion was broke again, but ccsm loads perfectly.


This is the error message for the fusion-icon:

$ fusion-icon
 * Detected Session: unknown
 * Searching for installed applications...
 * NVIDIA on Xorg detected, exporting: __GL_YIELD=NOTHING
 * Using the GTK Interface
 * No module named gtk
 ... Trying another interface
 * Using the Qt4 Interface
 * No module named PyQt4
 ... Trying another interface
 * Using the Qt3 Interface
 * Interface not installed
 *** Error: All interfaces failed, aborting!

I'm using my xfwm4 right now, I would like to fix this compiz problem.


also my python path:

]$ python
Python 2.6 (r26:66714, Oct 27 2008, 22:48:57) 
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> idle
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'idle' is not defined
>>> import sys
>>> sys.path
['', '/usr/lib/python26.zip', '/usr/lib/python2.6', '/usr/lib/python2.5/site-packages', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/site-packages']
>>>

Last edited by methuselah (2008-11-14 23:10:49)

Offline

#24 2008-11-14 23:18:45

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: So nobody else is having issues with python 2.6 ????? [SOLVED]

You need to reinstall pygtk and deps.  (anything with files in /usr/share/python-2.5/site-packages/gtk-2.0)

Offline

#25 2008-11-15 01:16:17

methuselah
Member
Registered: 2007-10-02
Posts: 570

Re: So nobody else is having issues with python 2.6 ????? [SOLVED]

Allan wrote:

You need to reinstall pygtk and deps.  (anything with files in /usr/share/python-2.5/site-packages/gtk-2.0)

Thank you, this totally fixed it. I re-built all my packages that looked important from the /usr/lib/python-2.5/site-packages/ plus I re-built all of the compiz-fusion packages and dleuge-svn from source and saw the new FusionIcon directory appear in the /usr/lib/python-2.6/site-packages directory.


I also rebuilt pygtk and all of the deps (pygobject) like you said and this fixed compiz-fusion emerald and deluge-svn.


Thank you for all the help. I still have the error with gksu firestarter, so I'm not sure what that is..... but sudo firestarter works fine.


Once again, thanks to everyone that helped and offered advice.

Offline

Board footer

Powered by FluxBB