coercing to Unicode: need string or buffer, NoneType found

Bug #1232988 reported by Ogier
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
sbackup
New
Undecided
Unassigned

Bug Description

coercing to Unicode: need string or buffer, NoneType found

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)
TypeError: coercing to Unicode: need string or buffer, NoneType found

Revision history for this message
Omk (ossi-viljakainen) wrote :

I'm getting the same with exactly same traceback:

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)
TypeError: coercing to Unicode: need string or buffer, NoneType found

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

Thank you for reporting this issue. It is fixed in version 0.11.6. Please install the latest version from sbackup's team PPA you can find here https://launchpad.net/~sbackup-team/+archive/stable. Thank you and sorry for any inconvenience.

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.