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

IOError: [Errno 2] #3

Open
andrusstrockiy opened this issue Sep 29, 2015 · 0 comments
Open

IOError: [Errno 2] #3

andrusstrockiy opened this issue Sep 29, 2015 · 0 comments

Comments

@andrusstrockiy
Copy link
Owner

[root@pbx-msk opt]# python /opt/asteracct/asteramiacct.py
Traceback (most recent call last):
File "/opt/asteracct/asteramiacct.py", line 10, in
import acct
File "/opt/asteracct/acct.py", line 7, in
import confiparse
File "/opt/asteracct/confiparse.py", line 9, in
log = logg.Loggable(alog_name=name)
File "/opt/asteracct/logg.py", line 23, in init
self.logger = self.get_logger
File "/opt/asteracct/logg.py", line 30, in get_logger
handler = logging.handlers.TimedRotatingFileHandler(self.log_file_name, when="midnight", backupCount=5)
File "/usr/lib64/python2.6/logging/handlers.py", line 164, in init
BaseRotatingHandler.init(self, filename, 'a', encoding, delay)
File "/usr/lib64/python2.6/logging/handlers.py", line 64, in init
logging.FileHandler.init(self, filename, mode, encoding, delay)
File "/usr/lib64/python2.6/logging/init.py", line 835, in init
StreamHandler.init(self, self._open())
File "/usr/lib64/python2.6/logging/init.py", line 854, in _open
stream = open(self.baseFilename, self.mode)
IOError: [Errno 2] No such file or directory: '/opt/asteracct/log/asteracct.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