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

Logging to file doesn't expand '~' #90

derks opened this Issue Jan 10, 2012 · 0 comments


None yet
1 participant

derks commented Jan 10, 2012

(dmirr)derks-macbook [drest] $ dmirr project create
Traceback (most recent call last):
  File "/Users/wdierkes/env/dmirr/bin/dmirr", line 8, in 
    load_entry_point('dmirr.cli==1.9.1', 'console_scripts', 'dmirr')()
  File "/Users/wdierkes/devel/dmirr/src/dmirr.cli/dmirr/cli/", line 26, in main
  File "/Users/wdierkes/devel/cement/src/cement2/cement2/core/", line 143, in setup
  File "/Users/wdierkes/devel/cement/src/cement2/cement2/core/", line 327, in _setup_log_handler
  File "/Users/wdierkes/devel/cement/src/cement2/cement2/lib/", line 196, in setup
  File "/Users/wdierkes/devel/cement/src/cement2/cement2/lib/", line 253, in _setup_file_log
  File "/usr/local/Cellar/python/2.7.2/lib/python2.7/logging/", line 118, in __init__
    BaseRotatingHandler.__init__(self, filename, mode, encoding, delay)
  File "/usr/local/Cellar/python/2.7.2/lib/python2.7/logging/", line 65, in __init__
    logging.FileHandler.__init__(self, filename, mode, encoding, delay)
  File "/usr/local/Cellar/python/2.7.2/lib/python2.7/logging/", line 893, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/local/Cellar/python/2.7.2/lib/python2.7/logging/", line 912, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 2] No such file or directory: '/Users/wdierkes/devel/drest/~/.myapp2.log'

derks pushed a commit that referenced this issue Jan 10, 2012

@ghost ghost assigned derks Jan 10, 2012

@derks derks closed this Jan 10, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment