Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-19 Thread RjOllos


On Monday, December 19, 2016 at 12:08:25 AM UTC-8, Mingxing Tian wrote:
>
> This is a new problem, I update the DynamicFieldsPlugin plugin, in the 
> management background still can not see the latest options.
>
>
> 
> I cannot see all the fields described below:
>
> https://trac.edgewall.org/wiki/1.1/TracTicketsCustomFields#AvailableFieldTypesandOptions
>

The issue is with CustomFieldAdminPlugin:
https://trac-hacks.org/wiki/CustomFieldAdminPlugin

It doesn't yet have support for time fields. See:
https://trac-hacks.org/ticket/7015

- Ryan
 

-- 
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 post to this group, send email to trac-users@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-19 Thread Mingxing Tian
This is a new problem, I update the DynamicFieldsPlugin plugin, in the 
management background still can not see the latest options.


I cannot see all the fields described below:
https://trac.edgewall.org/wiki/1.1/TracTicketsCustomFields#AvailableFieldTypesandOptions

-- 
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 post to this group, send email to trac-users@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-18 Thread Mingxing Tian


在 2016年12月18日星期日 UTC+8下午3:54:49,RjOllos写道:
>
>
>
> On Tuesday, December 6, 2016 at 11:16:19 PM UTC-8, Mingxing Tian wrote:
>>
>>
>>
>> 在 2016年12月7日星期三 UTC+8下午2:37:57,RjOllos写道:
>>>
>>>
>>>
>>> On Tuesday, December 6, 2016 at 10:22:26 PM UTC-8, Mingxing Tian wrote:



 在 2016年12月7日星期三 UTC+8下午1:03:58,RjOllos写道:
>
>
>
> On Tuesday, December 6, 2016 at 6:03:47 PM UTC-8, Mingxing Tian wrote:
>>
>> I found a few problems:
>> 1. the first page is being given, please refer to Annex.
>>
>
> Before reporting these problems and asking us to tell you the 
> solution, please try exploring yourself. Go to the project wiki page, see 
> if there is an updated version of the plugin available.
>
> You can see the problem is with TracWysiwygPlugin, right? So you 
> should looks here:
> https://trac-hacks.org/wiki/TracWysiwygPlugin
>
> All I have to do is look at the change log and see that an issue with 
> addEvent was fixed in r15940, which is the most recent change, seen at 
> the 
> bottom of the project wiki page.
>  
>
>> 2. view tags page log error output
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 613, 
>> in _dispatch_request
>> dispatcher.dispatch(req)
>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 273, 
>> in dispatch
>> iterable=chrome.use_chunked_encoding)
>>   File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 
>> 1119, in render_template
>> stream = template.generate(**data)
>>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 
>> 545, in generate
>> stream = self.stream
>>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 
>> 455, in stream
>> self._stream = list(self._prepare(self._stream))
>>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 
>> 491, in _prepare
>> yield kind, (directives, list(substream)), pos
>>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 
>> 505, in _prepare
>> cls=cls or self.__class__)
>>   File "build/bdist.linux-x86_64/egg/genshi/template/loader.py", line 
>> 246, in load
>> raise TemplateNotFound(filename, search_path)
>> TemplateNotFound: Template "macros.html" not found
>>
>>
> Thanks for reporting. Fixed in r16059.
> https://trac-hacks.org/changeset/16059 
> 
>  
>
>> 3. Cannot find an implementation of the IPasswordHashMethod interface 
>> named HtDigestHashMethod. Please check that the Component is enabled 
>> or update the option [account-manager] hash_method in trac.ini.
>>
>
> What steps have you taken to explore the problem? That error message 
> must give you some hints. Please tell us what steps you've taken to try 
> to 
> solve it on your own, and I will gladly provide hints. If you don't find 
> the error message clear, please explain since I'd like to improve it.
>  
>
>> 4. In addition, I also found a strange phenomenon, when I visit a 
>> task list, the default modification of the work order of the DIV area is 
>> open, which in the previous version is hidden.
>>
>
> I suppose this is an issue related to some plugin, but you've given no 
> hints as to which plugin.
>  
>
>>
>>
>> 
>>
>>
>>  
>>
>
 Thank you very much for your suggestion, I really should be good to 
 check their own and exclude some ridiculous questions. Here's my reply to 
 your suggestion:
 1. By updating the "TracWysiwygPlugin" plug-in, so that part of the JS 
 problem is resolved, but there is still a problem:
 jquery.js:2 Uncaught Error: Syntax error, unrecognized expression: *[
 @id](…)
 Which I can not confirm in the end is which plug-in problems, well, I 
 really tried to check.

>>>
>>> Thank you for the info. Hint - take a unique part of that expression, 
>>> such as "*[@id]", put it in the search box on trac-hacks.org. That 
>>> leads me to:
>>> https://trac-hacks.org/ticket/12721
>>>
>>> Okay, now you can check. Does error go away if disabling 
>>> SectionEditPlugin? Make sure to do a hard refresh of the page when enabling 
>>> / disabling, before testing. If the error goes away, then we can confirm 
>>> SectionEdit is the issue, in which case I'll look at fixing #12721.
>>>  
>>>
 2. By updating the trunk code, I fixed the problem Thank you.
 3. I am in the management module configuration account error, 

Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-17 Thread RjOllos


On Tuesday, December 6, 2016 at 11:16:19 PM UTC-8, Mingxing Tian wrote:
>
>
>
> 在 2016年12月7日星期三 UTC+8下午2:37:57,RjOllos写道:
>>
>>
>>
>> On Tuesday, December 6, 2016 at 10:22:26 PM UTC-8, Mingxing Tian wrote:
>>>
>>>
>>>
>>> 在 2016年12月7日星期三 UTC+8下午1:03:58,RjOllos写道:



 On Tuesday, December 6, 2016 at 6:03:47 PM UTC-8, Mingxing Tian wrote:
>
> I found a few problems:
> 1. the first page is being given, please refer to Annex.
>

 Before reporting these problems and asking us to tell you the solution, 
 please try exploring yourself. Go to the project wiki page, see if there 
 is 
 an updated version of the plugin available.

 You can see the problem is with TracWysiwygPlugin, right? So you should 
 looks here:
 https://trac-hacks.org/wiki/TracWysiwygPlugin

 All I have to do is look at the change log and see that an issue with 
 addEvent was fixed in r15940, which is the most recent change, seen at the 
 bottom of the project wiki page.
  

> 2. view tags page log error output
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 613, 
> in _dispatch_request
> dispatcher.dispatch(req)
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 273, 
> in dispatch
> iterable=chrome.use_chunked_encoding)
>   File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 
> 1119, in render_template
> stream = template.generate(**data)
>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 
> 545, in generate
> stream = self.stream
>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 
> 455, in stream
> self._stream = list(self._prepare(self._stream))
>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 
> 491, in _prepare
> yield kind, (directives, list(substream)), pos
>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 
> 505, in _prepare
> cls=cls or self.__class__)
>   File "build/bdist.linux-x86_64/egg/genshi/template/loader.py", line 
> 246, in load
> raise TemplateNotFound(filename, search_path)
> TemplateNotFound: Template "macros.html" not found
>
>
 Thanks for reporting. Fixed in r16059.
 https://trac-hacks.org/changeset/16059 
 
  

> 3. Cannot find an implementation of the IPasswordHashMethod interface 
> named HtDigestHashMethod. Please check that the Component is enabled 
> or update the option [account-manager] hash_method in trac.ini.
>

 What steps have you taken to explore the problem? That error message 
 must give you some hints. Please tell us what steps you've taken to try to 
 solve it on your own, and I will gladly provide hints. If you don't find 
 the error message clear, please explain since I'd like to improve it.
  

> 4. In addition, I also found a strange phenomenon, when I visit a 
> task list, the default modification of the work order of the DIV area is 
> open, which in the previous version is hidden.
>

 I suppose this is an issue related to some plugin, but you've given no 
 hints as to which plugin.
  

>
>
> 
>
>
>  
>

>>> Thank you very much for your suggestion, I really should be good to 
>>> check their own and exclude some ridiculous questions. Here's my reply to 
>>> your suggestion:
>>> 1. By updating the "TracWysiwygPlugin" plug-in, so that part of the JS 
>>> problem is resolved, but there is still a problem:
>>> jquery.js:2 Uncaught Error: Syntax error, unrecognized expression: *[@id
>>> ](…)
>>> Which I can not confirm in the end is which plug-in problems, well, I 
>>> really tried to check.
>>>
>>
>> Thank you for the info. Hint - take a unique part of that expression, 
>> such as "*[@id]", put it in the search box on trac-hacks.org. That leads 
>> me to:
>> https://trac-hacks.org/ticket/12721
>>
>> Okay, now you can check. Does error go away if disabling 
>> SectionEditPlugin? Make sure to do a hard refresh of the page when enabling 
>> / disabling, before testing. If the error goes away, then we can confirm 
>> SectionEdit is the issue, in which case I'll look at fixing #12721.
>>  
>>
>>> 2. By updating the trunk code, I fixed the problem Thank you.
>>> 3. I am in the management module configuration account error, when I 
>>> click "next" when I appeared above the problem mentioned. According to the 
>>> error, I think it is necessary to manually "trac.ini" in the distribution 
>>> of 

Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-17 Thread RjOllos


On Thursday, December 15, 2016 at 1:42:29 AM UTC-8, Mingxing Tian wrote:
>
>
>
> 在 2016年12月13日星期二 UTC+8下午12:31:44,RjOllos写道:
>>
>>
>>
>> On Sunday, December 11, 2016 at 5:56:53 PM UTC-8, Mingxing Tian wrote:
>>>
>>>
>>>
>>> 在 2016年12月9日星期五 UTC+8下午5:14:42,RjOllos写道:



 On Thursday, December 8, 2016 at 5:41:35 PM UTC-8, Mingxing Tian wrote:
>
>
>
> 在 2016年12月9日星期五 UTC+8上午12:17:37,RjOllos写道:
>>
>>
>>
>> On Thursday, December 8, 2016 at 12:09:23 AM UTC-8, Mingxing Tian 
>> wrote:
>>>
>>>
>>>
>>> 在 2016年12月8日星期四 UTC+8下午2:44:27,RjOllos写道:



 On Wednesday, December 7, 2016 at 10:16:40 PM UTC-8, Mingxing Tian 
 wrote:
>
> The following error occurred only in when I pass the page 
> management account, not every page will appear the mistake, so I 
> don't 
> think it is caused by the failure notification message, I think there 
> should be other reasons.You notice to check my profile, have seen 
> what is 
> not the right place?
>
> Cannot find an implementation of the IPasswordHashMethod interface 
> named HtDigestHashMethod. Please check that the Component is 
> enabled or update the option [account-manager] hash_method in trac
> .ini
>


 Are you referring to the user management page, with path 
 /admin/accounts/users? If not, what is the path where you see the 
 error.

 You could try:

 acct_mgr.* = enabled
 acct_mgr.admin.configurationadminpanel = disabled
 acct_mgr.db.sessionstore = disabled
 acct_mgr.htfile.htdigeststore = disabled
 acct_mgr.http.httpauthstore = disabled
 acct_mgr.pwhash.* = disabled
 acct_mgr.svnserve.svnservepasswordstore = disabled 

 - Ryan

>>>
>>>
>>> I do not want to go to the tube of this error, after all, it does 
>>> not appear in each page, there is no impact on the normal use of Trac.
>>> I am very worried about is that the mission status change can not 
>>> receive the mail notification, you can help me to look at the specific 
>>> I 
>>> want to solve the most urgent problem?thank you!!! 
>>>
>>
>> I do care about fixing the error, particularly as it may relate to:
>> https://trac-hacks.org/ticket/11869#comment:17
>>
>> Again, please tell me the path you have visited when receiving the 
>> error:
>>
>> Cannot find an implementation of the IPasswordHashMethod interface 
>> named HtDigestHashMethod. Please check that the Component is enabled 
>> or update the option [account-manager] hash_method in trac.ini
>>
>> Is the path /admin/accounts/users?
>>
>> - Ryan
>>
>>
>  I'm back to the question again, and give you a screenshot.
>
>
> 
>
>
>
 Okay, I'll investigate in due time. However, I think you don't need to 
 both with the Configuration panel, and can just disable it.

 [components]
 acct_mgr.admin.configurationadminpanel = disabled
  

> In addition to the issue of e-mail notification, I found that some 
> colleagues have received a confirmation email address, and then in his 
> mailbox to send Trac messages, I think the mailbox configuration should 
> be 
> normal. But why do you have to change the status of the task of the staff 
> did not receive notice to remind it???
>

 I'm sorry, but I don't follow.

 Have you disabled AnnouncerPlugin? It won't work with Trac 1.2 (yet).

 After disabling, you will need to port some settings from the 
 [announcer] and [smtp] sections to the [notification] section.
 https://trac-hacks.org/wiki/AnnouncerPlugin#EmailConfiguration 
 https://trac.edgewall.org/wiki/TracNotification#notification-section

 - Ryan

 - Ryan


>>>  Unfortunately, the mail notification service has not been successful.
>>>
>>> [announcer]
>>> default_email_format = text/plain
>>> email_address_resolvers = SpecifiedEmailResolver, SessionEmailResolver, 
>>> DefaultDomainEmailResolver
>>> email_enabled = true
>>> email_from = trac@localhost
>>> email_from_name = trac@localhost
>>> email_replyto = trac@localhost
>>> email_sender = SmtpEmailSender
>>> email_subject_prefix = __default__
>>> email_to = undisclosed-recipients: ;
>>> mime_encoding = base64
>>> use_public_cc = false
>>> use_threaded_delivery = false
>>>
>>> [notification]
>>> email_sender = HtmlNotificationSmtpEmailSender
>>> mime_encoding = base64
>>> smtp_enabled = enabled
>>> smtp_from = trac@localhost
>>> smtp_from_name = trac@localhost

Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-15 Thread Mingxing Tian


在 2016年12月13日星期二 UTC+8下午12:31:44,RjOllos写道:
>
>
>
> On Sunday, December 11, 2016 at 5:56:53 PM UTC-8, Mingxing Tian wrote:
>>
>>
>>
>> 在 2016年12月9日星期五 UTC+8下午5:14:42,RjOllos写道:
>>>
>>>
>>>
>>> On Thursday, December 8, 2016 at 5:41:35 PM UTC-8, Mingxing Tian wrote:



 在 2016年12月9日星期五 UTC+8上午12:17:37,RjOllos写道:
>
>
>
> On Thursday, December 8, 2016 at 12:09:23 AM UTC-8, Mingxing Tian 
> wrote:
>>
>>
>>
>> 在 2016年12月8日星期四 UTC+8下午2:44:27,RjOllos写道:
>>>
>>>
>>>
>>> On Wednesday, December 7, 2016 at 10:16:40 PM UTC-8, Mingxing Tian 
>>> wrote:

 The following error occurred only in when I pass the page 
 management account, not every page will appear the mistake, so I don't 
 think it is caused by the failure notification message, I think there 
 should be other reasons.You notice to check my profile, have seen what 
 is 
 not the right place?

 Cannot find an implementation of the IPasswordHashMethod interface 
 named HtDigestHashMethod. Please check that the Component is 
 enabled or update the option [account-manager] hash_method in trac.
 ini

>>>
>>>
>>> Are you referring to the user management page, with path 
>>> /admin/accounts/users? If not, what is the path where you see the error.
>>>
>>> You could try:
>>>
>>> acct_mgr.* = enabled
>>> acct_mgr.admin.configurationadminpanel = disabled
>>> acct_mgr.db.sessionstore = disabled
>>> acct_mgr.htfile.htdigeststore = disabled
>>> acct_mgr.http.httpauthstore = disabled
>>> acct_mgr.pwhash.* = disabled
>>> acct_mgr.svnserve.svnservepasswordstore = disabled 
>>>
>>> - Ryan
>>>
>>
>>
>> I do not want to go to the tube of this error, after all, it does not 
>> appear in each page, there is no impact on the normal use of Trac.
>> I am very worried about is that the mission status change can not 
>> receive the mail notification, you can help me to look at the specific I 
>> want to solve the most urgent problem?thank you!!! 
>>
>
> I do care about fixing the error, particularly as it may relate to:
> https://trac-hacks.org/ticket/11869#comment:17
>
> Again, please tell me the path you have visited when receiving the 
> error:
>
> Cannot find an implementation of the IPasswordHashMethod interface 
> named HtDigestHashMethod. Please check that the Component is enabled 
> or update the option [account-manager] hash_method in trac.ini
>
> Is the path /admin/accounts/users?
>
> - Ryan
>
>
  I'm back to the question again, and give you a screenshot.


 



>>> Okay, I'll investigate in due time. However, I think you don't need to 
>>> both with the Configuration panel, and can just disable it.
>>>
>>> [components]
>>> acct_mgr.admin.configurationadminpanel = disabled
>>>  
>>>
 In addition to the issue of e-mail notification, I found that some 
 colleagues have received a confirmation email address, and then in his 
 mailbox to send Trac messages, I think the mailbox configuration should be 
 normal. But why do you have to change the status of the task of the staff 
 did not receive notice to remind it???

>>>
>>> I'm sorry, but I don't follow.
>>>
>>> Have you disabled AnnouncerPlugin? It won't work with Trac 1.2 (yet).
>>>
>>> After disabling, you will need to port some settings from the 
>>> [announcer] and [smtp] sections to the [notification] section.
>>> https://trac-hacks.org/wiki/AnnouncerPlugin#EmailConfiguration 
>>> https://trac.edgewall.org/wiki/TracNotification#notification-section
>>>
>>> - Ryan
>>>
>>> - Ryan
>>>
>>>
>>  Unfortunately, the mail notification service has not been successful.
>>
>> [announcer]
>> default_email_format = text/plain
>> email_address_resolvers = SpecifiedEmailResolver, SessionEmailResolver, 
>> DefaultDomainEmailResolver
>> email_enabled = true
>> email_from = trac@localhost
>> email_from_name = trac@localhost
>> email_replyto = trac@localhost
>> email_sender = SmtpEmailSender
>> email_subject_prefix = __default__
>> email_to = undisclosed-recipients: ;
>> mime_encoding = base64
>> use_public_cc = false
>> use_threaded_delivery = false
>>
>> [notification]
>> email_sender = HtmlNotificationSmtpEmailSender
>> mime_encoding = base64
>> smtp_enabled = enabled
>> smtp_from = trac@localhost
>> smtp_from_name = trac@localhost
>> smtp_password = x
>> smtp_port = 25
>> smtp_server = smtp.exmail.qq.com
>> smtp_user = trac@localhost
>> use_tls = disabled
>>
>> [smtp]
>> debuglevel = 0
>> server = smtp.exmail.qq.com
>> timeout = 10
>> port = 25
>> user = trac@localhost
>> password = 

Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-13 Thread Mingxing Tian


在 2016年12月13日星期二 UTC+8下午4:24:12,Jun Omae写道:
>
> On Tue, Dec 13, 2016 at 5:00 PM, Mingxing Tian  > wrote: 
> > This is a task change generated by the log, I did not find the relevant 
> > information in the inside, you help me to check it, thank you! 
>
> > 2016-12-13 15:56:00,047 Trac[env] INFO:  
> environment startup [Trac 1.2]  
> (snipped 726 lines) 
>
> You should attach trac.log instead of pasting text of the trac.log. 
> No one can read huge text in mail. 
>
> -- 
> Jun Omae  (大前 潤) 
>

I'm sorry to bother you, but now I'm in the attachment.
 

-- 
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 post to this group, send email to trac-users@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.
2016-12-13 17:06:34,865 Trac[env] INFO:  
environment startup [Trac 1.2] 
2016-12-13 17:06:35,018 Trac[loader] DEBUG: Loading BackLinksMacro from 
/home/projects/xxx/plugins/BackLinksMacro-7.0.dev0-py2.6.egg
2016-12-13 17:06:35,025 Trac[loader] DEBUG: Loading Markdown.macro from 
/home/projects/xxx/plugins/TracMarkdownMacro-0.11.4.post0-py2.6.egg
2016-12-13 17:06:35,026 Trac[loader] DEBUG: Loading acct_mgr.admin from 
/home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-13 17:06:35,026 Trac[loader] DEBUG: Loading acct_mgr.api from 
/home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-13 17:06:35,027 Trac[loader] DEBUG: Loading acct_mgr.db from 
/home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-13 17:06:35,027 Trac[loader] DEBUG: Loading acct_mgr.htfile from 
/home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-13 17:06:35,028 Trac[loader] DEBUG: Loading acct_mgr.http from 
/home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-13 17:06:35,028 Trac[loader] DEBUG: Loading acct_mgr.macros from 
/home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-13 17:06:35,029 Trac[loader] DEBUG: Loading acct_mgr.notification from 
/home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-13 17:06:35,029 Trac[loader] DEBUG: Loading 
acct_mgr.opt.announcer.uid_chg from 
/home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-13 17:06:35,123 Trac[loader] DEBUG: Skipping 
"acct_mgr.opt.announcer.uid_chg = acct_mgr.opt.announcer.uid_chg [announcer]": 
("DistributionNotFound: The 'TracAnnouncer' distribution was not found and is 
required by the application" not found)
2016-12-13 17:06:35,123 Trac[loader] DEBUG: Loading acct_mgr.opt.radius from 
/home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-13 17:06:35,216 Trac[loader] DEBUG: Skipping "acct_mgr.opt.radius = 
acct_mgr.opt.radius [pyrad]": ("DistributionNotFound: The 'Pyrad' distribution 
was not found and is required by the application" not found)
2016-12-13 17:06:35,216 Trac[loader] DEBUG: Loading 
acct_mgr.opt.tracforms.uid_chg from 
/home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-13 17:06:35,310 Trac[loader] DEBUG: Skipping 
"acct_mgr.opt.tracforms.uid_chg = acct_mgr.opt.tracforms.uid_chg [forms]": 
("DistributionNotFound: The 'TracForms'distribution was not found and is 
required by the application" not found)
2016-12-13 17:06:35,310 Trac[loader] DEBUG: Loading 
acct_mgr.opt.tracscreenshots.uid_chg from 
/home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-13 17:06:35,405 Trac[loader] DEBUG: Skipping 
"acct_mgr.opt.tracscreenshots.uid_chg = acct_mgr.opt.tracscreenshots.uid_chg 
[screenshots]": ("DistributionNotFound: The 'TracScreenshots' distribution was 
not found and is required by the application" not found)
2016-12-13 17:06:35,405 Trac[loader] DEBUG: Loading 
acct_mgr.opt.tracvote.uid_chg from 
/home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-13 17:06:35,498 Trac[loader] DEBUG: Skipping 
"acct_mgr.opt.tracvote.uid_chg = acct_mgr.opt.tracvote.uid_chg [vote]": 
("DistributionNotFound: The 'TracVote' distribution was not found and is 
required by the application" not found)
2016-12-13 17:06:35,498 Trac[loader] DEBUG: Loading acct_mgr.pwhash from 
/home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-13 17:06:35,499 Trac[loader] DEBUG: Loading acct_mgr.register from 
/home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-13 17:06:35,499 Trac[loader] DEBUG: Loading acct_mgr.svnserve from 
/home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-13 17:06:35,500 Trac[loader] DEBUG: Loading acct_mgr.web_ui from 

Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-13 Thread Jun Omae
On Tue, Dec 13, 2016 at 5:00 PM, Mingxing Tian  wrote:
> This is a task change generated by the log, I did not find the relevant
> information in the inside, you help me to check it, thank you!

> 2016-12-13 15:56:00,047 Trac[env] INFO:  
> environment startup [Trac 1.2] 
(snipped 726 lines)

You should attach trac.log instead of pasting text of the trac.log.
No one can read huge text in mail.

-- 
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 post to this group, send email to trac-users@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-12 Thread RjOllos


On Sunday, December 11, 2016 at 5:56:53 PM UTC-8, Mingxing Tian wrote:
>
>
>
> 在 2016年12月9日星期五 UTC+8下午5:14:42,RjOllos写道:
>>
>>
>>
>> On Thursday, December 8, 2016 at 5:41:35 PM UTC-8, Mingxing Tian wrote:
>>>
>>>
>>>
>>> 在 2016年12月9日星期五 UTC+8上午12:17:37,RjOllos写道:



 On Thursday, December 8, 2016 at 12:09:23 AM UTC-8, Mingxing Tian wrote:
>
>
>
> 在 2016年12月8日星期四 UTC+8下午2:44:27,RjOllos写道:
>>
>>
>>
>> On Wednesday, December 7, 2016 at 10:16:40 PM UTC-8, Mingxing Tian 
>> wrote:
>>>
>>> The following error occurred only in when I pass the page management 
>>> account, not every page will appear the mistake, so I don't think it is 
>>> caused by the failure notification message, I think there should be 
>>> other 
>>> reasons.You notice to check my profile, have seen what is not the right 
>>> place?
>>>
>>> Cannot find an implementation of the IPasswordHashMethod interface 
>>> named HtDigestHashMethod. Please check that the Component is 
>>> enabled or update the option [account-manager] hash_method in trac.
>>> ini
>>>
>>
>>
>> Are you referring to the user management page, with path 
>> /admin/accounts/users? If not, what is the path where you see the error.
>>
>> You could try:
>>
>> acct_mgr.* = enabled
>> acct_mgr.admin.configurationadminpanel = disabled
>> acct_mgr.db.sessionstore = disabled
>> acct_mgr.htfile.htdigeststore = disabled
>> acct_mgr.http.httpauthstore = disabled
>> acct_mgr.pwhash.* = disabled
>> acct_mgr.svnserve.svnservepasswordstore = disabled 
>>
>> - Ryan
>>
>
>
> I do not want to go to the tube of this error, after all, it does not 
> appear in each page, there is no impact on the normal use of Trac.
> I am very worried about is that the mission status change can not 
> receive the mail notification, you can help me to look at the specific I 
> want to solve the most urgent problem?thank you!!! 
>

 I do care about fixing the error, particularly as it may relate to:
 https://trac-hacks.org/ticket/11869#comment:17

 Again, please tell me the path you have visited when receiving the 
 error:

 Cannot find an implementation of the IPasswordHashMethod interface 
 named HtDigestHashMethod. Please check that the Component is enabled or 
 update the option [account-manager] hash_method in trac.ini

 Is the path /admin/accounts/users?

 - Ryan


>>>  I'm back to the question again, and give you a screenshot.
>>>
>>>
>>> 
>>>
>>>
>>>
>> Okay, I'll investigate in due time. However, I think you don't need to 
>> both with the Configuration panel, and can just disable it.
>>
>> [components]
>> acct_mgr.admin.configurationadminpanel = disabled
>>  
>>
>>> In addition to the issue of e-mail notification, I found that some 
>>> colleagues have received a confirmation email address, and then in his 
>>> mailbox to send Trac messages, I think the mailbox configuration should be 
>>> normal. But why do you have to change the status of the task of the staff 
>>> did not receive notice to remind it???
>>>
>>
>> I'm sorry, but I don't follow.
>>
>> Have you disabled AnnouncerPlugin? It won't work with Trac 1.2 (yet).
>>
>> After disabling, you will need to port some settings from the [announcer] 
>> and [smtp] sections to the [notification] section.
>> https://trac-hacks.org/wiki/AnnouncerPlugin#EmailConfiguration 
>> https://trac.edgewall.org/wiki/TracNotification#notification-section
>>
>> - Ryan
>>
>> - Ryan
>>
>>
>  Unfortunately, the mail notification service has not been successful.
>
> [announcer]
> default_email_format = text/plain
> email_address_resolvers = SpecifiedEmailResolver, SessionEmailResolver, 
> DefaultDomainEmailResolver
> email_enabled = true
> email_from = trac@localhost
> email_from_name = trac@localhost
> email_replyto = trac@localhost
> email_sender = SmtpEmailSender
> email_subject_prefix = __default__
> email_to = undisclosed-recipients: ;
> mime_encoding = base64
> use_public_cc = false
> use_threaded_delivery = false
>
> [notification]
> email_sender = HtmlNotificationSmtpEmailSender
> mime_encoding = base64
> smtp_enabled = enabled
> smtp_from = trac@localhost
> smtp_from_name = trac@localhost
> smtp_password = x
> smtp_port = 25
> smtp_server = smtp.exmail.qq.com
> smtp_user = trac@localhost
> use_tls = disabled
>
> [smtp]
> debuglevel = 0
> server = smtp.exmail.qq.com
> timeout = 10
> port = 25
> user = trac@localhost
> password = x
> use_tls = false
> use_ssl = false
>
> I confirm that the plugin is disabled by `AnnouncerPlugin`, and that there 
> is no error in the log information output.
>

You could set log level to DEBUG and you 

Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-11 Thread Mingxing Tian


在 2016年12月9日星期五 UTC+8下午5:14:42,RjOllos写道:
>
>
>
> On Thursday, December 8, 2016 at 5:41:35 PM UTC-8, Mingxing Tian wrote:
>>
>>
>>
>> 在 2016年12月9日星期五 UTC+8上午12:17:37,RjOllos写道:
>>>
>>>
>>>
>>> On Thursday, December 8, 2016 at 12:09:23 AM UTC-8, Mingxing Tian wrote:



 在 2016年12月8日星期四 UTC+8下午2:44:27,RjOllos写道:
>
>
>
> On Wednesday, December 7, 2016 at 10:16:40 PM UTC-8, Mingxing Tian 
> wrote:
>>
>> The following error occurred only in when I pass the page management 
>> account, not every page will appear the mistake, so I don't think it is 
>> caused by the failure notification message, I think there should be 
>> other 
>> reasons.You notice to check my profile, have seen what is not the right 
>> place?
>>
>> Cannot find an implementation of the IPasswordHashMethod interface 
>> named HtDigestHashMethod. Please check that the Component is enabled 
>> or update the option [account-manager] hash_method in trac.ini
>>
>
>
> Are you referring to the user management page, with path 
> /admin/accounts/users? If not, what is the path where you see the error.
>
> You could try:
>
> acct_mgr.* = enabled
> acct_mgr.admin.configurationadminpanel = disabled
> acct_mgr.db.sessionstore = disabled
> acct_mgr.htfile.htdigeststore = disabled
> acct_mgr.http.httpauthstore = disabled
> acct_mgr.pwhash.* = disabled
> acct_mgr.svnserve.svnservepasswordstore = disabled 
>
> - Ryan
>


 I do not want to go to the tube of this error, after all, it does not 
 appear in each page, there is no impact on the normal use of Trac.
 I am very worried about is that the mission status change can not 
 receive the mail notification, you can help me to look at the specific I 
 want to solve the most urgent problem?thank you!!! 

>>>
>>> I do care about fixing the error, particularly as it may relate to:
>>> https://trac-hacks.org/ticket/11869#comment:17
>>>
>>> Again, please tell me the path you have visited when receiving the error:
>>>
>>> Cannot find an implementation of the IPasswordHashMethod interface 
>>> named HtDigestHashMethod. Please check that the Component is enabled or 
>>> update the option [account-manager] hash_method in trac.ini
>>>
>>> Is the path /admin/accounts/users?
>>>
>>> - Ryan
>>>
>>>
>>  I'm back to the question again, and give you a screenshot.
>>
>>
>> 
>>
>>
>>
> Okay, I'll investigate in due time. However, I think you don't need to 
> both with the Configuration panel, and can just disable it.
>
> [components]
> acct_mgr.admin.configurationadminpanel = disabled
>  
>
>> In addition to the issue of e-mail notification, I found that some 
>> colleagues have received a confirmation email address, and then in his 
>> mailbox to send Trac messages, I think the mailbox configuration should be 
>> normal. But why do you have to change the status of the task of the staff 
>> did not receive notice to remind it???
>>
>
> I'm sorry, but I don't follow.
>
> Have you disabled AnnouncerPlugin? It won't work with Trac 1.2 (yet).
>
> After disabling, you will need to port some settings from the [announcer] 
> and [smtp] sections to the [notification] section.
> https://trac-hacks.org/wiki/AnnouncerPlugin#EmailConfiguration 
> https://trac.edgewall.org/wiki/TracNotification#notification-section
>
> - Ryan
>
> - Ryan
>
>
 Unfortunately, the mail notification service has not been successful.

[announcer]
default_email_format = text/plain
email_address_resolvers = SpecifiedEmailResolver, SessionEmailResolver, 
DefaultDomainEmailResolver
email_enabled = true
email_from = trac@localhost
email_from_name = trac@localhost
email_replyto = trac@localhost
email_sender = SmtpEmailSender
email_subject_prefix = __default__
email_to = undisclosed-recipients: ;
mime_encoding = base64
use_public_cc = false
use_threaded_delivery = false

[notification]
email_sender = HtmlNotificationSmtpEmailSender
mime_encoding = base64
smtp_enabled = enabled
smtp_from = trac@localhost
smtp_from_name = trac@localhost
smtp_password = x
smtp_port = 25
smtp_server = smtp.exmail.qq.com
smtp_user = trac@localhost
use_tls = disabled

[smtp]
debuglevel = 0
server = smtp.exmail.qq.com
timeout = 10
port = 25
user = trac@localhost
password = x
use_tls = false
use_ssl = false

I confirm that the plugin is disabled by `AnnouncerPlugin`, and that there 
is no error in the log information output.

-- 
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 post to this group, send email to trac-users@googlegroups.com.
Visit this group at 

Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-09 Thread RjOllos


On Thursday, December 8, 2016 at 5:41:35 PM UTC-8, Mingxing Tian wrote:
>
>
>
> 在 2016年12月9日星期五 UTC+8上午12:17:37,RjOllos写道:
>>
>>
>>
>> On Thursday, December 8, 2016 at 12:09:23 AM UTC-8, Mingxing Tian wrote:
>>>
>>>
>>>
>>> 在 2016年12月8日星期四 UTC+8下午2:44:27,RjOllos写道:



 On Wednesday, December 7, 2016 at 10:16:40 PM UTC-8, Mingxing Tian 
 wrote:
>
> The following error occurred only in when I pass the page management 
> account, not every page will appear the mistake, so I don't think it is 
> caused by the failure notification message, I think there should be other 
> reasons.You notice to check my profile, have seen what is not the right 
> place?
>
> Cannot find an implementation of the IPasswordHashMethod interface 
> named HtDigestHashMethod. Please check that the Component is enabled 
> or update the option [account-manager] hash_method in trac.ini
>


 Are you referring to the user management page, with path 
 /admin/accounts/users? If not, what is the path where you see the error.

 You could try:

 acct_mgr.* = enabled
 acct_mgr.admin.configurationadminpanel = disabled
 acct_mgr.db.sessionstore = disabled
 acct_mgr.htfile.htdigeststore = disabled
 acct_mgr.http.httpauthstore = disabled
 acct_mgr.pwhash.* = disabled
 acct_mgr.svnserve.svnservepasswordstore = disabled 

 - Ryan

>>>
>>>
>>> I do not want to go to the tube of this error, after all, it does not 
>>> appear in each page, there is no impact on the normal use of Trac.
>>> I am very worried about is that the mission status change can not 
>>> receive the mail notification, you can help me to look at the specific I 
>>> want to solve the most urgent problem?thank you!!! 
>>>
>>
>> I do care about fixing the error, particularly as it may relate to:
>> https://trac-hacks.org/ticket/11869#comment:17
>>
>> Again, please tell me the path you have visited when receiving the error:
>>
>> Cannot find an implementation of the IPasswordHashMethod interface named 
>> HtDigestHashMethod. Please check that the Component is enabled or update 
>> the option [account-manager] hash_method in trac.ini
>>
>> Is the path /admin/accounts/users?
>>
>> - Ryan
>>
>>
>  I'm back to the question again, and give you a screenshot.
>
>
> 
>
>
>
Okay, I'll investigate in due time. However, I think you don't need to both 
with the Configuration panel, and can just disable it.

[components]
acct_mgr.admin.configurationadminpanel = disabled
 

> In addition to the issue of e-mail notification, I found that some 
> colleagues have received a confirmation email address, and then in his 
> mailbox to send Trac messages, I think the mailbox configuration should be 
> normal. But why do you have to change the status of the task of the staff 
> did not receive notice to remind it???
>

I'm sorry, but I don't follow.

Have you disabled AnnouncerPlugin? It won't work with Trac 1.2 (yet).

After disabling, you will need to port some settings from the [announcer] 
and [smtp] sections to the [notification] section.
https://trac-hacks.org/wiki/AnnouncerPlugin#EmailConfiguration 
https://trac.edgewall.org/wiki/TracNotification#notification-section

- Ryan

- Ryan

-- 
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 post to this group, send email to trac-users@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-08 Thread Mingxing Tian


在 2016年12月9日星期五 UTC+8上午12:17:37,RjOllos写道:
>
>
>
> On Thursday, December 8, 2016 at 12:09:23 AM UTC-8, Mingxing Tian wrote:
>>
>>
>>
>> 在 2016年12月8日星期四 UTC+8下午2:44:27,RjOllos写道:
>>>
>>>
>>>
>>> On Wednesday, December 7, 2016 at 10:16:40 PM UTC-8, Mingxing Tian wrote:

 The following error occurred only in when I pass the page management 
 account, not every page will appear the mistake, so I don't think it is 
 caused by the failure notification message, I think there should be other 
 reasons.You notice to check my profile, have seen what is not the right 
 place?

 Cannot find an implementation of the IPasswordHashMethod interface 
 named HtDigestHashMethod. Please check that the Component is enabled or 
 update the option [account-manager] hash_method in trac.ini

>>>
>>>
>>> Are you referring to the user management page, with path 
>>> /admin/accounts/users? If not, what is the path where you see the error.
>>>
>>> You could try:
>>>
>>> acct_mgr.* = enabled
>>> acct_mgr.admin.configurationadminpanel = disabled
>>> acct_mgr.db.sessionstore = disabled
>>> acct_mgr.htfile.htdigeststore = disabled
>>> acct_mgr.http.httpauthstore = disabled
>>> acct_mgr.pwhash.* = disabled
>>> acct_mgr.svnserve.svnservepasswordstore = disabled 
>>>
>>> - Ryan
>>>
>>
>>
>> I do not want to go to the tube of this error, after all, it does not 
>> appear in each page, there is no impact on the normal use of Trac.
>> I am very worried about is that the mission status change can not receive 
>> the mail notification, you can help me to look at the specific I want to 
>> solve the most urgent problem?thank you!!! 
>>
>
> I do care about fixing the error, particularly as it may relate to:
> https://trac-hacks.org/ticket/11869#comment:17
>
> Again, please tell me the path you have visited when receiving the error:
>
> Cannot find an implementation of the IPasswordHashMethod interface named 
> HtDigestHashMethod. Please check that the Component is enabled or update 
> the option [account-manager] hash_method in trac.ini
>
> Is the path /admin/accounts/users?
>
> - Ryan
>
>
 I'm back to the question again, and give you a screenshot.






In addition to the issue of e-mail notification, I found that some 
colleagues have received a confirmation email address, and then in his 
mailbox to send Trac messages, I think the mailbox configuration should be 
normal. But why do you have to change the status of the task of the staff 
did not receive notice to remind it???

-- 
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 post to this group, send email to trac-users@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-08 Thread RjOllos


On Thursday, December 8, 2016 at 12:09:23 AM UTC-8, Mingxing Tian wrote:
>
>
>
> 在 2016年12月8日星期四 UTC+8下午2:44:27,RjOllos写道:
>>
>>
>>
>> On Wednesday, December 7, 2016 at 10:16:40 PM UTC-8, Mingxing Tian wrote:
>>>
>>> The following error occurred only in when I pass the page management 
>>> account, not every page will appear the mistake, so I don't think it is 
>>> caused by the failure notification message, I think there should be other 
>>> reasons.You notice to check my profile, have seen what is not the right 
>>> place?
>>>
>>> Cannot find an implementation of the IPasswordHashMethod interface 
>>> named HtDigestHashMethod. Please check that the Component is enabled or 
>>> update the option [account-manager] hash_method in trac.ini
>>>
>>
>>
>> Are you referring to the user management page, with path 
>> /admin/accounts/users? If not, what is the path where you see the error.
>>
>> You could try:
>>
>> acct_mgr.* = enabled
>> acct_mgr.admin.configurationadminpanel = disabled
>> acct_mgr.db.sessionstore = disabled
>> acct_mgr.htfile.htdigeststore = disabled
>> acct_mgr.http.httpauthstore = disabled
>> acct_mgr.pwhash.* = disabled
>> acct_mgr.svnserve.svnservepasswordstore = disabled 
>>
>> - Ryan
>>
>
>
> I do not want to go to the tube of this error, after all, it does not 
> appear in each page, there is no impact on the normal use of Trac.
> I am very worried about is that the mission status change can not receive 
> the mail notification, you can help me to look at the specific I want to 
> solve the most urgent problem?thank you!!! 
>

I do care about fixing the error, particularly as it may relate to:
https://trac-hacks.org/ticket/11869#comment:17

Again, please tell me the path you have visited when receiving the error:

Cannot find an implementation of the IPasswordHashMethod interface named 
HtDigestHashMethod. Please check that the Component is enabled or update 
the option [account-manager] hash_method in trac.ini

Is the path /admin/accounts/users?

- Ryan

-- 
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 post to this group, send email to trac-users@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-08 Thread Mingxing Tian


在 2016年12月8日星期四 UTC+8下午2:44:27,RjOllos写道:
>
>
>
> On Wednesday, December 7, 2016 at 10:16:40 PM UTC-8, Mingxing Tian wrote:
>>
>> The following error occurred only in when I pass the page management 
>> account, not every page will appear the mistake, so I don't think it is 
>> caused by the failure notification message, I think there should be other 
>> reasons.You notice to check my profile, have seen what is not the right 
>> place?
>>
>> Cannot find an implementation of the IPasswordHashMethod interface named 
>> HtDigestHashMethod. Please check that the Component is enabled or update 
>> the option [account-manager] hash_method in trac.ini
>>
>
>
> Are you referring to the user management page, with path 
> /admin/accounts/users? If not, what is the path where you see the error.
>
> You could try:
>
> acct_mgr.* = enabled
> acct_mgr.admin.configurationadminpanel = disabled
> acct_mgr.db.sessionstore = disabled
> acct_mgr.htfile.htdigeststore = disabled
> acct_mgr.http.httpauthstore = disabled
> acct_mgr.pwhash.* = disabled
> acct_mgr.svnserve.svnservepasswordstore = disabled 
>
> - Ryan
>


I do not want to go to the tube of this error, after all, it does not 
appear in each page, there is no impact on the normal use of Trac.
I am very worried about is that the mission status change can not receive 
the mail notification, you can help me to look at the specific I want to 
solve the most urgent problem?thank you!!! 

-- 
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 post to this group, send email to trac-users@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-07 Thread RjOllos


On Wednesday, December 7, 2016 at 10:16:40 PM UTC-8, Mingxing Tian wrote:
>
> The following error occurred only in when I pass the page management 
> account, not every page will appear the mistake, so I don't think it is 
> caused by the failure notification message, I think there should be other 
> reasons.You notice to check my profile, have seen what is not the right 
> place?
>
> Cannot find an implementation of the IPasswordHashMethod interface named 
> HtDigestHashMethod. Please check that the Component is enabled or update 
> the option [account-manager] hash_method in trac.ini
>


Are you referring to the user management page, with path 
/admin/accounts/users? If not, what is the path where you see the error.

You could try:

acct_mgr.* = enabled
acct_mgr.admin.configurationadminpanel = disabled
acct_mgr.db.sessionstore = disabled
acct_mgr.htfile.htdigeststore = disabled
acct_mgr.http.httpauthstore = disabled
acct_mgr.pwhash.* = disabled
acct_mgr.svnserve.svnservepasswordstore = disabled 

- Ryan

-- 
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 post to this group, send email to trac-users@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-07 Thread RjOllos


On Wednesday, December 7, 2016 at 7:47:18 PM UTC-8, Mingxing Tian wrote:
>
>
>
> 在 2016年12月7日星期三 UTC+8下午11:20:18,RjOllos写道:
>>
>>
>>
>> On Tuesday, December 6, 2016 at 11:16:19 PM UTC-8, Mingxing Tian wrote:
>>>
>>>
>>>
>>> 在 2016年12月7日星期三 UTC+8下午2:37:57,RjOllos写道:



 On Tuesday, December 6, 2016 at 10:22:26 PM UTC-8, Mingxing Tian wrote:
>
>
>
> 在 2016年12月7日星期三 UTC+8下午1:03:58,RjOllos写道:
>>
>>
>>
>> On Tuesday, December 6, 2016 at 6:03:47 PM UTC-8, Mingxing Tian wrote:
>>>
>>> I found a few problems:
>>> 1. the first page is being given, please refer to Annex.
>>>
>>
>> Before reporting these problems and asking us to tell you the 
>> solution, please try exploring yourself. Go to the project wiki page, 
>> see 
>> if there is an updated version of the plugin available.
>>
>> You can see the problem is with TracWysiwygPlugin, right? So you 
>> should looks here:
>> https://trac-hacks.org/wiki/TracWysiwygPlugin
>>
>> All I have to do is look at the change log and see that an issue with 
>> addEvent was fixed in r15940, which is the most recent change, seen at 
>> the 
>> bottom of the project wiki page.
>>  
>>
>>> 2. view tags page log error output
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 
>>> 613, in _dispatch_request
>>> dispatcher.dispatch(req)
>>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 
>>> 273, in dispatch
>>> iterable=chrome.use_chunked_encoding)
>>>   File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 
>>> 1119, in render_template
>>> stream = template.generate(**data)
>>>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 
>>> 545, in generate
>>> stream = self.stream
>>>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 
>>> 455, in stream
>>> self._stream = list(self._prepare(self._stream))
>>>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 
>>> 491, in _prepare
>>> yield kind, (directives, list(substream)), pos
>>>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 
>>> 505, in _prepare
>>> cls=cls or self.__class__)
>>>   File "build/bdist.linux-x86_64/egg/genshi/template/loader.py", 
>>> line 246, in load
>>> raise TemplateNotFound(filename, search_path)
>>> TemplateNotFound: Template "macros.html" not found
>>>
>>>
>> Thanks for reporting. Fixed in r16059.
>> https://trac-hacks.org/changeset/16059 
>> 
>>  
>>
>>> 3. Cannot find an implementation of the IPasswordHashMethod interface 
>>> named HtDigestHashMethod. Please check that the Component is 
>>> enabled or update the option [account-manager] hash_method in 
>>> trac.ini.
>>>
>>
>> What steps have you taken to explore the problem? That error message 
>> must give you some hints. Please tell us what steps you've taken to try 
>> to 
>> solve it on your own, and I will gladly provide hints. If you don't find 
>> the error message clear, please explain since I'd like to improve it.
>>  
>>
>>> 4. In addition, I also found a strange phenomenon, when I visit a 
>>> task list, the default modification of the work order of the DIV area 
>>> is 
>>> open, which in the previous version is hidden.
>>>
>>
>> I suppose this is an issue related to some plugin, but you've given 
>> no hints as to which plugin.
>>  
>>
>>>
>>>
>>> 
>>>
>>>
>>>  
>>>
>>
> Thank you very much for your suggestion, I really should be good to 
> check their own and exclude some ridiculous questions. Here's my reply to 
> your suggestion:
> 1. By updating the "TracWysiwygPlugin" plug-in, so that part of the JS 
> problem is resolved, but there is still a problem:
> jquery.js:2 Uncaught Error: Syntax error, unrecognized expression: *[
> @id](…)
> Which I can not confirm in the end is which plug-in problems, well, I 
> really tried to check.
>

 Thank you for the info. Hint - take a unique part of that expression, 
 such as "*[@id]", put it in the search box on trac-hacks.org. That 
 leads me to:
 https://trac-hacks.org/ticket/12721

 Okay, now you can check. Does error go away if disabling 
 SectionEditPlugin? Make sure to do a hard refresh of the page when 
 enabling 
 / disabling, before testing. If the error goes away, 

Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-07 Thread Mingxing Tian


在 2016年12月7日星期三 UTC+8下午11:20:18,RjOllos写道:
>
>
>
> On Tuesday, December 6, 2016 at 11:16:19 PM UTC-8, Mingxing Tian wrote:
>>
>>
>>
>> 在 2016年12月7日星期三 UTC+8下午2:37:57,RjOllos写道:
>>>
>>>
>>>
>>> On Tuesday, December 6, 2016 at 10:22:26 PM UTC-8, Mingxing Tian wrote:



 在 2016年12月7日星期三 UTC+8下午1:03:58,RjOllos写道:
>
>
>
> On Tuesday, December 6, 2016 at 6:03:47 PM UTC-8, Mingxing Tian wrote:
>>
>> I found a few problems:
>> 1. the first page is being given, please refer to Annex.
>>
>
> Before reporting these problems and asking us to tell you the 
> solution, please try exploring yourself. Go to the project wiki page, see 
> if there is an updated version of the plugin available.
>
> You can see the problem is with TracWysiwygPlugin, right? So you 
> should looks here:
> https://trac-hacks.org/wiki/TracWysiwygPlugin
>
> All I have to do is look at the change log and see that an issue with 
> addEvent was fixed in r15940, which is the most recent change, seen at 
> the 
> bottom of the project wiki page.
>  
>
>> 2. view tags page log error output
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 613, 
>> in _dispatch_request
>> dispatcher.dispatch(req)
>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 273, 
>> in dispatch
>> iterable=chrome.use_chunked_encoding)
>>   File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 
>> 1119, in render_template
>> stream = template.generate(**data)
>>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 
>> 545, in generate
>> stream = self.stream
>>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 
>> 455, in stream
>> self._stream = list(self._prepare(self._stream))
>>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 
>> 491, in _prepare
>> yield kind, (directives, list(substream)), pos
>>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 
>> 505, in _prepare
>> cls=cls or self.__class__)
>>   File "build/bdist.linux-x86_64/egg/genshi/template/loader.py", line 
>> 246, in load
>> raise TemplateNotFound(filename, search_path)
>> TemplateNotFound: Template "macros.html" not found
>>
>>
> Thanks for reporting. Fixed in r16059.
> https://trac-hacks.org/changeset/16059 
> 
>  
>
>> 3. Cannot find an implementation of the IPasswordHashMethod interface 
>> named HtDigestHashMethod. Please check that the Component is enabled 
>> or update the option [account-manager] hash_method in trac.ini.
>>
>
> What steps have you taken to explore the problem? That error message 
> must give you some hints. Please tell us what steps you've taken to try 
> to 
> solve it on your own, and I will gladly provide hints. If you don't find 
> the error message clear, please explain since I'd like to improve it.
>  
>
>> 4. In addition, I also found a strange phenomenon, when I visit a 
>> task list, the default modification of the work order of the DIV area is 
>> open, which in the previous version is hidden.
>>
>
> I suppose this is an issue related to some plugin, but you've given no 
> hints as to which plugin.
>  
>
>>
>>
>> 
>>
>>
>>  
>>
>
 Thank you very much for your suggestion, I really should be good to 
 check their own and exclude some ridiculous questions. Here's my reply to 
 your suggestion:
 1. By updating the "TracWysiwygPlugin" plug-in, so that part of the JS 
 problem is resolved, but there is still a problem:
 jquery.js:2 Uncaught Error: Syntax error, unrecognized expression: *[
 @id](…)
 Which I can not confirm in the end is which plug-in problems, well, I 
 really tried to check.

>>>
>>> Thank you for the info. Hint - take a unique part of that expression, 
>>> such as "*[@id]", put it in the search box on trac-hacks.org. That 
>>> leads me to:
>>> https://trac-hacks.org/ticket/12721
>>>
>>> Okay, now you can check. Does error go away if disabling 
>>> SectionEditPlugin? Make sure to do a hard refresh of the page when enabling 
>>> / disabling, before testing. If the error goes away, then we can confirm 
>>> SectionEdit is the issue, in which case I'll look at fixing #12721.
>>>  
>>>
 2. By updating the trunk code, I fixed the problem Thank you.
 3. I am in the management module configuration account error, 

Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-07 Thread RjOllos


On Tuesday, December 6, 2016 at 11:16:19 PM UTC-8, Mingxing Tian wrote:
>
>
>
> 在 2016年12月7日星期三 UTC+8下午2:37:57,RjOllos写道:
>>
>>
>>
>> On Tuesday, December 6, 2016 at 10:22:26 PM UTC-8, Mingxing Tian wrote:
>>>
>>>
>>>
>>> 在 2016年12月7日星期三 UTC+8下午1:03:58,RjOllos写道:



 On Tuesday, December 6, 2016 at 6:03:47 PM UTC-8, Mingxing Tian wrote:
>
> I found a few problems:
> 1. the first page is being given, please refer to Annex.
>

 Before reporting these problems and asking us to tell you the solution, 
 please try exploring yourself. Go to the project wiki page, see if there 
 is 
 an updated version of the plugin available.

 You can see the problem is with TracWysiwygPlugin, right? So you should 
 looks here:
 https://trac-hacks.org/wiki/TracWysiwygPlugin

 All I have to do is look at the change log and see that an issue with 
 addEvent was fixed in r15940, which is the most recent change, seen at the 
 bottom of the project wiki page.
  

> 2. view tags page log error output
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 613, 
> in _dispatch_request
> dispatcher.dispatch(req)
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 273, 
> in dispatch
> iterable=chrome.use_chunked_encoding)
>   File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 
> 1119, in render_template
> stream = template.generate(**data)
>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 
> 545, in generate
> stream = self.stream
>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 
> 455, in stream
> self._stream = list(self._prepare(self._stream))
>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 
> 491, in _prepare
> yield kind, (directives, list(substream)), pos
>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 
> 505, in _prepare
> cls=cls or self.__class__)
>   File "build/bdist.linux-x86_64/egg/genshi/template/loader.py", line 
> 246, in load
> raise TemplateNotFound(filename, search_path)
> TemplateNotFound: Template "macros.html" not found
>
>
 Thanks for reporting. Fixed in r16059.
 https://trac-hacks.org/changeset/16059 
 
  

> 3. Cannot find an implementation of the IPasswordHashMethod interface 
> named HtDigestHashMethod. Please check that the Component is enabled 
> or update the option [account-manager] hash_method in trac.ini.
>

 What steps have you taken to explore the problem? That error message 
 must give you some hints. Please tell us what steps you've taken to try to 
 solve it on your own, and I will gladly provide hints. If you don't find 
 the error message clear, please explain since I'd like to improve it.
  

> 4. In addition, I also found a strange phenomenon, when I visit a 
> task list, the default modification of the work order of the DIV area is 
> open, which in the previous version is hidden.
>

 I suppose this is an issue related to some plugin, but you've given no 
 hints as to which plugin.
  

>
>
> 
>
>
>  
>

>>> Thank you very much for your suggestion, I really should be good to 
>>> check their own and exclude some ridiculous questions. Here's my reply to 
>>> your suggestion:
>>> 1. By updating the "TracWysiwygPlugin" plug-in, so that part of the JS 
>>> problem is resolved, but there is still a problem:
>>> jquery.js:2 Uncaught Error: Syntax error, unrecognized expression: *[@id
>>> ](…)
>>> Which I can not confirm in the end is which plug-in problems, well, I 
>>> really tried to check.
>>>
>>
>> Thank you for the info. Hint - take a unique part of that expression, 
>> such as "*[@id]", put it in the search box on trac-hacks.org. That leads 
>> me to:
>> https://trac-hacks.org/ticket/12721
>>
>> Okay, now you can check. Does error go away if disabling 
>> SectionEditPlugin? Make sure to do a hard refresh of the page when enabling 
>> / disabling, before testing. If the error goes away, then we can confirm 
>> SectionEdit is the issue, in which case I'll look at fixing #12721.
>>  
>>
>>> 2. By updating the trunk code, I fixed the problem Thank you.
>>> 3. I am in the management module configuration account error, when I 
>>> click "next" when I appeared above the problem mentioned. According to the 
>>> error, I think it is necessary to manually "trac.ini" in the distribution 
>>> of 

Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-06 Thread Mingxing Tian


在 2016年12月7日星期三 UTC+8下午2:37:57,RjOllos写道:
>
>
>
> On Tuesday, December 6, 2016 at 10:22:26 PM UTC-8, Mingxing Tian wrote:
>>
>>
>>
>> 在 2016年12月7日星期三 UTC+8下午1:03:58,RjOllos写道:
>>>
>>>
>>>
>>> On Tuesday, December 6, 2016 at 6:03:47 PM UTC-8, Mingxing Tian wrote:

 I found a few problems:
 1. the first page is being given, please refer to Annex.

>>>
>>> Before reporting these problems and asking us to tell you the solution, 
>>> please try exploring yourself. Go to the project wiki page, see if there is 
>>> an updated version of the plugin available.
>>>
>>> You can see the problem is with TracWysiwygPlugin, right? So you should 
>>> looks here:
>>> https://trac-hacks.org/wiki/TracWysiwygPlugin
>>>
>>> All I have to do is look at the change log and see that an issue with 
>>> addEvent was fixed in r15940, which is the most recent change, seen at the 
>>> bottom of the project wiki page.
>>>  
>>>
 2. view tags page log error output
 Traceback (most recent call last):
   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 613, 
 in _dispatch_request
 dispatcher.dispatch(req)
   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 273, 
 in dispatch
 iterable=chrome.use_chunked_encoding)
   File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 
 1119, in render_template
 stream = template.generate(**data)
   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 
 545, in generate
 stream = self.stream
   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 
 455, in stream
 self._stream = list(self._prepare(self._stream))
   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 
 491, in _prepare
 yield kind, (directives, list(substream)), pos
   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 
 505, in _prepare
 cls=cls or self.__class__)
   File "build/bdist.linux-x86_64/egg/genshi/template/loader.py", line 
 246, in load
 raise TemplateNotFound(filename, search_path)
 TemplateNotFound: Template "macros.html" not found


>>> Thanks for reporting. Fixed in r16059.
>>> https://trac-hacks.org/changeset/16059 
>>> 
>>>  
>>>
 3. Cannot find an implementation of the IPasswordHashMethod interface 
 named HtDigestHashMethod. Please check that the Component is enabled 
 or update the option [account-manager] hash_method in trac.ini.

>>>
>>> What steps have you taken to explore the problem? That error message 
>>> must give you some hints. Please tell us what steps you've taken to try to 
>>> solve it on your own, and I will gladly provide hints. If you don't find 
>>> the error message clear, please explain since I'd like to improve it.
>>>  
>>>
 4. In addition, I also found a strange phenomenon, when I visit a task 
 list, the default modification of the work order of the DIV area is open, 
 which in the previous version is hidden.

>>>
>>> I suppose this is an issue related to some plugin, but you've given no 
>>> hints as to which plugin.
>>>  
>>>


 


  

>>>
>> Thank you very much for your suggestion, I really should be good to check 
>> their own and exclude some ridiculous questions. Here's my reply to your 
>> suggestion:
>> 1. By updating the "TracWysiwygPlugin" plug-in, so that part of the JS 
>> problem is resolved, but there is still a problem:
>> jquery.js:2 Uncaught Error: Syntax error, unrecognized expression: *[@id
>> ](…)
>> Which I can not confirm in the end is which plug-in problems, well, I 
>> really tried to check.
>>
>
> Thank you for the info. Hint - take a unique part of that expression, such 
> as "*[@id]", put it in the search box on trac-hacks.org. That leads me to:
> https://trac-hacks.org/ticket/12721
>
> Okay, now you can check. Does error go away if disabling 
> SectionEditPlugin? Make sure to do a hard refresh of the page when enabling 
> / disabling, before testing. If the error goes away, then we can confirm 
> SectionEdit is the issue, in which case I'll look at fixing #12721.
>  
>
>> 2. By updating the trunk code, I fixed the problem Thank you.
>> 3. I am in the management module configuration account error, when I 
>> click "next" when I appeared above the problem mentioned. According to the 
>> error, I think it is necessary to manually "trac.ini" in the distribution 
>> of what? ?? ??
>>
>>
>> 
>>
>> [account-manager]

Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-06 Thread RjOllos


On Tuesday, December 6, 2016 at 10:22:26 PM UTC-8, Mingxing Tian wrote:
>
>
>
> 在 2016年12月7日星期三 UTC+8下午1:03:58,RjOllos写道:
>>
>>
>>
>> On Tuesday, December 6, 2016 at 6:03:47 PM UTC-8, Mingxing Tian wrote:
>>>
>>> I found a few problems:
>>> 1. the first page is being given, please refer to Annex.
>>>
>>
>> Before reporting these problems and asking us to tell you the solution, 
>> please try exploring yourself. Go to the project wiki page, see if there is 
>> an updated version of the plugin available.
>>
>> You can see the problem is with TracWysiwygPlugin, right? So you should 
>> looks here:
>> https://trac-hacks.org/wiki/TracWysiwygPlugin
>>
>> All I have to do is look at the change log and see that an issue with 
>> addEvent was fixed in r15940, which is the most recent change, seen at the 
>> bottom of the project wiki page.
>>  
>>
>>> 2. view tags page log error output
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 613, in 
>>> _dispatch_request
>>> dispatcher.dispatch(req)
>>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 273, in 
>>> dispatch
>>> iterable=chrome.use_chunked_encoding)
>>>   File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 1119, 
>>> in render_template
>>> stream = template.generate(**data)
>>>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 545, 
>>> in generate
>>> stream = self.stream
>>>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 455, 
>>> in stream
>>> self._stream = list(self._prepare(self._stream))
>>>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 491, 
>>> in _prepare
>>> yield kind, (directives, list(substream)), pos
>>>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 505, 
>>> in _prepare
>>> cls=cls or self.__class__)
>>>   File "build/bdist.linux-x86_64/egg/genshi/template/loader.py", line 
>>> 246, in load
>>> raise TemplateNotFound(filename, search_path)
>>> TemplateNotFound: Template "macros.html" not found
>>>
>>>
>> Thanks for reporting. Fixed in r16059.
>> https://trac-hacks.org/changeset/16059 
>> 
>>  
>>
>>> 3. Cannot find an implementation of the IPasswordHashMethod interface 
>>> named HtDigestHashMethod. Please check that the Component is enabled or 
>>> update the option [account-manager] hash_method in trac.ini.
>>>
>>
>> What steps have you taken to explore the problem? That error message must 
>> give you some hints. Please tell us what steps you've taken to try to solve 
>> it on your own, and I will gladly provide hints. If you don't find the 
>> error message clear, please explain since I'd like to improve it.
>>  
>>
>>> 4. In addition, I also found a strange phenomenon, when I visit a task 
>>> list, the default modification of the work order of the DIV area is open, 
>>> which in the previous version is hidden.
>>>
>>
>> I suppose this is an issue related to some plugin, but you've given no 
>> hints as to which plugin.
>>  
>>
>>>
>>>
>>> 
>>>
>>>
>>>  
>>>
>>
> Thank you very much for your suggestion, I really should be good to check 
> their own and exclude some ridiculous questions. Here's my reply to your 
> suggestion:
> 1. By updating the "TracWysiwygPlugin" plug-in, so that part of the JS 
> problem is resolved, but there is still a problem:
> jquery.js:2 Uncaught Error: Syntax error, unrecognized expression: *[@id
> ](…)
> Which I can not confirm in the end is which plug-in problems, well, I 
> really tried to check.
>

Thank you for the info. Hint - take a unique part of that expression, such 
as "*[@id]", put it in the search box on trac-hacks.org. That leads me to:
https://trac-hacks.org/ticket/12721

Okay, now you can check. Does error go away if disabling SectionEditPlugin? 
Make sure to do a hard refresh of the page when enabling / disabling, 
before testing. If the error goes away, then we can confirm SectionEdit is 
the issue, in which case I'll look at fixing #12721.
 

> 2. By updating the trunk code, I fixed the problem Thank you.
> 3. I am in the management module configuration account error, when I click 
> "next" when I appeared above the problem mentioned. According to the error, 
> I think it is necessary to manually "trac.ini" in the distribution of what? 
> ?? ??
>
>
> 
>
> [account-manager]
> account_changes_notify_addresses =
> htpasswd_file = /home/svndata/svnconf/passwd
> htpasswd_hash_type = md5
> notify_actions = new,change,delete
> password_store = 

Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-06 Thread Mingxing Tian


在 2016年12月7日星期三 UTC+8下午1:03:58,RjOllos写道:
>
>
>
> On Tuesday, December 6, 2016 at 6:03:47 PM UTC-8, Mingxing Tian wrote:
>>
>> I found a few problems:
>> 1. the first page is being given, please refer to Annex.
>>
>
> Before reporting these problems and asking us to tell you the solution, 
> please try exploring yourself. Go to the project wiki page, see if there is 
> an updated version of the plugin available.
>
> You can see the problem is with TracWysiwygPlugin, right? So you should 
> looks here:
> https://trac-hacks.org/wiki/TracWysiwygPlugin
>
> All I have to do is look at the change log and see that an issue with 
> addEvent was fixed in r15940, which is the most recent change, seen at the 
> bottom of the project wiki page.
>  
>
>> 2. view tags page log error output
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 613, in 
>> _dispatch_request
>> dispatcher.dispatch(req)
>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 273, in 
>> dispatch
>> iterable=chrome.use_chunked_encoding)
>>   File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 1119, 
>> in render_template
>> stream = template.generate(**data)
>>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 545, 
>> in generate
>> stream = self.stream
>>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 455, 
>> in stream
>> self._stream = list(self._prepare(self._stream))
>>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 491, 
>> in _prepare
>> yield kind, (directives, list(substream)), pos
>>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 505, 
>> in _prepare
>> cls=cls or self.__class__)
>>   File "build/bdist.linux-x86_64/egg/genshi/template/loader.py", line 
>> 246, in load
>> raise TemplateNotFound(filename, search_path)
>> TemplateNotFound: Template "macros.html" not found
>>
>>
> Thanks for reporting. Fixed in r16059.
> https://trac-hacks.org/changeset/16059 
> 
>  
>
>> 3. Cannot find an implementation of the IPasswordHashMethod interface 
>> named HtDigestHashMethod. Please check that the Component is enabled or 
>> update the option [account-manager] hash_method in trac.ini.
>>
>
> What steps have you taken to explore the problem? That error message must 
> give you some hints. Please tell us what steps you've taken to try to solve 
> it on your own, and I will gladly provide hints. If you don't find the 
> error message clear, please explain since I'd like to improve it.
>  
>
>> 4. In addition, I also found a strange phenomenon, when I visit a task 
>> list, the default modification of the work order of the DIV area is open, 
>> which in the previous version is hidden.
>>
>
> I suppose this is an issue related to some plugin, but you've given no 
> hints as to which plugin.
>  
>
>>
>>
>> 
>>
>>
>>  
>>
>
Thank you very much for your suggestion, I really should be good to check 
their own and exclude some ridiculous questions. Here's my reply to your 
suggestion:
1. By updating the "TracWysiwygPlugin" plug-in, so that part of the JS 
problem is resolved, but there is still a problem:
jquery.js:2 Uncaught Error: Syntax error, unrecognized expression: *[@id](…)
Which I can not confirm in the end is which plug-in problems, well, I 
really tried to check.
2. By updating the trunk code, I fixed the problem Thank you.
3. I am in the management module configuration account error, when I click 
"next" when I appeared above the problem mentioned. According to the error, 
I think it is necessary to manually "trac.ini" in the distribution of what? 
?? ??



[account-manager]
account_changes_notify_addresses =
htpasswd_file = /home/svndata/svnconf/passwd
htpasswd_hash_type = md5
notify_actions = new,change,delete
password_store = HtPasswdStore
reset_password = disabled


4. I mean in any visit to a task, modify the output of the task domain name 
are displayed, this is normal? Because of language problems, I may not say, 
see my attached pictures.




5. Add a new question, why can't the comment on the task list now. Even if 
it is my own content.
 

-- 
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 

Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-06 Thread RjOllos


On Tuesday, December 6, 2016 at 6:03:47 PM UTC-8, Mingxing Tian wrote:
>
> I found a few problems:
> 1. the first page is being given, please refer to Annex.
>

Before reporting these problems and asking us to tell you the solution, 
please try exploring yourself. Go to the project wiki page, see if there is 
an updated version of the plugin available.

You can see the problem is with TracWysiwygPlugin, right? So you should 
looks here:
https://trac-hacks.org/wiki/TracWysiwygPlugin

All I have to do is look at the change log and see that an issue with 
addEvent was fixed in r15940, which is the most recent change, seen at the 
bottom of the project wiki page.
 

> 2. view tags page log error output
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 613, in 
> _dispatch_request
> dispatcher.dispatch(req)
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 273, in 
> dispatch
> iterable=chrome.use_chunked_encoding)
>   File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 1119, 
> in render_template
> stream = template.generate(**data)
>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 545, 
> in generate
> stream = self.stream
>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 455, 
> in stream
> self._stream = list(self._prepare(self._stream))
>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 491, 
> in _prepare
> yield kind, (directives, list(substream)), pos
>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 505, 
> in _prepare
> cls=cls or self.__class__)
>   File "build/bdist.linux-x86_64/egg/genshi/template/loader.py", line 246, 
> in load
> raise TemplateNotFound(filename, search_path)
> TemplateNotFound: Template "macros.html" not found
>
>
Thanks for reporting. Fixed in r16059.
https://trac-hacks.org/changeset/16059
 

> 3. Cannot find an implementation of the IPasswordHashMethod interface 
> named HtDigestHashMethod. Please check that the Component is enabled or 
> update the option [account-manager] hash_method in trac.ini.
>

What steps have you taken to explore the problem? That error message must 
give you some hints. Please tell us what steps you've taken to try to solve 
it on your own, and I will gladly provide hints. If you don't find the 
error message clear, please explain since I'd like to improve it.
 

> 4. In addition, I also found a strange phenomenon, when I visit a task 
> list, the default modification of the work order of the DIV area is open, 
> which in the previous version is hidden.
>

I suppose this is an issue related to some plugin, but you've given no 
hints as to which plugin.
 

>
>
> 
>
>
>  
>

-- 
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 post to this group, send email to trac-users@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-06 Thread Mingxing Tian


在 2016年12月6日星期二 UTC+8下午5:50:17,RjOllos写道:
>
>
>
> On Tuesday, December 6, 2016 at 1:36:45 AM UTC-8, Mingxing Tian wrote:
>>
>>
>>
>> 在 2016年12月6日星期二 UTC+8下午5:17:16,RjOllos写道:
>>>
>>>
>>>
>>> On Tuesday, December 6, 2016 at 1:14:44 AM UTC-8, Mingxing Tian wrote:



 在 2016年12月6日星期二 UTC+8下午4:56:16,RjOllos写道:
>
>
>
> On Tue, Dec 6, 2016 at 12:43 AM Mingxing Tian  wrote:
>
>> Fortunately, the page can be accessed, but can not normally show, I 
>> screenshot to you.
>>
>
> How did you resolve the previous issue with authz_policy? I want to 
> determine if there is a problem with the upgrade step, so please provide 
> the requested information.
>  
>
>> TypeError: inline_overwrite_get_known_users() got an unexpected keyword 
>> argument 'as_dict'
>>
>>
>>
>>
>>
>> 
>>
>
> To discover which plugin is causing that error you'll need to find the 
> associated traceback in the logs.
>
> It's probably due to UserManagerPlugin:
> https://trac-hacks.org/wiki/UserManagerPlugin
>
> I'm not surprised the plugin is not compatible with Trac 1.2. You'll 
> have to disable it. Maybe some will fix it soon, but I won't get to it 
> this 
> week.
>
> https://trac-hacks.org/ticket/12979
>
> - Ryan 
>


 According to your guidance, I have disabled the `TracUserManagerPlugin` 
 plug-in, the current query task when a single error, I cut a picture to 
 show you.


 
 2016-12-06 17:08:35,179 Trac[main] ERROR: Internal Server Error: 
 , referrer '
 http://trac.xxx.com/trac/xxx/ticket/508'
 Traceback (most recent call last):
   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 613, 
 in _dispatch_request
 dispatcher.dispatch(req)
   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 263, 
 in dispatch
 self._post_process_request(req, *resp)
   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 444, 
 in _post_process_request
 resp = f.post_process_request(req, *resp[:-1])
   File "build/bdist.linux-x86_64/egg/tracsubtickets/web_ui.py", line 
 73, in post_process_request
 children = self.get_children(ticket.id)
   File "build/bdist.linux-x86_64/egg/tracsubtickets/web_ui.py", line 
 104, in get_children
 db = self.env.get_db_cnx()
 AttributeError: 'Environment' object has no attribute 'get_db_cnx'


>>> Look at the traceback. Where do you think the problem lies? 
>>>
>>
>>
>> I inadvertently disable the plug-in 
>> `TracSubTicketsPlugin-0.2.0.dev20161020-py2.6.egg`, this problem is 
>> automatically solved.
>> But I found some flaws:
>> 2016-12-06 17:34:38,164 Trac[api] ERROR: AnnouncementSystem failed.
>> Traceback (most recent call last):
>>   File "build/bdist.linux-x86_64/egg/announcer/api.py", line 584, in 
>> _real_send
>> evt)
>>   File "build/bdist.linux-x86_64/egg/announcer/distributors/mail.py", 
>> line 282, in distribute
>> addr = rslvr.get_address_for_name(name, authed)
>>   File "build/bdist.linux-x86_64/egg/announcer/resolvers.py", line 55, in 
>> get_address_for_name
>> db = self.env.get_db_cnx()
>> AttributeError: 'Environment' object has no attribute 'get_db_cnx'
>> 2016-12-06 17:34:38,532 Trac[usermanager] WARNING: Trying to use 
>> UserPicturesUserManagerProvider, but UserManager plugin is not installed!
>> 2016-12-06 17:34:51,650 Trac[main] ERROR: Internal Server Error: 
>> , referrer '
>> http://trac.xxx.com/trac/xxx/ticket/523'
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 613, in 
>> _dispatch_request
>> dispatcher.dispatch(req)
>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 273, in 
>> dispatch
>> iterable=chrome.use_chunked_encoding)
>>   File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 1123, 
>> in render_template
>> stream |= self._filter_stream(req, method, filename, stream, data)
>>   File "build/bdist.linux-x86_64/egg/genshi/core.py", line 133, in __or__
>> return Stream(_ensure(function(self)), serializer=self.serializer)
>>   File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 1436, 
>> in inner
>> data)
>>   File 
>> "/usr/lib/python2.6/site-packages/trac_UserPicturesPlugin-0.1.1-py2.6.egg/userpictures/__init__.py",
>>  
>> line 94, in filter_stream
>> if 'attachments' in data and data.get('attachments', 
>> {}).get('attachments'):
>> AttributeError: 'list' object has no 

Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-06 Thread RjOllos


On Tuesday, December 6, 2016 at 1:36:45 AM UTC-8, Mingxing Tian wrote:
>
>
>
> 在 2016年12月6日星期二 UTC+8下午5:17:16,RjOllos写道:
>>
>>
>>
>> On Tuesday, December 6, 2016 at 1:14:44 AM UTC-8, Mingxing Tian wrote:
>>>
>>>
>>>
>>> 在 2016年12月6日星期二 UTC+8下午4:56:16,RjOllos写道:



 On Tue, Dec 6, 2016 at 12:43 AM Mingxing Tian  wrote:

> Fortunately, the page can be accessed, but can not normally show, I 
> screenshot to you.
>

 How did you resolve the previous issue with authz_policy? I want to 
 determine if there is a problem with the upgrade step, so please provide 
 the requested information.
  

> TypeError: inline_overwrite_get_known_users() got an unexpected keyword 
> argument 'as_dict'
>
>
>
>
>
> 
>

 To discover which plugin is causing that error you'll need to find the 
 associated traceback in the logs.

 It's probably due to UserManagerPlugin:
 https://trac-hacks.org/wiki/UserManagerPlugin

 I'm not surprised the plugin is not compatible with Trac 1.2. You'll 
 have to disable it. Maybe some will fix it soon, but I won't get to it 
 this 
 week.

 https://trac-hacks.org/ticket/12979

 - Ryan 

>>>
>>>
>>> According to your guidance, I have disabled the `TracUserManagerPlugin` 
>>> plug-in, the current query task when a single error, I cut a picture to 
>>> show you.
>>>
>>>
>>> 
>>> 2016-12-06 17:08:35,179 Trac[main] ERROR: Internal Server Error: 
>>> , referrer '
>>> http://trac.xxx.com/trac/xxx/ticket/508'
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 613, in 
>>> _dispatch_request
>>> dispatcher.dispatch(req)
>>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 263, in 
>>> dispatch
>>> self._post_process_request(req, *resp)
>>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 444, in 
>>> _post_process_request
>>> resp = f.post_process_request(req, *resp[:-1])
>>>   File "build/bdist.linux-x86_64/egg/tracsubtickets/web_ui.py", line 73, 
>>> in post_process_request
>>> children = self.get_children(ticket.id)
>>>   File "build/bdist.linux-x86_64/egg/tracsubtickets/web_ui.py", line 
>>> 104, in get_children
>>> db = self.env.get_db_cnx()
>>> AttributeError: 'Environment' object has no attribute 'get_db_cnx'
>>>
>>>
>> Look at the traceback. Where do you think the problem lies? 
>>
>
>
> I inadvertently disable the plug-in 
> `TracSubTicketsPlugin-0.2.0.dev20161020-py2.6.egg`, this problem is 
> automatically solved.
> But I found some flaws:
> 2016-12-06 17:34:38,164 Trac[api] ERROR: AnnouncementSystem failed.
> Traceback (most recent call last):
>   File "build/bdist.linux-x86_64/egg/announcer/api.py", line 584, in 
> _real_send
> evt)
>   File "build/bdist.linux-x86_64/egg/announcer/distributors/mail.py", line 
> 282, in distribute
> addr = rslvr.get_address_for_name(name, authed)
>   File "build/bdist.linux-x86_64/egg/announcer/resolvers.py", line 55, in 
> get_address_for_name
> db = self.env.get_db_cnx()
> AttributeError: 'Environment' object has no attribute 'get_db_cnx'
> 2016-12-06 17:34:38,532 Trac[usermanager] WARNING: Trying to use 
> UserPicturesUserManagerProvider, but UserManager plugin is not installed!
> 2016-12-06 17:34:51,650 Trac[main] ERROR: Internal Server Error: 
> , referrer '
> http://trac.xxx.com/trac/xxx/ticket/523'
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 613, in 
> _dispatch_request
> dispatcher.dispatch(req)
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 273, in 
> dispatch
> iterable=chrome.use_chunked_encoding)
>   File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 1123, 
> in render_template
> stream |= self._filter_stream(req, method, filename, stream, data)
>   File "build/bdist.linux-x86_64/egg/genshi/core.py", line 133, in __or__
> return Stream(_ensure(function(self)), serializer=self.serializer)
>   File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 1436, 
> in inner
> data)
>   File 
> "/usr/lib/python2.6/site-packages/trac_UserPicturesPlugin-0.1.1-py2.6.egg/userpictures/__init__.py",
>  
> line 94, in filter_stream
> if 'attachments' in data and data.get('attachments', 
> {}).get('attachments'):
> AttributeError: 'list' object has no attribute 'get'
>
>

You should remove AnnouncerPlugin, it's not compatible with Trac 1.2. Trac 
1.2 has an improved notification system that includes some components that 
were 

Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-06 Thread Mingxing Tian


在 2016年12月6日星期二 UTC+8下午5:17:16,RjOllos写道:
>
>
>
> On Tuesday, December 6, 2016 at 1:14:44 AM UTC-8, Mingxing Tian wrote:
>>
>>
>>
>> 在 2016年12月6日星期二 UTC+8下午4:56:16,RjOllos写道:
>>>
>>>
>>>
>>> On Tue, Dec 6, 2016 at 12:43 AM Mingxing Tian  wrote:
>>>
 Fortunately, the page can be accessed, but can not normally show, I 
 screenshot to you.

>>>
>>> How did you resolve the previous issue with authz_policy? I want to 
>>> determine if there is a problem with the upgrade step, so please provide 
>>> the requested information.
>>>  
>>>
 TypeError: inline_overwrite_get_known_users() got an unexpected keyword 
 argument 'as_dict'





 

>>>
>>> To discover which plugin is causing that error you'll need to find the 
>>> associated traceback in the logs.
>>>
>>> It's probably due to UserManagerPlugin:
>>> https://trac-hacks.org/wiki/UserManagerPlugin
>>>
>>> I'm not surprised the plugin is not compatible with Trac 1.2. You'll 
>>> have to disable it. Maybe some will fix it soon, but I won't get to it this 
>>> week.
>>>
>>> https://trac-hacks.org/ticket/12979
>>>
>>> - Ryan 
>>>
>>
>>
>> According to your guidance, I have disabled the `TracUserManagerPlugin` 
>> plug-in, the current query task when a single error, I cut a picture to 
>> show you.
>>
>>
>> 
>> 2016-12-06 17:08:35,179 Trac[main] ERROR: Internal Server Error: 
>> , referrer '
>> http://trac.xxx.com/trac/xxx/ticket/508'
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 613, in 
>> _dispatch_request
>> dispatcher.dispatch(req)
>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 263, in 
>> dispatch
>> self._post_process_request(req, *resp)
>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 444, in 
>> _post_process_request
>> resp = f.post_process_request(req, *resp[:-1])
>>   File "build/bdist.linux-x86_64/egg/tracsubtickets/web_ui.py", line 73, 
>> in post_process_request
>> children = self.get_children(ticket.id)
>>   File "build/bdist.linux-x86_64/egg/tracsubtickets/web_ui.py", line 104, 
>> in get_children
>> db = self.env.get_db_cnx()
>> AttributeError: 'Environment' object has no attribute 'get_db_cnx'
>>
>>
> Look at the traceback. Where do you think the problem lies? 
>


I inadvertently disable the plug-in 
`TracSubTicketsPlugin-0.2.0.dev20161020-py2.6.egg`, this problem is 
automatically solved.
But I found some flaws:
2016-12-06 17:34:38,164 Trac[api] ERROR: AnnouncementSystem failed.
Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/announcer/api.py", line 584, in 
_real_send
evt)
  File "build/bdist.linux-x86_64/egg/announcer/distributors/mail.py", line 
282, in distribute
addr = rslvr.get_address_for_name(name, authed)
  File "build/bdist.linux-x86_64/egg/announcer/resolvers.py", line 55, in 
get_address_for_name
db = self.env.get_db_cnx()
AttributeError: 'Environment' object has no attribute 'get_db_cnx'
2016-12-06 17:34:38,532 Trac[usermanager] WARNING: Trying to use 
UserPicturesUserManagerProvider, but UserManager plugin is not installed!
2016-12-06 17:34:51,650 Trac[main] ERROR: Internal Server Error: 
, referrer 
'http://trac.xxx.com/trac/xxx/ticket/523'
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 613, in 
_dispatch_request
dispatcher.dispatch(req)
  File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 273, in 
dispatch
iterable=chrome.use_chunked_encoding)
  File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 1123, in 
render_template
stream |= self._filter_stream(req, method, filename, stream, data)
  File "build/bdist.linux-x86_64/egg/genshi/core.py", line 133, in __or__
return Stream(_ensure(function(self)), serializer=self.serializer)
  File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 1436, in 
inner
data)
  File 
"/usr/lib/python2.6/site-packages/trac_UserPicturesPlugin-0.1.1-py2.6.egg/userpictures/__init__.py",
 
line 94, in filter_stream
if 'attachments' in data and data.get('attachments', 
{}).get('attachments'):
AttributeError: 'list' object has no attribute 'get'



-- 
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 post to this group, send email to trac-users@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-06 Thread RjOllos


On Tuesday, December 6, 2016 at 1:14:44 AM UTC-8, Mingxing Tian wrote:
>
>
>
> 在 2016年12月6日星期二 UTC+8下午4:56:16,RjOllos写道:
>>
>>
>>
>> On Tue, Dec 6, 2016 at 12:43 AM Mingxing Tian  wrote:
>>
>>> Fortunately, the page can be accessed, but can not normally show, I 
>>> screenshot to you.
>>>
>>
>> How did you resolve the previous issue with authz_policy? I want to 
>> determine if there is a problem with the upgrade step, so please provide 
>> the requested information.
>>  
>>
>>> TypeError: inline_overwrite_get_known_users() got an unexpected keyword 
>>> argument 'as_dict'
>>>
>>>
>>>
>>>
>>>
>>> 
>>>
>>
>> To discover which plugin is causing that error you'll need to find the 
>> associated traceback in the logs.
>>
>> It's probably due to UserManagerPlugin:
>> https://trac-hacks.org/wiki/UserManagerPlugin
>>
>> I'm not surprised the plugin is not compatible with Trac 1.2. You'll have 
>> to disable it. Maybe some will fix it soon, but I won't get to it this week.
>>
>> https://trac-hacks.org/ticket/12979
>>
>> - Ryan 
>>
>
>
> According to your guidance, I have disabled the `TracUserManagerPlugin` 
> plug-in, the current query task when a single error, I cut a picture to 
> show you.
>
>
> 
> 2016-12-06 17:08:35,179 Trac[main] ERROR: Internal Server Error: 
> , referrer '
> http://trac.xxx.com/trac/xxx/ticket/508'
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 613, in 
> _dispatch_request
> dispatcher.dispatch(req)
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 263, in 
> dispatch
> self._post_process_request(req, *resp)
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 444, in 
> _post_process_request
> resp = f.post_process_request(req, *resp[:-1])
>   File "build/bdist.linux-x86_64/egg/tracsubtickets/web_ui.py", line 73, 
> in post_process_request
> children = self.get_children(ticket.id)
>   File "build/bdist.linux-x86_64/egg/tracsubtickets/web_ui.py", line 104, 
> in get_children
> db = self.env.get_db_cnx()
> AttributeError: 'Environment' object has no attribute 'get_db_cnx'
>
>
Look at the traceback. Where do you think the problem lies? 

-- 
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 post to this group, send email to trac-users@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-06 Thread Mingxing Tian


在 2016年12月6日星期二 UTC+8下午4:56:16,RjOllos写道:
>
>
>
> On Tue, Dec 6, 2016 at 12:43 AM Mingxing Tian  
> wrote:
>
>> Fortunately, the page can be accessed, but can not normally show, I 
>> screenshot to you.
>>
>
> How did you resolve the previous issue with authz_policy? I want to 
> determine if there is a problem with the upgrade step, so please provide 
> the requested information.
>  
>
>> TypeError: inline_overwrite_get_known_users() got an unexpected keyword 
>> argument 'as_dict'
>>
>>
>>
>>
>>
>> 
>>
>
> To discover which plugin is causing that error you'll need to find the 
> associated traceback in the logs.
>
> It's probably due to UserManagerPlugin:
> https://trac-hacks.org/wiki/UserManagerPlugin
>
> I'm not surprised the plugin is not compatible with Trac 1.2. You'll have 
> to disable it. Maybe some will fix it soon, but I won't get to it this week.
>
> https://trac-hacks.org/ticket/12979
>
> - Ryan 
>


According to your guidance, I have disabled the `TracUserManagerPlugin` 
plug-in, the current query task when a single error, I cut a picture to 
show you.


2016-12-06 17:08:35,179 Trac[main] ERROR: Internal Server Error: 
, referrer 
'http://trac.xxx.com/trac/xxx/ticket/508'
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 613, in 
_dispatch_request
dispatcher.dispatch(req)
  File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 263, in 
dispatch
self._post_process_request(req, *resp)
  File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 444, in 
_post_process_request
resp = f.post_process_request(req, *resp[:-1])
  File "build/bdist.linux-x86_64/egg/tracsubtickets/web_ui.py", line 73, in 
post_process_request
children = self.get_children(ticket.id)
  File "build/bdist.linux-x86_64/egg/tracsubtickets/web_ui.py", line 104, 
in get_children
db = self.env.get_db_cnx()
AttributeError: 'Environment' object has no attribute 'get_db_cnx'

 

-- 
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 post to this group, send email to trac-users@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-06 Thread Ryan Ollos
On Tue, Dec 6, 2016 at 12:43 AM Mingxing Tian  wrote:

> Fortunately, the page can be accessed, but can not normally show, I
> screenshot to you.
>

How did you resolve the previous issue with authz_policy? I want to
determine if there is a problem with the upgrade step, so please provide
the requested information.


> TypeError: inline_overwrite_get_known_users() got an unexpected keyword 
> argument 'as_dict'
>
>
>
>
>
> 
>

To discover which plugin is causing that error you'll need to find the
associated traceback in the logs.

It's probably due to UserManagerPlugin:
https://trac-hacks.org/wiki/UserManagerPlugin

I'm not surprised the plugin is not compatible with Trac 1.2. You'll have
to disable it. Maybe some will fix it soon, but I won't get to it this week.

https://trac-hacks.org/ticket/12979

- Ryan

-- 
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 post to this group, send email to trac-users@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-06 Thread RjOllos


On Tuesday, December 6, 2016 at 12:02:52 AM UTC-8, Mingxing Tian wrote:
>
>
>
> 在 2016年12月6日星期二 UTC+8下午2:43:30,RjOllos写道:
>>
>>
>>
>> On Monday, December 5, 2016 at 10:12:48 PM UTC-8, Mingxing Tian wrote:
>>>
>>>
>>>
>>> 在 2016年12月6日星期二 UTC+8下午2:08:00,RjOllos写道:



 On Monday, December 5, 2016 at 9:57:24 PM UTC-8, Mingxing Tian wrote:
>
> I still get some mistakes, because I do not understand the Python 
> language, so it is difficult to analyze what is the problem!
>
>
> 2016-12-06 13:48:08,061 Trac[loader] ERROR: Skipping 
> "trac.mimeview.txtl = trac.mimeview.txtl [textile]":
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/trac/loader.py", line 68, in 
> _load_eggs
> entry.load(require=True)
>   File "/usr/lib/python2.6/site-packages/pkg_resources/__init__.py", 
> line 2287, in load
> return self.resolve()
>   File "/usr/lib/python2.6/site-packages/pkg_resources/__init__.py", 
> line 2293, in resolve
> module = __import__(self.module_name, fromlist=['__name__'], 
> level=0)
>   File "/usr/lib/python2.6/site-packages/trac/mimeview/txtl.py", line 
> 21, in 
> import textile
> ImportError: No module named textile
>
> 2016-12-06 13:48:09,211 Trac[main] ERROR: Exception caught while 
> post-processing request:
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 285, 
> in dispatch
> self._post_process_request(req)
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 447, 
> in _post_process_request
> f.post_process_request(req, *(None,)*extra_arg_count)
>   File "build/bdist.linux-x86_64/egg/tracwysiwyg/__init__.py", line 
> 49, in post_process_request
> add_script_data(req, {'_tracwysiwyg': options})
>   File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 
> 186, in add_script_data
> script_data = req.chrome.setdefault('script_data', {})
>   File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 492, 
> in __getattr__
> value = self.callbacks[name](self)
>   File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 
> 800, in prepare_request
> if req.locale is not None and str(req.locale) != 'en_US':
>   File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 492, 
> in __getattr__
> value = self.callbacks[name](self)
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 358, 
> in _get_locale
> preferred = req.session.get('language')
>   File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 492, 
> in __getattr__
> value = self.callbacks[name](self)
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 350, 
> in _get_session
> return Session(self.env, req)
>   File "/usr/lib/python2.6/site-packages/trac/web/session.py", line 
> 242, in __init__
> if req.authname == 'anonymous':
>   File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 492, 
> in __getattr__
> value = self.callbacks[name](self)
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 172, 
> in authenticate
> authname = authenticator.authenticate(req)
>   File "build/bdist.linux-x86_64/egg/acct_mgr/util.py", line 81, in 
> wrap
> return func(self, *args, **kwds)
>   File "build/bdist.linux-x86_64/egg/acct_mgr/web_ui.py", line 422, in 
> authenticate
> return auth.LoginModule.authenticate(self, req)
>   File "/usr/lib/python2.6/site-packages/trac/web/auth.py", line 97, 
> in authenticate
> req.incookie['trac_auth'])
>   File "build/bdist.linux-x86_64/egg/acct_mgr/web_ui.py", line 491, in 
> _get_name_for_cookie
> db = self.env.get_db_cnx()
> AttributeError: 'Environment' object has no attribute 'get_db_cnx'
> 2016-12-06 13:48:09,212 Trac[main] ERROR: Internal Server Error: 
> , referrer '
> http://trac.idouzi.com/trac/idouzi/timeline?smp_update=filter_projects=%E6%95%B0%E6%8D%AE%E4%B8%AD%E5%BF%83_query==2016-12-05=8=tianmingxing=on=on=on_Mall=on_Server=on=on=on=on=%E6%9B%B4%E6%96%B0%E7%BB%93%E6%9E%9C
> '
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 613, 
> in _dispatch_request
> dispatcher.dispatch(req)
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 220, 
> in dispatch
> chosen_handler = self._pre_process_request(req, chosen_handler)
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 422, 
> in _pre_process_request
> chosen_handler = filter_.pre_process_request(req, chosen_handler)
>   File "build/bdist.linux-x86_64/egg/acct_mgr/api.py", line 478, in 
> pre_process_request
> if 

Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-06 Thread Mingxing Tian


在 2016年12月6日星期二 UTC+8下午2:43:30,RjOllos写道:
>
>
>
> On Monday, December 5, 2016 at 10:12:48 PM UTC-8, Mingxing Tian wrote:
>>
>>
>>
>> 在 2016年12月6日星期二 UTC+8下午2:08:00,RjOllos写道:
>>>
>>>
>>>
>>> On Monday, December 5, 2016 at 9:57:24 PM UTC-8, Mingxing Tian wrote:

 I still get some mistakes, because I do not understand the Python 
 language, so it is difficult to analyze what is the problem!


 2016-12-06 13:48:08,061 Trac[loader] ERROR: Skipping 
 "trac.mimeview.txtl = trac.mimeview.txtl [textile]":
 Traceback (most recent call last):
   File "/usr/lib/python2.6/site-packages/trac/loader.py", line 68, in 
 _load_eggs
 entry.load(require=True)
   File "/usr/lib/python2.6/site-packages/pkg_resources/__init__.py", 
 line 2287, in load
 return self.resolve()
   File "/usr/lib/python2.6/site-packages/pkg_resources/__init__.py", 
 line 2293, in resolve
 module = __import__(self.module_name, fromlist=['__name__'], 
 level=0)
   File "/usr/lib/python2.6/site-packages/trac/mimeview/txtl.py", line 
 21, in 
 import textile
 ImportError: No module named textile

 2016-12-06 13:48:09,211 Trac[main] ERROR: Exception caught while 
 post-processing request:
 Traceback (most recent call last):
   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 285, 
 in dispatch
 self._post_process_request(req)
   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 447, 
 in _post_process_request
 f.post_process_request(req, *(None,)*extra_arg_count)
   File "build/bdist.linux-x86_64/egg/tracwysiwyg/__init__.py", line 49, 
 in post_process_request
 add_script_data(req, {'_tracwysiwyg': options})
   File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 186, 
 in add_script_data
 script_data = req.chrome.setdefault('script_data', {})
   File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 492, in 
 __getattr__
 value = self.callbacks[name](self)
   File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 800, 
 in prepare_request
 if req.locale is not None and str(req.locale) != 'en_US':
   File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 492, in 
 __getattr__
 value = self.callbacks[name](self)
   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 358, 
 in _get_locale
 preferred = req.session.get('language')
   File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 492, in 
 __getattr__
 value = self.callbacks[name](self)
   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 350, 
 in _get_session
 return Session(self.env, req)
   File "/usr/lib/python2.6/site-packages/trac/web/session.py", line 
 242, in __init__
 if req.authname == 'anonymous':
   File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 492, in 
 __getattr__
 value = self.callbacks[name](self)
   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 172, 
 in authenticate
 authname = authenticator.authenticate(req)
   File "build/bdist.linux-x86_64/egg/acct_mgr/util.py", line 81, in wrap
 return func(self, *args, **kwds)
   File "build/bdist.linux-x86_64/egg/acct_mgr/web_ui.py", line 422, in 
 authenticate
 return auth.LoginModule.authenticate(self, req)
   File "/usr/lib/python2.6/site-packages/trac/web/auth.py", line 97, in 
 authenticate
 req.incookie['trac_auth'])
   File "build/bdist.linux-x86_64/egg/acct_mgr/web_ui.py", line 491, in 
 _get_name_for_cookie
 db = self.env.get_db_cnx()
 AttributeError: 'Environment' object has no attribute 'get_db_cnx'
 2016-12-06 13:48:09,212 Trac[main] ERROR: Internal Server Error: 
 , referrer '
 http://trac.idouzi.com/trac/idouzi/timeline?smp_update=filter_projects=%E6%95%B0%E6%8D%AE%E4%B8%AD%E5%BF%83_query==2016-12-05=8=tianmingxing=on=on=on_Mall=on_Server=on=on=on=on=%E6%9B%B4%E6%96%B0%E7%BB%93%E6%9E%9C
 '
 Traceback (most recent call last):
   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 613, 
 in _dispatch_request
 dispatcher.dispatch(req)
   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 220, 
 in dispatch
 chosen_handler = self._pre_process_request(req, chosen_handler)
   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 422, 
 in _pre_process_request
 chosen_handler = filter_.pre_process_request(req, chosen_handler)
   File "build/bdist.linux-x86_64/egg/acct_mgr/api.py", line 478, in 
 pre_process_request
 if not req.session.authenticated or \
   File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 492, in 
 __getattr__
 value = self.callbacks[name](self)
   File 

Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-05 Thread RjOllos


On Monday, December 5, 2016 at 10:12:48 PM UTC-8, Mingxing Tian wrote:
>
>
>
> 在 2016年12月6日星期二 UTC+8下午2:08:00,RjOllos写道:
>>
>>
>>
>> On Monday, December 5, 2016 at 9:57:24 PM UTC-8, Mingxing Tian wrote:
>>>
>>> I still get some mistakes, because I do not understand the Python 
>>> language, so it is difficult to analyze what is the problem!
>>>
>>>
>>> 2016-12-06 13:48:08,061 Trac[loader] ERROR: Skipping "trac.mimeview.txtl 
>>> = trac.mimeview.txtl [textile]":
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python2.6/site-packages/trac/loader.py", line 68, in 
>>> _load_eggs
>>> entry.load(require=True)
>>>   File "/usr/lib/python2.6/site-packages/pkg_resources/__init__.py", 
>>> line 2287, in load
>>> return self.resolve()
>>>   File "/usr/lib/python2.6/site-packages/pkg_resources/__init__.py", 
>>> line 2293, in resolve
>>> module = __import__(self.module_name, fromlist=['__name__'], level=0)
>>>   File "/usr/lib/python2.6/site-packages/trac/mimeview/txtl.py", line 
>>> 21, in 
>>> import textile
>>> ImportError: No module named textile
>>>
>>> 2016-12-06 13:48:09,211 Trac[main] ERROR: Exception caught while 
>>> post-processing request:
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 285, in 
>>> dispatch
>>> self._post_process_request(req)
>>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 447, in 
>>> _post_process_request
>>> f.post_process_request(req, *(None,)*extra_arg_count)
>>>   File "build/bdist.linux-x86_64/egg/tracwysiwyg/__init__.py", line 49, 
>>> in post_process_request
>>> add_script_data(req, {'_tracwysiwyg': options})
>>>   File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 186, 
>>> in add_script_data
>>> script_data = req.chrome.setdefault('script_data', {})
>>>   File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 492, in 
>>> __getattr__
>>> value = self.callbacks[name](self)
>>>   File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 800, 
>>> in prepare_request
>>> if req.locale is not None and str(req.locale) != 'en_US':
>>>   File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 492, in 
>>> __getattr__
>>> value = self.callbacks[name](self)
>>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 358, in 
>>> _get_locale
>>> preferred = req.session.get('language')
>>>   File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 492, in 
>>> __getattr__
>>> value = self.callbacks[name](self)
>>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 350, in 
>>> _get_session
>>> return Session(self.env, req)
>>>   File "/usr/lib/python2.6/site-packages/trac/web/session.py", line 242, 
>>> in __init__
>>> if req.authname == 'anonymous':
>>>   File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 492, in 
>>> __getattr__
>>> value = self.callbacks[name](self)
>>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 172, in 
>>> authenticate
>>> authname = authenticator.authenticate(req)
>>>   File "build/bdist.linux-x86_64/egg/acct_mgr/util.py", line 81, in wrap
>>> return func(self, *args, **kwds)
>>>   File "build/bdist.linux-x86_64/egg/acct_mgr/web_ui.py", line 422, in 
>>> authenticate
>>> return auth.LoginModule.authenticate(self, req)
>>>   File "/usr/lib/python2.6/site-packages/trac/web/auth.py", line 97, in 
>>> authenticate
>>> req.incookie['trac_auth'])
>>>   File "build/bdist.linux-x86_64/egg/acct_mgr/web_ui.py", line 491, in 
>>> _get_name_for_cookie
>>> db = self.env.get_db_cnx()
>>> AttributeError: 'Environment' object has no attribute 'get_db_cnx'
>>> 2016-12-06 13:48:09,212 Trac[main] ERROR: Internal Server Error: 
>>> , referrer '
>>> http://trac.idouzi.com/trac/idouzi/timeline?smp_update=filter_projects=%E6%95%B0%E6%8D%AE%E4%B8%AD%E5%BF%83_query==2016-12-05=8=tianmingxing=on=on=on_Mall=on_Server=on=on=on=on=%E6%9B%B4%E6%96%B0%E7%BB%93%E6%9E%9C
>>> '
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 613, in 
>>> _dispatch_request
>>> dispatcher.dispatch(req)
>>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 220, in 
>>> dispatch
>>> chosen_handler = self._pre_process_request(req, chosen_handler)
>>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 422, in 
>>> _pre_process_request
>>> chosen_handler = filter_.pre_process_request(req, chosen_handler)
>>>   File "build/bdist.linux-x86_64/egg/acct_mgr/api.py", line 478, in 
>>> pre_process_request
>>> if not req.session.authenticated or \
>>>   File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 492, in 
>>> __getattr__
>>> value = self.callbacks[name](self)
>>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 350, in 
>>> _get_session
>>> return Session(self.env, req)
>>>   File 

Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-05 Thread Mingxing Tian


在 2016年12月6日星期二 UTC+8下午2:08:00,RjOllos写道:
>
>
>
> On Monday, December 5, 2016 at 9:57:24 PM UTC-8, Mingxing Tian wrote:
>>
>> I still get some mistakes, because I do not understand the Python 
>> language, so it is difficult to analyze what is the problem!
>>
>>
>> 2016-12-06 13:48:08,061 Trac[loader] ERROR: Skipping "trac.mimeview.txtl 
>> = trac.mimeview.txtl [textile]":
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.6/site-packages/trac/loader.py", line 68, in 
>> _load_eggs
>> entry.load(require=True)
>>   File "/usr/lib/python2.6/site-packages/pkg_resources/__init__.py", line 
>> 2287, in load
>> return self.resolve()
>>   File "/usr/lib/python2.6/site-packages/pkg_resources/__init__.py", line 
>> 2293, in resolve
>> module = __import__(self.module_name, fromlist=['__name__'], level=0)
>>   File "/usr/lib/python2.6/site-packages/trac/mimeview/txtl.py", line 21, 
>> in 
>> import textile
>> ImportError: No module named textile
>>
>> 2016-12-06 13:48:09,211 Trac[main] ERROR: Exception caught while 
>> post-processing request:
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 285, in 
>> dispatch
>> self._post_process_request(req)
>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 447, in 
>> _post_process_request
>> f.post_process_request(req, *(None,)*extra_arg_count)
>>   File "build/bdist.linux-x86_64/egg/tracwysiwyg/__init__.py", line 49, 
>> in post_process_request
>> add_script_data(req, {'_tracwysiwyg': options})
>>   File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 186, 
>> in add_script_data
>> script_data = req.chrome.setdefault('script_data', {})
>>   File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 492, in 
>> __getattr__
>> value = self.callbacks[name](self)
>>   File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 800, 
>> in prepare_request
>> if req.locale is not None and str(req.locale) != 'en_US':
>>   File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 492, in 
>> __getattr__
>> value = self.callbacks[name](self)
>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 358, in 
>> _get_locale
>> preferred = req.session.get('language')
>>   File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 492, in 
>> __getattr__
>> value = self.callbacks[name](self)
>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 350, in 
>> _get_session
>> return Session(self.env, req)
>>   File "/usr/lib/python2.6/site-packages/trac/web/session.py", line 242, 
>> in __init__
>> if req.authname == 'anonymous':
>>   File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 492, in 
>> __getattr__
>> value = self.callbacks[name](self)
>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 172, in 
>> authenticate
>> authname = authenticator.authenticate(req)
>>   File "build/bdist.linux-x86_64/egg/acct_mgr/util.py", line 81, in wrap
>> return func(self, *args, **kwds)
>>   File "build/bdist.linux-x86_64/egg/acct_mgr/web_ui.py", line 422, in 
>> authenticate
>> return auth.LoginModule.authenticate(self, req)
>>   File "/usr/lib/python2.6/site-packages/trac/web/auth.py", line 97, in 
>> authenticate
>> req.incookie['trac_auth'])
>>   File "build/bdist.linux-x86_64/egg/acct_mgr/web_ui.py", line 491, in 
>> _get_name_for_cookie
>> db = self.env.get_db_cnx()
>> AttributeError: 'Environment' object has no attribute 'get_db_cnx'
>> 2016-12-06 13:48:09,212 Trac[main] ERROR: Internal Server Error: 
>> , referrer '
>> http://trac.idouzi.com/trac/idouzi/timeline?smp_update=filter_projects=%E6%95%B0%E6%8D%AE%E4%B8%AD%E5%BF%83_query==2016-12-05=8=tianmingxing=on=on=on_Mall=on_Server=on=on=on=on=%E6%9B%B4%E6%96%B0%E7%BB%93%E6%9E%9C
>> '
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 613, in 
>> _dispatch_request
>> dispatcher.dispatch(req)
>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 220, in 
>> dispatch
>> chosen_handler = self._pre_process_request(req, chosen_handler)
>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 422, in 
>> _pre_process_request
>> chosen_handler = filter_.pre_process_request(req, chosen_handler)
>>   File "build/bdist.linux-x86_64/egg/acct_mgr/api.py", line 478, in 
>> pre_process_request
>> if not req.session.authenticated or \
>>   File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 492, in 
>> __getattr__
>> value = self.callbacks[name](self)
>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 350, in 
>> _get_session
>> return Session(self.env, req)
>>   File "/usr/lib/python2.6/site-packages/trac/web/session.py", line 242, 
>> in __init__
>> if req.authname == 'anonymous':
>>   File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 492, in 
>> __getattr__
>> 

Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-05 Thread RjOllos


On Monday, December 5, 2016 at 9:57:24 PM UTC-8, Mingxing Tian wrote:
>
> I still get some mistakes, because I do not understand the Python 
> language, so it is difficult to analyze what is the problem!
>
>
> 2016-12-06 13:48:08,061 Trac[loader] ERROR: Skipping "trac.mimeview.txtl = 
> trac.mimeview.txtl [textile]":
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/trac/loader.py", line 68, in 
> _load_eggs
> entry.load(require=True)
>   File "/usr/lib/python2.6/site-packages/pkg_resources/__init__.py", line 
> 2287, in load
> return self.resolve()
>   File "/usr/lib/python2.6/site-packages/pkg_resources/__init__.py", line 
> 2293, in resolve
> module = __import__(self.module_name, fromlist=['__name__'], level=0)
>   File "/usr/lib/python2.6/site-packages/trac/mimeview/txtl.py", line 21, 
> in 
> import textile
> ImportError: No module named textile
>
> 2016-12-06 13:48:09,211 Trac[main] ERROR: Exception caught while 
> post-processing request:
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 285, in 
> dispatch
> self._post_process_request(req)
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 447, in 
> _post_process_request
> f.post_process_request(req, *(None,)*extra_arg_count)
>   File "build/bdist.linux-x86_64/egg/tracwysiwyg/__init__.py", line 49, in 
> post_process_request
> add_script_data(req, {'_tracwysiwyg': options})
>   File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 186, in 
> add_script_data
> script_data = req.chrome.setdefault('script_data', {})
>   File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 492, in 
> __getattr__
> value = self.callbacks[name](self)
>   File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 800, in 
> prepare_request
> if req.locale is not None and str(req.locale) != 'en_US':
>   File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 492, in 
> __getattr__
> value = self.callbacks[name](self)
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 358, in 
> _get_locale
> preferred = req.session.get('language')
>   File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 492, in 
> __getattr__
> value = self.callbacks[name](self)
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 350, in 
> _get_session
> return Session(self.env, req)
>   File "/usr/lib/python2.6/site-packages/trac/web/session.py", line 242, 
> in __init__
> if req.authname == 'anonymous':
>   File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 492, in 
> __getattr__
> value = self.callbacks[name](self)
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 172, in 
> authenticate
> authname = authenticator.authenticate(req)
>   File "build/bdist.linux-x86_64/egg/acct_mgr/util.py", line 81, in wrap
> return func(self, *args, **kwds)
>   File "build/bdist.linux-x86_64/egg/acct_mgr/web_ui.py", line 422, in 
> authenticate
> return auth.LoginModule.authenticate(self, req)
>   File "/usr/lib/python2.6/site-packages/trac/web/auth.py", line 97, in 
> authenticate
> req.incookie['trac_auth'])
>   File "build/bdist.linux-x86_64/egg/acct_mgr/web_ui.py", line 491, in 
> _get_name_for_cookie
> db = self.env.get_db_cnx()
> AttributeError: 'Environment' object has no attribute 'get_db_cnx'
> 2016-12-06 13:48:09,212 Trac[main] ERROR: Internal Server Error: 
> , referrer '
> http://trac.idouzi.com/trac/idouzi/timeline?smp_update=filter_projects=%E6%95%B0%E6%8D%AE%E4%B8%AD%E5%BF%83_query==2016-12-05=8=tianmingxing=on=on=on_Mall=on_Server=on=on=on=on=%E6%9B%B4%E6%96%B0%E7%BB%93%E6%9E%9C
> '
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 613, in 
> _dispatch_request
> dispatcher.dispatch(req)
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 220, in 
> dispatch
> chosen_handler = self._pre_process_request(req, chosen_handler)
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 422, in 
> _pre_process_request
> chosen_handler = filter_.pre_process_request(req, chosen_handler)
>   File "build/bdist.linux-x86_64/egg/acct_mgr/api.py", line 478, in 
> pre_process_request
> if not req.session.authenticated or \
>   File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 492, in 
> __getattr__
> value = self.callbacks[name](self)
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 350, in 
> _get_session
> return Session(self.env, req)
>   File "/usr/lib/python2.6/site-packages/trac/web/session.py", line 242, 
> in __init__
> if req.authname == 'anonymous':
>   File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 492, in 
> __getattr__
> value = self.callbacks[name](self)
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 172, in 
> authenticate
> authname = 

[Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-05 Thread Mingxing Tian
2016-12-06 10:53:15,190 Trac[env] INFO:  
environment startup [Trac 1.2] 
2016-12-06 10:53:15,530 Trac[loader] DEBUG: Adding plugin GroupTicketFields 
0.0.1dev-r0 from 
/home/projects/xxx/plugins/GroupTicketFields-0.0.1dev_r0-py2.6.egg
2016-12-06 10:53:15,531 Trac[loader] DEBUG: Adding plugin GridModify 
0.1.6dev-r0 from /home/projects/xxx/plugins/GridModify-0.1.6dev_r0-py2.6.egg
2016-12-06 10:53:15,531 Trac[loader] DEBUG: Adding plugin BreadCrumbsNav 
0.3dev-r0 from /home/projects/xxx/plugins/BreadCrumbsNav-0.3dev_r0-py2.6.egg
2016-12-06 10:53:15,531 Trac[loader] DEBUG: Adding plugin STractistics 
0.6dev-r0 from /home/projects/xxx/plugins/STractistics-0.6dev_r0-py2.6.egg
2016-12-06 10:53:15,532 Trac[loader] DEBUG: Adding plugin Lineno 1.2dev-r0 
from /home/projects/xxx/plugins/Lineno-1.2dev_r0-py2.6.egg
2016-12-06 10:53:15,532 Trac[loader] DEBUG: Adding plugin TracProjectMenu 
2.0dev-r0 from 
/home/projects/xxx/plugins/TracProjectMenu-2.0dev_r0-py2.6.egg
2016-12-06 10:53:15,532 Trac[loader] DEBUG: Adding plugin cc-selector 0.0.4 
from /home/projects/xxx/plugins/cc_selector-0.0.4-py2.6.egg
2016-12-06 10:53:15,532 Trac[loader] DEBUG: Adding plugin 
trac-UserPicturesPlugin 0.1.1 from 
/usr/lib/python2.6/site-packages/trac_UserPicturesPlugin-0.1.1-py2.6.egg
2016-12-06 10:53:15,533 Trac[loader] DEBUG: Adding plugin 
TracSubTicketsPlugin 0.2.0.dev20161020 from 
/home/projects/xxx/plugins/TracSubTicketsPlugin-0.2.0.dev20161020-py2.6.egg
2016-12-06 10:53:15,533 Trac[loader] DEBUG: Adding plugin TablePlugin 
0.2.post0 from /home/projects/xxx/plugins/TablePlugin-0.2.post0-py2.6.egg
2016-12-06 10:53:15,533 Trac[loader] DEBUG: Adding plugin 
TracSectionEditPlugin 0.2.6.post0 from 
/home/projects/xxx/plugins/TracSectionEditPlugin-0.2.6.post0-py2.6.egg
2016-12-06 10:53:15,534 Trac[loader] DEBUG: Adding plugin 
TracCustomFieldAdmin 0.2.12 from 
/home/projects/xxx/plugins/TracCustomFieldAdmin-0.2.12-py2.6.egg
2016-12-06 10:53:15,534 Trac[loader] DEBUG: Adding plugin TracExtractUrl 
0.3 from /home/projects/xxx/plugins/TracExtractUrl-0.3-py2.6.egg
2016-12-06 10:53:15,534 Trac[loader] DEBUG: Adding plugin TicketExtPlugin 
0.3.2.post0 from 
/home/projects/xxx/plugins/TicketExtPlugin-0.3.2.post0-py2.6.egg
2016-12-06 10:53:15,534 Trac[loader] DEBUG: Adding plugin 
TracNumberedHeadlinesPlugin 0.4.post0 from 
/home/projects/xxx/plugins/TracNumberedHeadlinesPlugin-0.4.post0-py2.6.egg
2016-12-06 10:53:15,535 Trac[loader] DEBUG: Adding plugin 
TracAccountManager 0.5.dev0 from 
/home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-06 10:53:15,535 Trac[loader] DEBUG: Adding plugin TracMindMapMacro 
0.5.dev0 from /home/projects/xxx/plugins/TracMindMapMacro-0.5.dev0-py2.6.egg
2016-12-06 10:53:15,535 Trac[loader] DEBUG: Adding plugin 
TracUserManagerPlugin 0.5.dev0 from 
/home/projects/xxx/plugins/TracUserManagerPlugin-0.5.dev0-py2.6.egg
2016-12-06 10:53:15,536 Trac[loader] DEBUG: Adding plugin 
SimpleMultiProject 0.5.2.dev0 from 
/home/projects/xxx/plugins/SimpleMultiProject-0.5.2.dev0-py2.6.egg
2016-12-06 10:53:15,536 Trac[loader] DEBUG: Adding plugin 
TracGanttCalendarPlugin 0.6.4.post0 from 
/home/projects/xxx/plugins/TracGanttCalendarPlugin-0.6.4.post0-py2.6.egg
2016-12-06 10:53:15,536 Trac[loader] DEBUG: Adding plugin TracTags 0.9.dev0 
from /home/projects/xxx/plugins/TracTags-0.9.dev0-py2.6.egg
2016-12-06 10:53:15,537 Trac[loader] DEBUG: Adding plugin TracMarkdownMacro 
0.11.4.post0 from 
/home/projects/xxx/plugins/TracMarkdownMacro-0.11.4.post0-py2.6.egg
2016-12-06 10:53:15,537 Trac[loader] DEBUG: Adding plugin 
TracHtmlNotificationPlugin 0.12.0.1 from 
/home/projects/xxx/plugins/TracHtmlNotificationPlugin-0.12.0.1-py2.6.egg
2016-12-06 10:53:15,537 Trac[loader] DEBUG: Adding plugin 
TicketCalendarPlugin 0.12.0.2 from 
/home/projects/xxx/plugins/TicketCalendarPlugin-0.12.0.2-py2.6.egg
2016-12-06 10:53:15,537 Trac[loader] DEBUG: Adding plugin TracWorkflowAdmin 
0.12.0.2 from 
/home/projects/xxx/plugins/TracWorkflowAdmin-0.12.0.2-py2.6.egg
2016-12-06 10:53:15,538 Trac[loader] DEBUG: Adding plugin TracWysiwyg 
0.12.0.5.post0 from 
/home/projects/xxx/plugins/TracWysiwyg-0.12.0.5.post0-py2.6.egg
2016-12-06 10:53:15,538 Trac[loader] DEBUG: Adding plugin 
BlackMagicTicketTweaks 0.12.2 from 
/home/projects/xxx/plugins/BlackMagicTicketTweaks-0.12.2-py2.6.egg
2016-12-06 10:53:15,538 Trac[loader] DEBUG: Adding plugin 
SvnAuthzAdminPlugin 1.0.dev0 from 
/home/projects/xxx/plugins/SvnAuthzAdminPlugin-1.0.dev0-py2.6.egg
2016-12-06 10:53:15,539 Trac[loader] DEBUG: Adding plugin TracAnnouncer 
1.0.dev0 from /home/projects/xxx/plugins/TracAnnouncer-1.0.dev0-py2.6.egg
2016-12-06 10:53:15,539 Trac[loader] DEBUG: Adding plugin TracCodeReviewer 
1.0.0.dev0 from 
/home/projects/xxx/plugins/TracCodeReviewer-1.0.0.dev0-py2.6.egg
2016-12-06 10:53:15,539 Trac[loader] DEBUG: Adding plugin TracWikiExtras 
1.0.dev0 from 

[Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-05 Thread Mingxing Tian
[root@host105 tmp]# pip install -U Trac
DEPRECATION: Python 2.6 is no longer supported by the Python core team, 
please upgrade your Python. A future version of pip will drop support for 
Python 2.6
/usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318:
 
SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject 
Name Indication) extension to TLS is not available on this platform. This 
may cause the server to present an incorrect TLS certificate, which can 
cause validation failures. You can upgrade to a newer version of Python to 
solve this. For more information, see 
https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
  SNIMissingWarning
/usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122:
 
InsecurePlatformWarning: A true SSLContext object is not available. This 
prevents urllib3 from configuring SSL appropriately and may cause certain 
SSL connections to fail. You can upgrade to a newer version of Python to 
solve this. For more information, see 
https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
Collecting Trac
  Downloading Trac-1.2-py2-none-any.whl (3.8MB)
100% || 3.8MB 1.2kB/s
Collecting setuptools>=0.6 (from Trac)
  Downloading setuptools-30.2.0-py2.py3-none-any.whl (472kB)
100% || 481kB 3.5kB/s
Requirement already up-to-date: Genshi>=0.6 in 
/usr/lib/python2.6/site-packages/Genshi-0.7-py2.6-linux-x86_64.egg (from 
Trac)
Installing collected packages: setuptools, Trac
  Found existing installation: setuptools 21.2.0
Uninstalling setuptools-21.2.0:
  Successfully uninstalled setuptools-21.2.0
  Found existing installation: Trac 1.0.13
Uninstalling Trac-1.0.13:
  Successfully uninstalled Trac-1.0.13
Successfully installed Trac-1.2 setuptools-30.2.0
Traceback (most recent call last):
  File "/usr/bin/pip", line 11, in 
sys.exit(main())
  File "/usr/lib/python2.6/site-packages/pip/__init__.py", line 233, in main
return command.main(cmd_args)
  File "/usr/lib/python2.6/site-packages/pip/basecommand.py", line 252, in 
main
pip_version_check(session)
  File "/usr/lib/python2.6/site-packages/pip/utils/outdated.py", line 102, 
in pip_version_check
installed_version = get_installed_version("pip")
  File "/usr/lib/python2.6/site-packages/pip/utils/__init__.py", line 838, 
in get_installed_version
working_set = pkg_resources.WorkingSet()
  File 
"/usr/lib/python2.6/site-packages/pip/_vendor/pkg_resources/__init__.py", 
line 644, in __init__
self.add_entry(entry)
  File 
"/usr/lib/python2.6/site-packages/pip/_vendor/pkg_resources/__init__.py", 
line 700, in add_entry
for dist in find_distributions(entry, True):
  File 
"/usr/lib/python2.6/site-packages/pip/_vendor/pkg_resources/__init__.py", 
line 1949, in find_eggs_in_zip
if metadata.has_metadata('PKG-INFO'):
  File 
"/usr/lib/python2.6/site-packages/pip/_vendor/pkg_resources/__init__.py", 
line 1463, in has_metadata
return self.egg_info and self._has(self._fn(self.egg_info, name))
  File 
"/usr/lib/python2.6/site-packages/pip/_vendor/pkg_resources/__init__.py", 
line 1823, in _has
return zip_path in self.zipinfo or zip_path in self._index()
  File 
"/usr/lib/python2.6/site-packages/pip/_vendor/pkg_resources/__init__.py", 
line 1703, in zipinfo
return self._zip_manifests.load(self.loader.archive)
  File 
"/usr/lib/python2.6/site-packages/pip/_vendor/pkg_resources/__init__.py", 
line 1643, in load
mtime = os.stat(path).st_mtime
OSError: [Errno 2] 没有那个文件或目录: 
'/usr/lib/python2.6/site-packages/setuptools-21.2.0-py2.6.egg'



There was an error in the installation process. May I have completed the 
upgrade?


在 2016年12月5日星期一 UTC+8下午10:57:02,RjOllos写道:
>
>
>
> On Monday, December 5, 2016 at 12:38:24 AM UTC-8, Mingxing Tian wrote:
>>
>> [root@host105 ~]# easy_install --upgrade Trac
>> Searching for Trac
>> Reading https://pypi.python.org/simple/Trac/
>> Download error on https://pypi.python.org/simple/Trac/: [Errno 101] 
>> Network is unreachable -- Some packages may not be found!
>> Couldn't retrieve index page for 'Trac'
>> Scanning index of all packages (this may take a while)
>> Reading https://pypi.python.org/simple/
>> Best match: Trac 1.0.13
>> Processing Trac-1.0.13-py2.6.egg
>> Trac 1.0.13 is already the active version in easy-install.pth
>> Installing trac-admin script to /usr/bin
>> Installing tracd script to /usr/bin
>>
>> Using /usr/lib/python2.6/site-packages/Trac-1.0.13-py2.6.egg
>> Processing dependencies for Trac
>> Finished processing dependencies for Trac
>> You have new mail in /var/spool/mail/root
>>
>>
>> The upgrade process seems to have nothing to do?
>>
>
> It looks like you have a network problem. Maybe you are behind a proxy or 
> corporate firewall?
>
> In general, I suggest using pip rather than easy_install.
> 

[Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-05 Thread RjOllos


On Monday, December 5, 2016 at 12:38:24 AM UTC-8, Mingxing Tian wrote:
>
> [root@host105 ~]# easy_install --upgrade Trac
> Searching for Trac
> Reading https://pypi.python.org/simple/Trac/
> Download error on https://pypi.python.org/simple/Trac/: [Errno 101] 
> Network is unreachable -- Some packages may not be found!
> Couldn't retrieve index page for 'Trac'
> Scanning index of all packages (this may take a while)
> Reading https://pypi.python.org/simple/
> Best match: Trac 1.0.13
> Processing Trac-1.0.13-py2.6.egg
> Trac 1.0.13 is already the active version in easy-install.pth
> Installing trac-admin script to /usr/bin
> Installing tracd script to /usr/bin
>
> Using /usr/lib/python2.6/site-packages/Trac-1.0.13-py2.6.egg
> Processing dependencies for Trac
> Finished processing dependencies for Trac
> You have new mail in /var/spool/mail/root
>
>
> The upgrade process seems to have nothing to do?
>

It looks like you have a network problem. Maybe you are behind a proxy or 
corporate firewall?

In general, I suggest using pip rather than easy_install.
https://pip.pypa.io/en/stable/installing/
$ pip install -U Trac

Another option, you could download and install from source:

$ wget 
https://pypi.python.org/packages/de/38/7d6604d907bf37b18a0501ff00d02c9fb60182c74313e23508824620e4f3/Trac-1.2.tar.gz#md5=ff3a7d78099a269ae2035a6cf8adccbb
$ tar xzvf Trac-1.2.tar.gz 
$ cd Trac 1.2
$ python setup.py install
# or
$ pip install .
 
- Ryan

-- 
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 post to this group, send email to trac-users@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.