Ubuntu 9.04: Install *seems* OK, no change in Nautilus

Bug #366721 reported by Thierry B. on 2009-04-25
2
Affects Status Importance Assigned to Milestone
SubdiverSVN
Undecided
T.Yamada

Bug Description

Hi,

I tried to install SubdiverSVN on a fresh Ubuntu 9.04 following https://subdiversvn.svn.sourceforge.net/svnroot/subdiversvn/trunk/subdiversvn_documents/HowToCompileSubdiverSVN_inUbuntuAndDebian.txt.

Install seems to run well, ./configure, make and make install do not end with fatal errors, however there is no changes in Nautilus. As I am not a programmer, I attached the full install process. I did it redirecting output to a text file. However some messages (more important ?) were redirected to screen and do not output to the file. I added these messages clearly at the end of the output. Here is below only these messages :

ubuntu@ubuntu-desktop:~/Documents/gSvnClientCore-1.5.2-1$ make > ../make.txt

lock-cmd.c: In function 'svn_cl__lock':
lock-cmd.c:86: warning: 'comment' may be used uninitialized in this function
notify.c: In function 'notify':
notify.c:736: warning: passing argument 1 of 'SetErrorMessage' from incompatible pointer type

ubuntu@ubuntu-desktop:~/Documents/subdiversvn-0.1-1$ make > ../make.txt

dlg.c: In function ‘show_url’:
dlg.c:131: warning: implicit declaration of function ‘gnome_url_show_on_screen’
dlg.c:134: warning: format not a string literal and no format arguments
msgbox.c: In function ‘msg_box’:
msgbox.c:17: warning: format not a string literal and no format arguments
msgbox.c: In function ‘err_msg’:
msgbox.c:28: warning: format not a string literal and no format arguments
msgbox.c: In function ‘q_yes_no’:
msgbox.c:39: warning: format not a string literal and no format arguments
msgbox.c: In function ‘q_ok_can’:
msgbox.c:54: warning: format not a string literal and no format arguments
ChildRedirector.cc: In member function ‘void CChildRedirector::CreateProcess(gchar* const*, const gchar*, gboolean)’:
ChildRedirector.cc:92: warning: ignoring return value of ‘int dup(int)’, declared with attribute warn_unused_result
MainWindow.cc: In member function ‘void MainWindow::on_button_execute_clicked()’:
MainWindow.cc:318: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘size_t’
MainWindow.cc: In static member function ‘static gboolean MainWindow::start_timer_callback(void*)’:
MainWindow.cc:71: warning: unused variable ‘me’
MainWindow.cc: In member function ‘void MainWindow::on_button_execute_clicked()’:
MainWindow.cc:439: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘size_t’

ubuntu@ubuntu-desktop:~/Documents/subdiversvn-0.1-1$ sudo make install > ../makeinstall.txt

gtk-update-icon-cache: Cache file created successfully.

and first output of Nautilus :

ubuntu@ubuntu-desktop:~/Documents/subdiversvn-0.1-1$ nautilus &
[1] 22117
ubuntu@ubuntu-desktop:~/Documents/subdiversvn-0.1-1$
(nautilus:22117): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed

(nautilus:22117): libgnomevfs-WARNING **: Internal error: the configuration system was not initialized. Did you call _gnome_vfs_configuration_init?

(nautilus:22117): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed

(nautilus:22117): libgnomevfs-WARNING **: Internal error: the configuration system was not initialized. Did you call _gnome_vfs_configuration_init?

(nautilus:22117): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed

(nautilus:22117): libgnomevfs-WARNING **: Internal error: the configuration system was not initialized. Did you call _gnome_vfs_configuration_init?

(nautilus:22117): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed

(nautilus:22117): libgnomevfs-WARNING **: Internal error: the configuration system was not initialized. Did you call _gnome_vfs_configuration_init?

(nautilus:22117): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed

(nautilus:22117): libgnomevfs-WARNING **: Internal error: the configuration system was not initialized. Did you call _gnome_vfs_configuration_init?

(nautilus:22117): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed

(nautilus:22117): libgnomevfs-WARNING **: Internal error: the configuration system was not initialized. Did you call _gnome_vfs_configuration_init?

** (nautilus:22117): WARNING **: Unable to add monitor: Not supported
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.

(nautilus:22117): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed

(nautilus:22117): libgnomevfs-WARNING **: Internal error: the configuration system was not initialized. Did you call _gnome_vfs_configuration_init?

(nautilus:22117): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed

(nautilus:22117): libgnomevfs-WARNING **: Internal error: the configuration system was not initialized. Did you call _gnome_vfs_configuration_init?

Thierry Bothorel

Thierry B. (thierrybo2) wrote :
summary: - Ubuntu 9.04: Install *seems* OK, no chnage in Nautilus
+ Ubuntu 9.04: Install *seems* OK, no change in Nautilus
Thierry B. (thierrybo2) wrote :

oops, attachment missed the "make install "part for gSvnCoreClient.

Thierry B. (thierrybo2) wrote :

Update, It works now, but after doing something not related to subdiversvn :

After trying 3 times to install subdiversvn on a fresh Ubuntu 9.04 64 bits without success (I did it in Virtualbox), I tried another nautilus plugin, NautilusSVN from http://code.google.com/p/nautilussvn/.

The deb package said me ton install python-svn, python-nautilus, python-configobj, then I restart Nautilus, and surprise I get BOTH Nautilus plugin working now. Well, I don't know if they works, nut I least they appear in Nautilus as they should (see attachement).

Thierry B. (thierrybo2) wrote :

I can confirm my laster comment. I installed two more times SubdiverSVN from a clean ubuntu 9.04 64bits. I can then stop/run nautilus several times without success. As soon as I install NautilusSVN and restart Nautilus, SubdiverSVN shows up in Nautilus toolbar and in context menu.

T.Yamada (tyamada) wrote :

$ svn diff --diff-cmd=diff --extensions=-U3 --old=gSvnDesktop/nautilus-extension/gsvndesktop-nautilus-extension.c@BASE --new=gSvnDesktop/nautilus-extension/gsvndesktop-nautilus-extension.c
Index: gSvnDesktop/nautilus-extension/gsvndesktop-nautilus-extension.c
===================================================================
--- gSvnDesktop/nautilus-extension/gsvndesktop-nautilus-extension.c (revision 24)
+++ gSvnDesktop/nautilus-extension/gsvndesktop-nautilus-extension.c (working copy)
@@ -107,6 +107,7 @@

 void nautilus_module_initialize(GTypeModule *module)
 {
+ gnome_vfs_init();
  subdiversvn_extension_register_type(module);
 }

T.Yamada (tyamada) wrote :

f$ svn diff --diff-cmd=diff --extensions=-U3 --old=gSvnDesktop/thunar-extension/gsvndesktop-thunar-extension.c@BASE --new=gSvnDesktop/thunar-extension/gsvndesktop-thunar-extension.c
Index: gSvnDesktop/thunar-extension/gsvndesktop-thunar-extension.c
===================================================================
--- gSvnDesktop/thunar-extension/gsvndesktop-thunar-extension.c (revision 24)
+++ gSvnDesktop/thunar-extension/gsvndesktop-thunar-extension.c (working copy)
@@ -64,6 +64,8 @@
   return;
  }

+ gnome_vfs_init();
+
  div_provider_register_type(plugin);
  type_list[0] = DIV_TYPE_PROVIDER;
 }

T.Yamada (tyamada) on 2009-04-28
Changed in subdiversvn:
assignee: nobody → tyamada
status: New → Fix Committed
Thierry B. (thierrybo2) wrote :

T. Yamada, this time subdiversvn-0.1-2 has errors at MAKE step:

In file included from SvnClientEvent.cc:9:
gSvnCommon.h:101:35: error: gSvnClientCoreUse.h: No such file or directory
In file included from SvnClientEvent.cc:9:
gSvnCommon.h:122: error: expected class-name before ‘{’ token
gSvnCommon.h:140: error: ‘_svn_client_main’ does not name a type
gSvnCommon.h:145: error: ‘_svn_client_main’ has not been declared
gSvnCommon.h: In constructor ‘CSvnClientThread::CThreadBase::CThreadBase()’:
gSvnCommon.h:132: error: ‘threadMain’ was not declared in this scope
gSvnCommon.h: In member function ‘void CSvnClientThread::CThreadBase::SetParams(int, gint, gchar**)’:
gSvnCommon.h:147: error: ‘class CSvnClientThread::CThreadBase’ has no member named ‘threadMain’
gSvnCommon.h: In member function ‘void CSvnClientThread::CThreadBase::ThreadFunction()’:
gSvnCommon.h:153: error: ‘threadMain’ was not declared in this scope
gSvnCommon.h: In constructor ‘CSvnClientThread::CSvnClientThread(Gtk::Window*)’:
gSvnCommon.h:161: error: class ‘CSvnClientThread’ does not have any field named ‘CSvnClientUse’
gSvnCommon.h: In member function ‘void CSvnClientThread::ShowNodeDlg()’:
gSvnCommon.h:215: error: ‘class CSvnClientThread’ has no member named ‘AttachNode’
gSvnCommon.h:220: error: ‘CNode’ was not declared in this scope
gSvnCommon.h:220: error: ‘pNode’ was not declared in this scope
gSvnCommon.h:220: error: ‘class CSvnClientThread’ has no member named ‘at’
gSvnCommon.h:230: error: ‘class CSvnClientThread’ has no member named ‘GetLastError’
gSvnCommon.h:235: error: ‘ClearErrorMessage’ was not declared in this scope
gSvnCommon.h:238: error: ‘class CSvnClientThread’ has no member named ‘GetSvnMessage’
gSvnCommon.h:243: error: ‘ClearSvnMessage’ was not declared in this scope
gSvnCommon.h: In member function ‘gint CSvnClientThread::ExecuteThreadMain(gint, gchar**)’:
gSvnCommon.h:254: error: ‘LoadSvnClientCoreModule’ was not declared in this scope
gSvnCommon.h:254: error: ‘GetFunctionSymboles’ was not declared in this scope
gSvnCommon.h:273: error: ‘ClearErrorMessage’ was not declared in this scope
gSvnCommon.h:274: error: ‘ClearSvnMessage’ was not declared in this scope
gSvnCommon.h:275: error: ‘ClearNodes’ was not declared in this scope
gSvnCommon.h:291: error: ‘_svn_client_callback_begin’ was not declared in this scope
gSvnCommon.h:291: error: ‘SetCallbackFunction_begin’ was not declared in this scope
gSvnCommon.h:292: error: ‘_svn_client_callback_finish’ was not declared in this scope
gSvnCommon.h:292: error: ‘SetCallbackFunction_finish’ was not declared in this scope
gSvnCommon.h:293: error: ‘_svn_client_callback_notify’ was not declared in this scope
gSvnCommon.h:293: error: ‘SetCallbackFunction_notify’ was not declared in this scope
gSvnCommon.h:296: error: ‘class CSvnClientThread’ has no member named ‘mainAgency’
gSvnCommon.h: In member function ‘gboolean CSvnClientThread::do_exec(const gchar*, const gchar*, gboolean)’:
gSvnCommon.h:324: error: ‘GetCoreVersion’ was not declared in this scope
gSvnCommon.h:357: error: ‘ExecuteMain’ was not declared in this scope
make[2]: *** [SvnClientEvent.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Thierry B. (thierrybo2) wrote :
T.Yamada (tyamada) wrote :

gSvnClientCore is needed by subdiversvn!
Are not you installing gSvnClientCore?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers