← Back to team overview

nssbackup-team team mailing list archive

[Bug 1181056] Re: TypeError: coercing to Unicode: need string or buffer, NoneType found

 

** Description changed:

  configuration files seem to be missing; I'm not sure why. (Maybe I've
  got a backup?) Simple configuration created a new profile, but when I
  set a destination, it refused with the above unintelligible-to-me
  message.
  
  Message displayed:
  Traceback (most recent call last):
-   File "/usr/share/sbackup/sbackup/ui/configgui.py", line 1103, in on_dest1_toggled
-     self.on_dest_localpath_selection_changed()
-   File "/usr/share/sbackup/sbackup/ui/configgui.py", line 1542, in on_dest_localpath_selection_changed
-     if (os.path.isdir(_target) and os.access(_target, os.R_OK | os.W_OK | os.X_OK)):
-   File "/usr/lib/python2.7/genericpath.py", line 41, in isdir
-     st = os.stat(s)
+   File "/usr/share/sbackup/sbackup/ui/configgui.py", line 1103, in on_dest1_toggled
+     self.on_dest_localpath_selection_changed()
+   File "/usr/share/sbackup/sbackup/ui/configgui.py", line 1542, in on_dest_localpath_selection_changed
+     if (os.path.isdir(_target) and os.access(_target, os.R_OK | os.W_OK | os.X_OK)):
+   File "/usr/lib/python2.7/genericpath.py", line 41, in isdir
+     st = os.stat(s)
  TypeError: coercing to Unicode: need string or buffer, NoneType found
  
  nothing in /var/crash.
  
  1) The release of Ubuntu you are using, Ubuntu 13.04
  2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
  curious -- Software Centre asks if I want to install it. ?????
  3) What you expected to happen
  create a new profile
  4) What happened instead
  displayed above message; please restart and try again. Which I did,  and the problem repeated.
+ 
+ 
+ -----------
+ Thinking about the install problem, a bit more background. sbackup configuration would not recognize my administrative password. I ran it by tracing back tot he program and running sudo (alias) from a terminal.
+ 
+ After writing the bug report, I used synaptic to install, then
+ completely uninstall, then install. It still wouldn't authenticate.

-- 
You received this bug notification because you are a member of Simple
Backup Maintainers, which is subscribed to sbackup in Ubuntu.
https://bugs.launchpad.net/bugs/1181056

Title:
  TypeError: coercing to Unicode: need string or buffer, NoneType found

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sbackup/+bug/1181056/+subscriptions


References