id

262

publisher

xma@tickets.goffi.org/2b0bfde4-0c06-47ad-b045-5196123671c3

title
Stacktrace when downloads_dir is not set in the configuration file
reporter
Xavier Maillard
created
30/06/2018, 06:49
updated
30/06/2018, 06:49
labels
cagou configuration
type
bug
status
queued
priority
normal
milestone
0.7
severity
normal
body

If downloads_dir is not set into sat.conf file, launching cagou returns: Window: virtual keyboard not allowed, single mode, not docked Traceback (most recent call last): File "/Users/xavier/.local/bin/cagou", line 23, in <module> cagou.run() File "/Users/xavier/.local/lib/python2.7/site-packages/cagou/__init__.py", line 37, in run host = G._host = cagou_main.Cagou() File "/Users/xavier/.local/lib/python2.7/site-packages/cagou/core/cagou_main.py", line 379, in __init__ if not os.path.exists(self.downloads_dir): File "/Users/xavier/.local/bin/../lib/python2.7/genericpath.py", line 26, in exists os.stat(path) TypeError: coercing to Unicode: need string or buffer, NoneType found Adding it fixes this problem. I'd recommend setting a default value when it is not set by the user.

comments_uri
xmpp:pubsub.goffi.org?;node=urn%3Axmpp%3Amicroblog%3A0%3Acomments%2Forg.salut-a-toi.tickets%3A0_FrQuFYDGT9JJpqhiLPYe8A

You are not logged. You need to log in to comment.