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

scenario : error-performing-condition #831

Closed
pascalmaes opened this issue Dec 22, 2019 · 14 comments · Fixed by #833
Closed

scenario : error-performing-condition #831

pascalmaes opened this issue Dec 22, 2019 · 14 comments · Fixed by #833
Labels

Comments

@pascalmaes
Copy link

pascalmaes commented Dec 22, 2019

Whithin the web interface, when I go to a list, I get the following message:

Dec 22 15:21:23 sympa-test.sipr.ucl.ac.be wwsympa[19759]: info Sympa::Scenario::authz() Error in scenario Sympa::Scenario <send.editorkeyonly;/var/sympa/default/scenari/send.editorkeyonly>, context Sympa::List [email protected]: (error-performing-condition)

In sympa.err, I have:

Dec 22 15:19:40 sympa-test.sipr.ucl.ac.be wwsympa[19406]: err main::#1503 > main::check_param_in#2591 > Sympa::Scenario::authz#433 Error in scenario Sympa::Scenario <send.editorkeyonly;/var/sympa/default/scenari/send.editorkeyonly>, context Sympa::List <[email protected]
ouvain.be>: (unknown)

Version

Sympa 6.2.50

Installation method

source package

Expected behavior

I don't have the error with the previous version of Sympa (6.2.48)

@ikedas
Copy link
Member

ikedas commented Dec 23, 2019

Hi @pascalmaes, could you please show these things? ---

  • entire log during Sympa processed the message;
  • content of /var/sympa/default/scenari/send.editorkeyonly;
  • content of list config file.

@pascalmaes
Copy link
Author

Hello,

You will find

@ikedas
Copy link
Member

ikedas commented Dec 24, 2019

@pascalmaes,

Could you please apply this patch and check if the problem will be solved?

@ikedas ikedas added the bug label Dec 24, 2019
@ikedas
Copy link
Member

ikedas commented Dec 24, 2019

My overlooking. Also please apply this patch.

@pascalmaes
Copy link
Author

I have still the following error (see in attachment)
logfile.txt
errfile.txt

@ikedas
Copy link
Member

ikedas commented Dec 24, 2019

I have still the following error (see in attachment)

Did you applied additional patch?

@pascalmaes
Copy link
Author

Yes of course

@pascalmaes
Copy link
Author

I have also a lot of the same kind of messages (error-performing-condition) with the topics_visibility.
To avoid these messages, I have to suppress all the "is_" condition (is_owner, is_subscriber, is_editor).

Dec 24 18:16:42 sympa-test.sipr.ucl.ac.be wwsympa[5690]: info Sympa::Spool::Listmaster::store() Stacking message about "error_performing_condition" for [email protected], [email protected] (listes.uclouvain.be)
Dec 24 18:16:42 sympa-test.sipr.ucl.ac.be wwsympa[5690]: info Sympa::Scenario::authz() Error in scenario Sympa::Scenario <topics_visibility.intranet;/var/sympa/etc/scenari/topics_visibility.intranet>, context listes.uclouvain.be: (error-performing-condition)

@ikedas
Copy link
Member

ikedas commented Dec 25, 2019

Have you restarted web service? (see also "Reloading WWSympa").

@ikedas
Copy link
Member

ikedas commented Dec 25, 2019

And, please show us the content of topics_visibility.intranet.

@ikedas
Copy link
Member

ikedas commented Dec 25, 2019

@pascalmaes ,

The topics_visibility scenario is always executed under "domain" context, i.e. not corresponding to any lists. Thus that scenario cannot contain is_subscriber(), is_owner() nor is_editor() which take [listname] argument (IMHO this scenario may contain is_listmaster()).

@pascalmaes
Copy link
Author

Hello

Sympa and apache have been both restarted.
I have changed the topics_visibility scenario and I have no more error about that.

You will find the log with some more information
logfile.txt

@pascalmaes
Copy link
Author

It seems that the error occurs only with the send scenario.
I have no error with info, review, unsubscribe, etc.
but with the send (I have changed to send.private):

Dec 25 20:22:43 sympa-test.sipr.ucl.ac.be wwsympa[15280]: info Sympa::Scenario::authz(Sympa::Scenario <send.private;/var/sympa/default/scenari/send.private>, md5, HASH, ...)
Dec 25 20:22:43 sympa-test.sipr.ucl.ac.be wwsympa[15280]: info Sympa::Scenario::authz() Error in scenario Sympa::Scenario <send.private;/var/sympa/default/scenari/send.private>, context Sympa::List [email protected]: (error-performing-condition)

@ikedas
Copy link
Member

ikedas commented Dec 26, 2019

@pascalmaes , thanks for checking the other scenarios!

I think the expressions including "[message]" caused the problem. We will release a patch release of Sympa (6.2.52) in a few days.

Thanks again for reporting and investigating bugs!

ikedas added a commit that referenced this issue Dec 26, 2019
Scenario fails with negative indices in [header->Field][n] (#831)
ikedas added a commit that referenced this issue Jan 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants