Simple Backup won't start

Bug #715924 reported by JLotspeich
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
sbackup
Expired
Undecided
Unassigned

Bug Description

After <code>sudo apt-get install sbackup</code> any attempt to run sbackup-config-gtk results in a window that says <quote>No default profile was found. You are probably running Simple Backup for the first time. A backup profile using default values was created.

Please modify the settings according to your needs and save the configuration in order to use it.</quote>

There is no sbackup.conf anywhere on my system. The GUI only presents me with a "Close" button. Prior to this problem, I had a valid sbackup profile and the GUI would not start with that either. Instead, running sbackup-config-gtk would result in a backup process starting, but no GUI. There was no way to configure or change any options in sbackup except through the terminal. I deleted the profile after removing sbackup and reinstalling it with no effect, then running <code>apt-get purge sbackup</code> which deleted the profile. I wish I'd have made a backup of the the conf file, but it's not much of a loss since this program won't work for me at all.

Revision history for this message
Jean-Peer Lorenz (peer.loz) wrote :

Thank you for choosing sbackup. The described behavior is intentional. If no configuration file is found, an empty/default profile is created. Just click 'Close' and modify the settings provided within sbackup-config-gtk according to your needs. Then save your configuration and a config file will be created.

You can find sbackup's config files here:

1. superuser: default profile in /etc/sbackup.conf, additional profiles in /etc/sbackup.d/sbackup-profilename.conf
2. regular users: default profile in ~/.config/sbackup/sbackup.conf, additional profiles in ~/.config/sbackup/sbackup.d/sbackup-profilename.conf

Usually, you don't need to modify your configuration files by hand. Take care, and be sure what you're doing! Please add information about your distribution, version etc. when reporting bugs.

HTH,
jean-peer.

Changed in sbackup:
status: New → Incomplete
Revision history for this message
JLotspeich (jlotspeich34) wrote :

The problem is that sbackup is not creating any config files. After I hit close, the program exits. I don't get a GUI, there are no options to select.

find /etc -name sbackup.conf returns nothing.

Ditto for find /home/user -name sbackup.conf.

Each time I try to run sbackup-config-gtk it gives the same error without creating a profile. Short of creating a profile from scratch by looking at man-page options, there is no way to actually get a GUI in order to modify any settings. Is the default profile stored
somewhere that I can get to and make a copy into /etc?

Version: sbackup 0.11.3
Distro: Ubuntu 10.10 on kernel 2.6.35-25-generic

Revision history for this message
JLotspeich (jlotspeich34) wrote :

Running sbackup-config-gtk in the terminal gives:

Updating GPG_AGENT_INFO to: None
2011-02-09 12:56:19,987 - INFO: Log output for [Default Profile] is directed to file '/home/user/.local/share/sbackup/log/sbackup.2011-02-09_12.56.19.983888.log'.
2011-02-09 12:56:19,988 - INFO: Profile settings are being set to default values. Configuration file is set to '/home/user/.config/sbackup/sbackup.conf'.
/usr/share/sbackup/sbackup/ui/GladeGnomeApp.py:90: GtkWarning: IA__gtk_tree_model_get_n_columns: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
  self.xml = gtk.glade.XML(fname, domain = 'sbackup')
/usr/share/sbackup/sbackup/ui/GladeGnomeApp.py:90: GtkWarning: IA__gtk_combo_box_set_column_span_column: assertion `column_span >= -1 && column_span < col' failed
  self.xml = gtk.glade.XML(fname, domain = 'sbackup')
/usr/share/sbackup/sbackup/ui/GladeGnomeApp.py:90: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  self.xml = gtk.glade.XML(fname, domain = 'sbackup')
/usr/share/sbackup/sbackup/ui/GladeGnomeApp.py:90: GtkWarning: IA__gtk_combo_box_set_row_span_column: assertion `row_span >= -1 && row_span < col' failed
  self.xml = gtk.glade.XML(fname, domain = 'sbackup')
/usr/share/sbackup/sbackup/ui/GladeGnomeApp.py:90: GtkWarning: IA__gtk_widget_grab_default: assertion `gtk_widget_get_can_default (widget)' failed
  self.xml = gtk.glade.XML(fname, domain = 'sbackup')
/usr/share/sbackup/sbackup/ui/GladeGnomeApp.py:149: GtkWarning: Error loading theme icon 'drive-harddisk' for stock: Error opening file: Permission denied
  self.top_window.show()
/usr/share/sbackup/sbackup/ui/GladeGnomeApp.py:149: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
  self.top_window.show()
/usr/share/sbackup/sbackup/ui/GladeGnomeApp.py:149: GtkWarning: gtk_default_render_icon: assertion `base_pixbuf != NULL' failed
  self.top_window.show()
/usr/share/sbackup/sbackup/ui/GladeGnomeApp.py:149: GtkWarning: IA__gtk_style_render_icon: assertion `pixbuf != NULL' failed
  self.top_window.show()
/usr/share/sbackup/sbackup/ui/GladeGnomeApp.py:149: Warning: g_object_ref: assertion `G_IS_OBJECT (object)' failed
  self.top_window.show()

After the last line, rather than exit, the program seems to just hang. I have to Ctrl-C it to get back to the prompt. The output says it is writing a default profile, but ~/.config/sbackup is empty.

Revision history for this message
Jean-Peer Lorenz (peer.loz) wrote :

Hello,

looks like something is really going wrong! Output is supposed to like like this:

johndoe@johndoe-VirtualBox:~$ sbackup-config-gtk
Updating GNOME_KEYRING_PID to: None
Updating GPG_AGENT_INFO to: None
2011-02-09 22:34:48,095 - INFO: Logausgabe für [Standardprofil] wird in Datei '/home/johndoe/.local/share/sbackup/log/sbackup.2011-02-09_22.34.48.094905.log' umgeleitet.
2011-02-09 22:34:48,096 - INFO: Einstellungen des Profils werden auf die Standardwerte gesetzt. Konfigurationsdatei wird auf Datei '/home/johndoe/.config/sbackup/sbackup.conf' festgelegt.
/usr/share/sbackup/sbackup/ui/GladeGnomeApp.py:90: GtkWarning: IA__gtk_tree_model_get_n_columns: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
  self.xml = gtk.glade.XML(fname, domain = 'sbackup')
/usr/share/sbackup/sbackup/ui/GladeGnomeApp.py:90: GtkWarning: IA__gtk_combo_box_set_column_span_column: assertion `column_span >= -1 && column_span < col' failed
  self.xml = gtk.glade.XML(fname, domain = 'sbackup')
/usr/share/sbackup/sbackup/ui/GladeGnomeApp.py:90: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  self.xml = gtk.glade.XML(fname, domain = 'sbackup')
/usr/share/sbackup/sbackup/ui/GladeGnomeApp.py:90: GtkWarning: IA__gtk_combo_box_set_row_span_column: assertion `row_span >= -1 && row_span < col' failed
  self.xml = gtk.glade.XML(fname, domain = 'sbackup')
/usr/share/sbackup/sbackup/ui/GladeGnomeApp.py:90: GtkWarning: IA__gtk_widget_grab_default: assertion `gtk_widget_get_can_default (widget)' failed
  self.xml = gtk.glade.XML(fname, domain = 'sbackup')

I guess this is related to the cause of your issue:
> /usr/share/sbackup/sbackup/ui/GladeGnomeApp.py:149: GtkWarning: Error loading theme icon 'drive-harddisk' for stock: Error > opening file: Permission denied

What theme do you use?

Revision history for this message
JLotspeich (jlotspeich34) wrote :

Sorry to be so slow to respond.

I'm using the Mac4Lin_GTK_Graphite_v1.0 theme. I made sure proper permission are on all folders within ~/.themes. There is no stock drive-harddisk icon file and I can't tell from GladeGnomeApp.py what directory it is trying to access.

Revision history for this message
Jean-Peer Lorenz (peer.loz) wrote :

Did you tried to change theme to default Clearlooks?

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for sbackup because there has been no activity for 60 days.]

Changed in sbackup:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.