[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

GSVN packages, patches and error

From: Brandon Ehle <azverkan_at_yahoo.com>
Date: 2002-10-31 00:48:09 CET

Is there a gsvn mailing list yet? Since I don't see one, I am posting
this here.

I have my build script building pygtk and gsvn Redhat8 RPMs daily
(ftp://ftp.pipedreaminteractive.com/pub/subversion/2002103018-0/).

There seem to be some problems when running gsvn, however. I get the
following error when running gsvn. (patches at the bottom)

[root@gig scripts]# gsvn /code/scripts/subversion/
gsvn version 0.0.1
Copyright (C) 2002 Ximian, Inc.
This is free software distributed under the terms of the GNU General
Public License. gsvn comes with ABSOLUTELY NO WARRANTY.

Traceback (most recent call last):
  File "/usr/share/gsvn/gsvn_wc.py", line 128, in do_refreshed
    self.pool)
TypeError: svn_client_status() takes exactly 8 arguments (7 given)
Traceback (most recent call last):
  File "/usr/share/gsvn/gsvn_tree_model.py", line 100, in on_iter_has_child
    return self.wc.get_nth_child_generic(node, 0, is_dir_fn)
  File "/usr/share/gsvn/gsvn_wc.py", line 212, in get_nth_child_generic
    if node and self.tree_hash.has_key(node):
AttributeError: 'WorkingCopy' object has no attribute 'tree_hash'
Traceback (most recent call last):
  File "/usr/bin/gsvn", line 62, in ?
    gsvn_main.main(gsvn_version)
  File "/usr/share/gsvn/gsvn_main.py", line 63, in main
    app.set_working_copy(wc)
  File "/usr/share/gsvn/gsvn_app.py", line 166, in set_working_copy
    self.browser.set_working_copy(wc)
  File "/usr/share/gsvn/gsvn_browser.py", line 294, in set_working_copy
    self.set_current_directory(wc.get_root())
  File "/usr/share/gsvn/gsvn_browser.py", line 320, in set_current_directory
    self.show_ignored)
  File "/usr/share/gsvn/gsvn_dir_model.py", line 79, in __init__
    self.cache_nodes()
  File "/usr/share/gsvn/gsvn_dir_model.py", line 88, in cache_nodes
    self.filter_fn)
  File "/usr/share/gsvn/gsvn_wc.py", line 199, in get_all_children_generic
    if node and self.tree_hash.has_key(node):
AttributeError: 'WorkingCopy' object has no attribute 'tree_hash'

Lastly, I had to apply these patches to get it to make install
correctly. You need to rename py_icons.py to py_icons.py.in after
applying the patch.

Index: gsvn/pixmaps/Makefile.am
===================================================================
--- gsvn/pixmaps/Makefile.am (revision 3581)
+++ gsvn/pixmaps/Makefile.am (working copy)
@@ -1,10 +1,19 @@

 gsvnpixmapsdir = $(datadir)/gsvn/pixmaps
 gsvnpixmaps_DATA = \
+ add.png \
+ badge-critical.png \
+ badge-important-both.png \
+ badge-important-local.png \
+ badge-important-remote.png \
        commit.png \
        folder-ignored.png \
        folder.png \
        folder-unknown.png \
+ has-properties.png \
+ has-properties-both.png \
+ has-properties-local.png \
+ has-properties-remote.png \
        ignored.png \
        offline.png \
        online.png \
Index: gsvn/src/Makefile.am
===================================================================
--- gsvn/src/Makefile.am (revision 3581)
+++ gsvn/src/Makefile.am (working copy)
@@ -5,12 +5,19 @@
 gsvnsupport_DATA = \
        gsvn_app.py \
        gsvn_browser.py \
+ gsvn_diff.py \
        gsvn_dir_model.py \
+ gsvn_dir_view.py \
        gsvn_entry.py \
        gsvn_icons.py \
        gsvn_main.py \
+ gsvn_menubar.py \
        gsvn_online_button.py \
+ gsvn_open.py \
+ gsvn_popup.py \
+ gsvn_propedit.py \
        gsvn_status.py \
+ gsvn_toolbar.py \
        gsvn_tree_model.py \
        gsvn_tree_select.py \
        gsvn_wc.py
Index: gsvn/configure.in
===================================================================
--- gsvn/configure.in (revision 3581)
+++ gsvn/configure.in (working copy)
@@ -112,5 +112,6 @@
 Makefile
 src/Makefile
 src/gsvn
+src/gsvn_icons.py
 pixmaps/Makefile
 ])
Index: gsvn/src/gsvn_icons.py
===================================================================
--- gsvn/src/gsvn_icons.py (revision 3581)
+++ gsvn/src/gsvn_icons.py (working copy)
@@ -30,7 +30,7 @@
 import sys, os
 import gtk

-pixbuf_path = ["../pixmaps"]
+pixbuf_path = ["@DDIR@/gsvn/pixmaps"]
 pixbuf_cache = {}

 def get_pixbuf(name):

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 31 00:48:07 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.