Can't start runbot unless you manually create the directory "run"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP Tools |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When starting the runbot for the first time, I met the error below simply because the directory "run" does not exist in the branch.
It can't even be created within the --init procedure because no command work unless you manually create this directory.
When initializing, the script seems to need the "run" directory only for logging, so probably the logging should be left to the caller altogether (I usually prefer to log events through syslog for example).
Traceback (most recent call last):
File "./openerp-runbot", line 10, in <module>
import openerprunbot
File "/home/
from . import core
File "/home/
from openerprunbot.misc import *
File "/home/
_log_handler = logging.
File "/usr/lib/
BaseRotatin
File "/usr/lib/
logging.
File "/usr/lib/
StreamHandl
File "/usr/lib/
stream = open(self.
IOError: [Errno 2] No such file or directory: '/home/
Lionel Sausin.
Related branches
- OpenERP R&D Team: Pending requested
-
Diff: 8 lines (+2/-0)1 file modified.bzrignore (+2/-0)
summary: |
- Can't start runbot unless you manually create rht directory "run" + Can't start runbot unless you manually create the directory "run" |
Didn't meet this bug this time, so I guess it's fixed!