/usr/share/bleachbit/Unix.py:45: ImportWarning
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BleachBit |
Fix Released
|
Medium
|
Unassigned | ||
bleachbit (Arch Linux) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
I'm running Slackware 14.0 x86 with only OpenBox as my DE and I compiled BleachBit from source...
Here's the script I use to compile it;
-------
#!/bin/bash
# SlackBuild script for bleachbit.
PRGNAM=bleachbit
VERSION=
BUILD=${BUILD:-1}
TAG=${TAG:-_sar}
ARCH=noarch
CWD=$(pwd)
TMP=${TMP:
PKG=$TMP/
OUTPUT=
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
# Exclude the Windows-only cleaners from the source per author's instructions.
grep -l os=.windows. cleaners/*xml | xargs rm -f
make install DESTDIR=$PKG prefix=/usr
mkdir -p $PKG/usr/
cp -a COPYING PKG-INFO README doc/* $PKG/usr/
cat $CWD/$PRGNAM.
cat $CWD/README > $PKG/usr/
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/
cat $CWD/doinst.sh > $PKG/install/
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/
-------
When I run BleachBit from the command line I get this output;
info: starting BleachBit version 0.9.5
/usr/share/
import gnome.vfs
Slackware doesn't use Gnome, but it does have some Gnome libs, but I don't have many of these installed and I don't use gvfs either...
I woudn't say this is a bug, rather reporting something I don't have... So what feature(s) will I be missing without this?
The source code doesn't have any README that lists requirements that's why I'm reporting this, maybe one can be written up...
Maybe in the future a version of BleachBit can be made available that doesn't require gnome.vfs....
THANKS
BleachBit 0.9.5 does not require gnome.vfs. When it is not installed, you lose a small subset of the 'broken shortcuts' cleaner related to unregistered MIME type
I think the warning you are getting is actually not from BleachBit. I think it comes a partial Gnome install (?) because of the missing __init__.py problem in a non-BleachBit directory.