After upgrading from 0.9.5 to 1.0.0, openser won't start and I get a bunch of "!!!attention: from v1.0.0+ use 'return' instead of 'break'" in /var/log/messages. I figured, ok must be a syntax change so I replaced all instances of break; with return; and tried again. The messages persist. I have included sample messages and corresponding block of code. Thx in advance.
Nov 1 10:43:42 ser1 openser: parse error (291,1-2): overwritting request routing table Nov 1 10:47:05 ser1 last message repeated 2 times
line 291 is the closing } for route block 0. The same openser.cfg starts and works with 0.9.5. what the heck?
Hi Brandon,
the "!!!attention:...." error may be generated also by improper call of function (maybe due prototype changes). trace the problem by looking at the lines mentioned in errors. If you still have problems, post the line and I will try to help.
for "overwriting request routing table " error - it's a new checking feature - it means you have defined same route more than once - "route[0]" is the same as "route" , so here is the problem....
regards, bogdan
Brandon Price wrote:
After upgrading from 0.9.5 to 1.0.0, openser won't start and I get a bunch of "!!!attention: from v1.0.0+ use 'return' instead of 'break'" in /var/log/messages. I figured, ok must be a syntax change so I replaced all instances of break; with return; and tried again. The messages persist. I have included sample messages and corresponding block of code. Thx in advance.
Nov 1 10:43:42 ser1 openser: parse error (291,1-2): overwritting request routing table Nov 1 10:47:05 ser1 last message repeated 2 times
line 291 is the closing } for route block 0. The same openser.cfg starts and works with 0.9.5. what the heck?
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
On 11/01/05 17:35, Bogdan-Andrei Iancu wrote:
Hi Brandon,
the "!!!attention:...." error may be generated also by improper call of function (maybe due prototype changes).
to be more precisely (!!!attention: from v1.0.0+ use 'return' instead of 'break') message is displayed for each error, as an hint, not to get users confused when the error is on a line where it is only a "break" and you knew that is a valid statement.
Daniel
trace the problem by looking at the lines mentioned in errors. If you still have problems, post the line and I will try to help.
for "overwriting request routing table " error - it's a new checking feature - it means you have defined same route more than once - "route[0]" is the same as "route" , so here is the problem....
regards, bogdan
Brandon Price wrote:
After upgrading from 0.9.5 to 1.0.0, openser won't start and I get a bunch of "!!!attention: from v1.0.0+ use 'return' instead of 'break'" in /var/log/messages. I figured, ok must be a syntax change so I replaced all instances of break; with return; and tried again. The messages persist. I have included sample messages and corresponding block of code. Thx in advance.
Nov 1 10:43:42 ser1 openser: parse error (291,1-2): overwritting request routing table Nov 1 10:47:05 ser1 last message repeated 2 times
line 291 is the closing } for route block 0. The same openser.cfg starts and works with 0.9.5. what the heck?
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
I have it worked out just had to note the syntax differences between the two versions. Thank you.
On Nov 1, 2005, at 12:03 PM, Daniel-Constantin Mierla wrote:
On 11/01/05 17:35, Bogdan-Andrei Iancu wrote:
Hi Brandon,
the "!!!attention:...." error may be generated also by improper call of function (maybe due prototype changes).
to be more precisely (!!!attention: from v1.0.0+ use 'return' instead of 'break') message is displayed for each error, as an hint, not to get users confused when the error is on a line where it is only a "break" and you knew that is a valid statement.
Daniel
trace the problem by looking at the lines mentioned in errors. If you still have problems, post the line and I will try to help.
for "overwriting request routing table " error - it's a new checking feature - it means you have defined same route more than once - "route[0]" is the same as "route" , so here is the problem....
regards, bogdan
Brandon Price wrote:
After upgrading from 0.9.5 to 1.0.0, openser won't start and I get a bunch of "!!!attention: from v1.0.0+ use 'return' instead of 'break'" in /var/log/messages. I figured, ok must be a syntax change so I replaced all instances of break; with return; and tried again. The messages persist. I have included sample messages and corresponding block of code. Thx in advance.
Nov 1 10:43:42 ser1 openser: parse error (291,1-2): overwritting request routing table Nov 1 10:47:05 ser1 last message repeated 2 times
line 291 is the closing } for route block 0. The same openser.cfg starts and works with 0.9.5. what the heck?
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
On 11/01/05 21:48, Brandon Price wrote:
I have it worked out just had to note the syntax differences between the two versions. Thank you.
did you remark special things that you had to change? We can try to collect some migration guidelines...
Daniel
On Nov 1, 2005, at 12:03 PM, Daniel-Constantin Mierla wrote:
On 11/01/05 17:35, Bogdan-Andrei Iancu wrote:
Hi Brandon,
the "!!!attention:...." error may be generated also by improper call of function (maybe due prototype changes).
to be more precisely (!!!attention: from v1.0.0+ use 'return' instead of 'break') message is displayed for each error, as an hint, not to get users confused when the error is on a line where it is only a "break" and you knew that is a valid statement.
Daniel
trace the problem by looking at the lines mentioned in errors. If you still have problems, post the line and I will try to help.
for "overwriting request routing table " error - it's a new checking feature - it means you have defined same route more than once - "route[0]" is the same as "route" , so here is the problem....
regards, bogdan
Brandon Price wrote:
After upgrading from 0.9.5 to 1.0.0, openser won't start and I get a bunch of "!!!attention: from v1.0.0+ use 'return' instead of 'break'" in /var/log/messages. I figured, ok must be a syntax change so I replaced all instances of break; with return; and tried again. The messages persist. I have included sample messages and corresponding block of code. Thx in advance.
Nov 1 10:43:42 ser1 openser: parse error (291,1-2): overwritting request routing table Nov 1 10:47:05 ser1 last message repeated 2 times
line 291 is the closing } for route block 0. The same openser.cfg starts and works with 0.9.5. what the heck?
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users