Re: [Trac] XmlRpcPlugin, Email for user required?

2019-07-24 Thread Ryan Ollos
On Wed, Jul 24, 2019 at 4:02 AM Mo  wrote:

> Am Mittwoch, 24. Juli 2019 09:39:36 UTC+2 schrieb Jun Omae:
>
>>
>> That is depended on the user management which you're using. Please
>> describe it.
>>
>
> TracAccountManager with
>
> [account-manager]
> hash_method = HtDigestHashMethod
> htdigest_file = /mnt/data/trac/projects/trac/trac.htdigest
> htdigest_realm = trac
> password_store = HtDigestStore
>

Is there an error when removing the email address for RpcUser?



> Please share the error message. What application does raise the error?
>>
>
>
> Warning: The change has been saved, but an error occurred while sending
> notifications: Sendmail failed with (1, sendmail: RCPT TO:<
> rpcuser@ourdomain> (550 5.1.1 Mailbox  does not exist
> )), command: '[u'sendmail', '-i', '-f', 'trac@ourdomain', '
> rpcuser@ourdomain']'
>
>
>
>> > So next step we could create that mailbox, which means we get a lot of
>> email-notifications to that adress.
>> > Is it possible to disable all that mail transfer to that adress or
>> remove the mail-adress completely?
>>
>> [notification]
>> smtp_enabled = disabled
>>
>
> Yes, but that would disable notifications for all users.
> For now I just disabled all rules for that user in /prefs/notification to
> see if the warning has gone...
>
> Best regards.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Trac Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to trac-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/trac-users/9238708a-364b-4793-9f36-fc5810747d7a%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/CA%2BBGpn-hUMBdJ4R6XrRnAEzb6VUhkJ59DWOj9NxLVhQkEL2Skg%40mail.gmail.com.


[Trac] TracAutocompleteUsersPlugin and custom fields failing on comment modification

2019-07-24 Thread Mo
Hi,

with Trac-1.2.3 and TracAutocompleteUsersPlugin-0.4.6.dev0-py2.7.egg we 
have errors when trying to modify an existing ticket comment.
Writing new comments works fine.

The error is something about our custom field "tester" that is configured 
like this:
[ticket-custom]
test = select
test.label = Test
test.options = |open|done
test.order = 11
test.value = 
tester = text
tester.label = Tester
tester.order = 10
tester.value = 

*Trac detected an internal error:* 

KeyError: u'field_tester'


Most recent call last:

File "/usr/lib64/python2.7/site-packages/trac/web/main.py", line 647, in 
_dispatch_request
  dispatcher.dispatch(req)
File "/usr/lib64/python2.7/site-packages/trac/web/main.py", line 215, in 
dispatch
  chosen_handler = self._pre_process_request(req, chosen_handler)
File "/usr/lib64/python2.7/site-packages/trac/web/main.py", line 455, in 
_pre_process_request
  chosen_handler = filter_.pre_process_request(req, chosen_handler)
File "build/bdist.linux-x86_64/egg/autocompleteusers/autocompleteusers.py", 
line 85, in pre_process_request
  fixup_user_list(FIELDS_OPTION[1])
File "build/bdist.linux-x86_64/egg/autocompleteusers/autocompleteusers.py", 
line 82, in fixup_user_list
  req.args[arg] = _fixup_cc_list(req.args[arg])

Is this really part of the TracAutocompleteUsersPlugin and should I file a 
bug report to that plugin?

Best regards.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/e285ca8a-566f-4d87-8868-a9fd42b052cf%40googlegroups.com.


Re: [Trac] XmlRpcPlugin, Email for user required?

2019-07-24 Thread Mo
Am Mittwoch, 24. Juli 2019 09:39:36 UTC+2 schrieb Jun Omae:

>
> That is depended on the user management which you're using. Please 
> describe it. 
>

TracAccountManager with

[account-manager]
hash_method = HtDigestHashMethod
htdigest_file = /mnt/data/trac/projects/trac/trac.htdigest
htdigest_realm = trac
password_store = HtDigestStore


 

> Please share the error message. What application does raise the error? 
>
 

Warning: The change has been saved, but an error occurred while sending 
notifications: Sendmail failed with (1, sendmail: RCPT TO: (550 5.1.1 Mailbox  does not exist)), command: '[u'
sendmail', '-i', '-f', 'trac@ourdomain', 'rpcuser@ourdomain']' 

 

> > So next step we could create that mailbox, which means we get a lot of 
> email-notifications to that adress. 
> > Is it possible to disable all that mail transfer to that adress or 
> remove the mail-adress completely? 
>
> [notification] 
> smtp_enabled = disabled 
>

Yes, but that would disable notifications for all users.
For now I just disabled all rules for that user in /prefs/notification to 
see if the warning has gone...

Best regards.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/9238708a-364b-4793-9f36-fc5810747d7a%40googlegroups.com.


Re: [Trac] XmlRpcPlugin, Email for user required?

2019-07-24 Thread Jun Omae
On Wed, Jul 24, 2019 at 4:04 PM Mo  wrote:
>
> Hi,
>
> I found the XmlRpcPlugin very useful and we started to automate some ticket 
> changes by external scripts.
> Therefore a new user "RpcUser" was introduced. This new user requires a mail 
> adress.
> Isn't it possible to create a user without a mail adress?

That is depended on the user management which you're using. Please describe it.

> Now the scripts with that user are working, the new mail adress 
> rpcuser@ourdomain doesn't exist. This leads to errors on ticket changes due 
> to failed email notification to that adress.

Please share the error message. What application does raise the error?

> So next step we could create that mailbox, which means we get a lot of 
> email-notifications to that adress.
> Is it possible to disable all that mail transfer to that adress or remove the 
> mail-adress completely?

[notification]
smtp_enabled = disabled

-- 
Jun Omae  (大前 潤)

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/CAEVLMagV5YfE2Hzke1Zup%2Bb0A-a849dRZoWNj%3DettD5FT_Lx8Q%40mail.gmail.com.


[Trac] XmlRpcPlugin, Email for user required?

2019-07-24 Thread Mo
Hi,

I found the XmlRpcPlugin very useful and we started to automate some ticket 
changes by external scripts.
Therefore a new user "RpcUser" was introduced. This new user requires a 
mail adress.
Isn't it possible to create a user without a mail adress?
Now the scripts with that user are working, the new mail adress 
rpcuser@ourdomain doesn't exist. This leads to errors on ticket changes due 
to failed email notification to that adress.
So next step we could create that mailbox, which means we get a lot of 
email-notifications to that adress.
Is it possible to disable all that mail transfer to that adress or remove 
the mail-adress completely?

Best regards.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/d2b75bf5-e5fe-4fe2-8d93-27446b0d3737%40googlegroups.com.