* Barry Warsaw <email address hidden>:
> I just noticed a problem with the mailman.cfg file you posted. You've
> set the layout to be 'dev' but you're overriding var_dir in the
> [paths.master] section. That doesn't match, so it's not picking that
> up. You can verify by running
>
> bin/mailman info -p
>
> See if
>
> s/paths.master/paths.dev/
>
> fixes your problem.
I noticed that too when I posted the config to you. The problem probably is -
which is good in this case - that I am not an experienced python user nor
developer and the relation between the two didn't strike me.
I think I've even looked for a correlation in the original
mailman/../mailman.cfg and didn't find one.
Anyway. I will change it and see what happens.
p@rick
>
> --
> command mailman info fails when Database url does not exist
> https://bugs.launchpad.net/bugs/543620
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in GNU Mailman: Incomplete
> Status in GNU Mailman 3.0 series: Incomplete
>
> Bug description:
> The command "mailman info" crashes if the database path "url" points to a location that does not exist yet:
>
> root@mailman:~/mailman/bin# ./mailman info
> Traceback (most recent call last):
> File "./mailman", line 32, in <module>
> mailman.bin.mailman.main()
> File "/root/mailman/src/mailman/bin/mailman.py", line 98, in main
> initialize(config_file)
> File "/root/mailman/src/mailman/core/initialize.py", line 175, in initialize
> initialize_2(propagate_logs=propagate_logs)
> File "/root/mailman/src/mailman/core/initialize.py", line 146, in initialize_2
> database.initialize(debug)
> File "/root/mailman/src/mailman/database/stock.py", line 64, in initialize
> self._create(debug)
> File "/root/mailman/src/mailman/database/stock.py", line 98, in _create
> touch(url)
> File "/root/mailman/src/mailman/database/stock.py", line 141, in touch
> fd = os.open(path, os.O_WRONLY | os.O_NONBLOCK | os.O_CREAT, 0666)
> OSError: [Errno 2] No such file or directory: '/opt/mailman/data/mailman.db'
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/mailman/+bug/543620/+subscribe
* Barry Warsaw <email address hidden>: master/ paths.dev/
> I just noticed a problem with the mailman.cfg file you posted. You've
> set the layout to be 'dev' but you're overriding var_dir in the
> [paths.master] section. That doesn't match, so it's not picking that
> up. You can verify by running
>
> bin/mailman info -p
>
> See if
>
> s/paths.
>
> fixes your problem.
I noticed that too when I posted the config to you. The problem probably is -
which is good in this case - that I am not an experienced python user nor
developer and the relation between the two didn't strike me.
I think I've even looked for a correlation in the original ../mailman. cfg and didn't find one.
mailman/
Anyway. I will change it and see what happens.
p@rick
> /bugs.launchpad .net/bugs/ 543620 ~/mailman/ bin# ./mailman info bin.mailman. main() mailman/ src/mailman/ bin/mailman. py", line 98, in main config_ file) mailman/ src/mailman/ core/initialize .py", line 175, in initialize 2(propagate_ logs=propagate_ logs) mailman/ src/mailman/ core/initialize .py", line 146, in initialize_2 initialize( debug) mailman/ src/mailman/ database/ stock.py" , line 64, in initialize mailman/ src/mailman/ database/ stock.py" , line 98, in _create mailman/ src/mailman/ database/ stock.py" , line 141, in touch data/mailman. db' /bugs.launchpad .net/mailman/ +bug/543620/ +subscribe
> --
> command mailman info fails when Database url does not exist
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in GNU Mailman: Incomplete
> Status in GNU Mailman 3.0 series: Incomplete
>
> Bug description:
> The command "mailman info" crashes if the database path "url" points to a location that does not exist yet:
>
> root@mailman:
> Traceback (most recent call last):
> File "./mailman", line 32, in <module>
> mailman.
> File "/root/
> initialize(
> File "/root/
> initialize_
> File "/root/
> database.
> File "/root/
> self._create(debug)
> File "/root/
> touch(url)
> File "/root/
> fd = os.open(path, os.O_WRONLY | os.O_NONBLOCK | os.O_CREAT, 0666)
> OSError: [Errno 2] No such file or directory: '/opt/mailman/
>
> To unsubscribe from this bug, go to:
> https:/
--
state of mind
Digitale Kommunikation
http:// www.state- of-mind. de
Franziskanerstraße 15 Telefon +49 89 3090 4664
81669 München Telefax +49 89 3090 4666
Amtsgericht München Partnerschaftsr egister PR 563