Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101669 - gnome-btdownload fails "DeprecationWarning: Module gnome.vfs is deprecated"
Summary: gnome-btdownload fails "DeprecationWarning: Module gnome.vfs is deprecated"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-07 12:18 UTC by Alvin A ONeal Jr
Modified: 2005-10-08 10:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alvin A ONeal Jr 2005-08-07 12:18:47 UTC
gnome-btdownload runs a python script which issues a warning and then fails to
load gnomevfs.

easy work-around
open /usr/lib/python2.4/site-packages/gtk-2.0/gnome/vfs.py and change gnomevfs
on line 4 to gnome.vfs

though that probably breaks other things? might be best just to add another line?

Reproducible: Always
Steps to Reproduce:
1. gnome-btdownload
2.
3.

Actual Results:  
/usr/lib/python2.4/site-packages/gtk-2.0/gnome/vfs.py:4: DeprecationWarning:
Module gnome.vfs is deprecated; please import gnomevfs instead
  DeprecationWarning)
argv: ['/usr/bin/gnome-btdownload']

Expected Results:  
should pop up a nice gui
Comment 1 Andy Kissner 2005-08-07 13:06:53 UTC
That error message seems sort of backward then...It says gnome.vfs is
deprecated, yet you said you had to change it from gnomevfs? Is that error
message before or after you change it?
Comment 2 Alvin A ONeal Jr 2005-08-07 17:23:44 UTC
My guess is that it's a dependency problem. The right packages are selected, but
the wrong versions of those packages.

This is my guess, but I have no basis that it is true other than my own logic:

The package which "/usr/lib/python2.4/site-packages/gtk-2.0/gnome/vfs.py" is
part of (just a guess: gtkpython?) wants you to know that you need to call
"gnome.vfs" the new way, "gnomevfs".

However, the package that "gnomevfs" belongs to is an older version and still
has it labeled as "gnome.vfs". If this package were newer, then it would
probably be able to understand that both gnomevfs (new way) and gnome.vfs (old
way) but it only knows the old way, so it fails.
Comment 3 kfm 2005-10-01 03:12:27 UTC
Can you test the ebuild for 0.0.22 (see bug 107765) and determine whether the
problem still persists? Thanks.
Comment 4 Marcin Kryczek (RETIRED) gentoo-dev 2005-10-08 02:51:10 UTC
gnome-btdownload-0.0.22 is in the tree for some time now and looks it working 
fine. also - no feedback from reporter. i'm closing it
Comment 5 Alvin A ONeal Jr 2005-10-08 10:12:30 UTC
I've emerge --sync and emerge -uD world a few times since then and I haven't had
to do anything special to get it working. The problem I was having at the time
may have been due to mixing certain ~x86 or masked packages with x86.