PyWebGet icon indicating copy to clipboard operation
PyWebGet copied to clipboard

~/.pywebget/ is not created automatically

Open pfalcon opened this issue 12 years ago • 0 comments

Contrary to README promise, one can't just put source files anywhere and run it, because one gets:

Traceback (most recent call last):
  File "./pywebget.py", line 23, in <module>
    core.utils.init_log()
  File "/home/pfalcon/projects-3rdparty/PyWebGet/core/utils.py", line 20, in init_log
    logging.basicConfig(filename=filename, level=logging.INFO, format=LOG_FORMAT)
  File "/usr/lib/python2.7/logging/__init__.py", line 1519, in basicConfig
    hdlr = FileHandler(filename, mode)
  File "/usr/lib/python2.7/logging/__init__.py", line 897, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python2.7/logging/__init__.py", line 916, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 2] No such file or directory: '/home/pfalcon/.pywebget/log'

pfalcon avatar Dec 22 '13 17:12 pfalcon