Error when destination path is changed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sbackup |
Fix Released
|
Low
|
Unassigned | ||
0.11 |
Fix Released
|
Low
|
Unassigned |
Bug Description
Hello,
when trying to start sbackup the following error message is issued:
coercing to Unicode: need string or buffer, NoneType found
Traceback (most recent call last):
File "/usr/share/
self.
File "/usr/share/
if (os.path.
File "/usr/lib/
st = os.stat(s)
TypeError: coercing to Unicode: need string or buffer, NoneType found
The message also asks me to send the bug report: done here,
and to try sbackup again. Then the program starts and runs as expected.
With regrads
WJ
PS: platform info
- Linux ubuntu 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:16:28 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
- sbackup 0.11.4
This is the new Ubuntu 13.04. Well, it is rather new, nevertheless,
sbackup already worked with the new version.
I installed sbackup from the ppa some months ago.
I do not know whether the new ubuntu installation
did upgrade sbackup (I did not).
Related branches
Changed in sbackup: | |
status: | New → Triaged |
Changed in sbackup: | |
status: | Triaged → Confirmed |
summary: |
- sbackup fails to start + Error when destination path is changed |
Changed in sbackup: | |
status: | Confirmed → Fix Released |
I have the same problem. I receive the following message in the error window:
"coercing to Unicode: need string or buffer, NoneType found
Traceback (most recent call last): sbackup/ sbackup/ ui/configgui. py", line 1103, in on_dest1_toggled on_dest_ localpath_ selection_ changed( ) sbackup/ sbackup/ ui/configgui. py", line 1542, in on_dest_ localpath_ selection_ changed isdir(_ target) and os.access(_target, os.R_OK | os.W_OK | os.X_OK)): python2. 7/genericpath. py", line 41, in isdir
File "/usr/share/
self.
File "/usr/share/
if (os.path.
File "/usr/lib/
st = os.stat(s)
TypeError: coercing to Unicode: need string or buffer, NoneType found"
I run on: Linux vulcan 3.8.0-19-generic #30-Ubuntu SMP Wed May 1 16:35:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
I upgraded from 12.10 and never used sbackup after the upgrade.