Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

~/.pywebget/ is not created automatically #3

Open
pfalcon opened this issue Dec 22, 2013 · 0 comments
Open

~/.pywebget/ is not created automatically #3

pfalcon opened this issue Dec 22, 2013 · 0 comments

Comments

@pfalcon
Copy link

pfalcon commented Dec 22, 2013

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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant