Export to GitHub

nautilussvn - issue #87

After fresh nsvn V0.12 install, svn emblems not seen


Posted on Mar 6, 2009 by Grumpy Ox

What steps will reproduce the problem?

  1. All v0.12 nsvn install instructions carefully followed for Ubuntu 8.04 (http://code.google.com/p/nautilussvn/wiki/v012_Installation). This was a fresh install with no previous nsvn v0.11 install.

Result: After nautilus restart, whilst (right-click) context menu does have working nsvn extras e.g. update, commit, debug, and nautilussvn sub-menu, the subversion emblems are not seen, nor the status column, in a working copy list view (checked out with alredy installed kdesvn).

Comment #1

Posted on Mar 7, 2009 by Helpful Giraffe

Did you do this?

mkdir -p ~/.icons ln -s ~/nautilussvn/nautilussvn/data/icons/hicolor ~/.icons/

If so, please run Nautilus from the console as described in:

http://code.google.com/p/nautilussvn/wiki/Issues?tm=3

And see if you get any errors.

Also the status column hasn't been implemented.

You might also want to simply do a checkout from SVN and then sudo python setup.py install it.

Comment #2

Posted on Mar 7, 2009 by Helpful Giraffe

Ignore that last bit about the setup.py script, the one in the branch atm is old. We'll be releasing a beta real soon with Debian packages and everything.

Comment #3

Posted on Mar 7, 2009 by Helpful Giraffe

(No comment was entered for this change.)

Comment #4

Posted on Mar 11, 2009 by Grumpy Ox

Thanks brucevdkooij, I did make the icons directory as shown in the original V0.12 installation instructions. I also ran the line as shown on http://code.google.com/p/nautilussvn/wiki/Issues?tm=3. I'll run again and check for errors. I'll hang on running the setup.py for now. I'd be grateful for any other thoughts you may have.

Comment #5

Posted on Mar 14, 2009 by Helpful Giraffe

Hmm this might actually have to do with the fact that emblems was previously called icons too (I think). Your context menu does have icons right? If so, try this:

ln -s ~/nautilussvn/nautilussvn/data/icons/hicolor ~/.icons ln -s ~/nautilussvn/nautilussvn/data/icons/hicolor/scalable/emblems ~/nautilussvn/nautilussvn/data/icons/hicolor/scalable/icons

If this fixes it, please let me know and I'll update the ManualInstallation instructions.

Comment #6

Posted on Mar 15, 2009 by Helpful Giraffe

(No comment was entered for this change.)

Comment #7

Posted on Mar 16, 2009 by Quick Bear

Same problem here, fresh install of the last release under ubuntu-intrepide from the .deb file and no emblems are shown :(

Comment #8

Posted on Mar 16, 2009 by Happy Giraffe

I had this problem too. I installed to /usr using the setup.py file -- if you do this, delete /usr/share/icons/hicolor/icon-theme.cache. This will force Gnome to update the icons and all the emblems and icons should come up after that.

Comment #9

Posted on Mar 16, 2009 by Helpful Giraffe

Thanks darkstar! I added a notice to the installation page and will update the Debian package and the setup script ASAP tonight.

The official command for this seems to be:

sudo gtk-update-icon-cache /usr/share/icons/hicolor/

Comment #10

Posted on Mar 16, 2009 by Helpful Giraffe

@bookworm: the issue above (the icon cache) doesn't seem to be your problem. Turns out emblems need to start with emblems- (i.e. emblems-nautilussvn-added) for Nautilus 2.22.3 (probably) to pick them up. We're currently just doing nautilussvn-added.

I'm working on a fix as we speak and will also release an updated Debian package which will actually install for 8.04.

Comment #11

Posted on Mar 16, 2009 by Helpful Giraffe

Correction: emblem-

Singular...

Comment #12

Posted on Mar 16, 2009 by Helpful Giraffe

Fix committed in r1085.

Comment #13

Posted on Mar 17, 2009 by Grumpy Ox

Thanks brucevdkooij.

I did try the nautilussvn_0.12-1ubuntu2_all.deb package, but this was before you changed the python-nautilus dependancy to "(>= 0.5.0)" for 8.04 (I have to use 8.04 for inter-project working). I'll try again later today. I'm really looking forward to rolling this tool out. Thanks again.

Comment #14

Posted on Mar 17, 2009 by Grumpy Ox

P.S. I also tried the icon cache fix, but, as you said, this is not the cause of the problem. The icons appear correctly on the context menu, and, while I didn't capture it, the update requests appear in an associated terminal window when I navigate between working copies. using nautilus, with debug on. It is just the nsvn file icons/emblems that do not appear, just the standard ones.

Comment #15

Posted on Mar 17, 2009 by Grumpy Ox

brucevdkooij, tried your latest nautilussvn_0.12-1ubuntu2_all.deb and nsvn emblems are now appearing on files, though for some reason, not all working copies have them (I can always blitz the working copies and start again though). I am also able to add svn-specific (status) columns to the list view.

Comment #16

Posted on Mar 17, 2009 by Grumpy Ox

Now the emblems are working, I may have to raise another issue for ubuntu nsvn:-

If all (any?) files/directory but the .svn directory are deleted from a working copy, when attempting to browse the parent directory with nautilus, on left/right clicking on the altered working copy, the nautilus window quits and restarts.

I'll try to characterize this a bit more.

Status: Fixed

Labels:
Type-Defect OpSys-Linux Priority-Critical