[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dak bug report



On Sat, 2012-09-15 at 16:45 -0700, Travis L. Bean wrote:
> On 09/15/2012 05:06 AM, Adam D. Barratt wrote:
[...]
> > Please add Dir::Base to dak.conf and try the update again. 
> 
> I had originally attempted to add "Dir::Base" to /srv/dak/dak.conf by
> appending it (echo Dir::Base >> dak.conf) to the bottom of the file
> without any luck and finally wised up with the following:
> 
> sed -i '1 i\Dir::Base' /srv/dak/dak.conf
[...]
> Traceback (most recent call last):
>   File "/home/dak/bin/dak", line 237, in <module>
>     main()
>   File "/home/dak/bin/dak", line 217, in main
>     module.main()
>   File "/opt/dak/dak/init_dirs.py", line 184, in main
>     create_directories()
>   File "/opt/dak/dak/init_dirs.py", line 111, in create_directories
>     process_tree(Cnf, "Dir")
>   File "/opt/dak/dak/init_dirs.py", line 70, in process_tree
>     do_dir(target, config_name)
>   File "/opt/dak/dak/init_dirs.py", line 54, in do_dir
>     os.makedirs(target)
>   File "/usr/lib/python2.6/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 2] No such file or directory: ''

aiui Dir::Base is intended to be set to a directory.

Regards,

Adam


Reply to: