[Trac] Is there a release plan for the 1.3.x version?

2019-06-10 Thread Mingxing Tian
I found that the progress of the project continued to stay in development, 
and I was eager to know when the new version was released.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/6cd47fdf-c195-49a9-81eb-941e430678f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] UnicodeEncodeError: 'ascii' codec can't encode character u'\u5230' in position 0: ordinal not in range(128)

2018-09-07 Thread Mingxing Tian


Jun Omae於 2018年9月6日星期四 UTC+8下午8時45分00秒寫道:
>
> On Thu, Sep 6, 2018 at 9:17 PM Mingxing Tian  > wrote: 
> > 
> > File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 647, in 
> _dispatch_request 
> >   dispatcher.dispatch(req) 
> > File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 268, in 
> dispatch 
> >   iterable=chrome.use_chunked_encoding) 
> > File "/usr/lib/python2.7/site-packages/trac/web/chrome.py", line 1134, 
> in render_template 
> >   stream |= self._filter_stream(req, method, filename, stream, data) 
> > File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 133, in 
> __or__ 
> >   return Stream(_ensure(function(self)), serializer=self.serializer) 
> > File "/usr/lib/python2.7/site-packages/trac/web/chrome.py", line 1447, 
> in inner 
> >   data) 
> > File "build/bdist.linux-x86_64/egg/workflow_actionbuttons/web_ui.py", 
> line 41, in filter_stream 
> >   buttons.append(manager.render_action_button(req, data['ticket'], 
> action)) 
> > File "build/bdist.linux-x86_64/egg/workflow_actionbuttons/api.py", line 
> 72, in render_action_button 
> >   supplemental_form = " class='supplemental-form'>%s %s %s style='width:95%%' rows='5' name='comment' placeholder='Enter your 
> comment'>" % (action.title(), 
> str(widgets), hints) 
> > File "/usr/lib64/python2.7/site-packages/genshi/builder.py", line 107, 
> in __str__ 
> >   return str(self.generate()) 
>
> The same issue has been reported in https://trac-hacks.org/ticket/12118. 
> Please add detail of the issue and how to reproduce to the ticket. 
>
>
> -- 
> Jun Omae > (大前 潤) 
>

I found the reason because it was caused by other plugins.

*trac-WorkflowActionButtonsPlugin  *

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


[Trac] UnicodeEncodeError: 'ascii' codec can't encode character u'\u5230' in position 0: ordinal not in range(128)

2018-09-06 Thread Mingxing Tian


File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 647, in 
_dispatch_request
  dispatcher.dispatch(req)
File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 268, in dispatch
  iterable=chrome.use_chunked_encoding)
File "/usr/lib/python2.7/site-packages/trac/web/chrome.py", line 1134, in 
render_template
  stream |= self._filter_stream(req, method, filename, stream, data)
File "/usr/lib64/python2.7/site-packages/genshi/core.py", line 133, in __or__
  return Stream(_ensure(function(self)), serializer=self.serializer)
File "/usr/lib/python2.7/site-packages/trac/web/chrome.py", line 1447, in inner
  data)
File "build/bdist.linux-x86_64/egg/workflow_actionbuttons/web_ui.py", line 41, 
in filter_stream
  buttons.append(manager.render_action_button(req, data['ticket'], action))
File "build/bdist.linux-x86_64/egg/workflow_actionbuttons/api.py", line 72, in 
render_action_button
  supplemental_form = "%s %s %s" % (action.title(), 
str(widgets), hints)
File "/usr/lib64/python2.7/site-packages/genshi/builder.py", line 107, in 
__str__
  return str(self.generate())


Package版本
Trac 1.2.3
Babel 2.6.0
Genshi 0.7.1 (with speedups)
mod_wsgi 3.4 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
MySQL server: "5.7.22-log", client: "5.5.60-MariaDB", thread-safe: 1
MySQLdb 1.2.5
Python 2.7.5 (default, Jul 13 2018, 13:06:57) [GCC 4.8.5 20150623 (Red Hat 
4.8.5-28)]
pytz 2018.5
setuptools 0.9.8

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


[Trac] Re: Error: The current storage engine is MyISAM.

2018-09-03 Thread Mingxing Tian
RjOllos於 2018年9月4日星期二 UTC+8上午10時00分41秒寫道:

>
> On Monday, September 3, 2018 at 6:58:08 PM UTC-7, Mingxing Tian wrote:
>>
>> I confirm that the engine is already InnoDB, but it still detects errors.
>>
>> [image: 0001.png]
>> C:\Users\Administrator>trac-admin "D:\myproject" deploy 
>> "D:\myproject_deploy"
>> Error: The current storage engine is MyISAM. It must be InnoDB or NDB 
>> storage engine to support transactions.
>>
>
>
> Which version of Trac and which version of MySQL?
>
> - Ryan 
>


I have found out that something went wrong. I changed the default engine of 
the entire database instance to InnoDB. I think you should not check the 
engine of the entire instance, but one of the specific database engines. 
This is an optimization. local. 

default-storage-engine=INNODB

Unfortunately, configuration changes must be made to the database instance, 
not the database.

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


[Trac] Re: Comments from Git's branch can not be inserted into a task list

2017-09-26 Thread Mingxing Tian
I submitted a test report that you have seen May need to be further 
repaired.

在 2017年9月10日星期日 UTC+8下午4:52:31,RjOllos写道:
>
>
>
> On Friday, September 8, 2017 at 2:00:02 AM UTC-7, Mingxing Tian wrote:
>>
>> I fill in the comments in the format when I submit the change:
>>
>> see #1695 test commit
>>
>> If submitted on the trunk, add a comment on the ticket (# 1695).
>> But submitted on the branch, the following error occurs.
>>
>> Trac[web_ui] WARNING: Unable to insert changeset 
>> 0837f161e858afba78318dadac512444f1bb013e/testing and ticket 1695 into db: 
>> (1062, "Duplicate entry 
>> 'testing-0837f161e858afba78318dadac512444f1bb013e-1695' for key 'PRIMARY'"
>> )
>>
>> Why can not the comments submitted from the branch be automatically added 
>> to the comment in the order? Is this a bug?
>>
>
> Looks like it's reported already:
> https://trac-hacks.org/ticket/12966
>
> I did some work on the plugin but I don't really have time to maintain it. 
> It could use a maintainer.
>
> - 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.


[Trac] Comments from Git's branch can not be inserted into a task list

2017-09-08 Thread Mingxing Tian
I fill in the comments in the format when I submit the change:

see #1695 test commit

If submitted on the trunk, add a comment on the ticket (# 1695).
But submitted on the branch, the following error occurs.

Trac[web_ui] WARNING: Unable to insert changeset 
0837f161e858afba78318dadac512444f1bb013e/testing and ticket 1695 into db: (
1062, "Duplicate entry 
'testing-0837f161e858afba78318dadac512444f1bb013e-1695' for key 'PRIMARY'")

Why can not the comments submitted from the branch be automatically added 
to the comment in the order? Is this a bug?

-- 
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: Introduce the warehouse synchronization documents need to be updated

2017-08-13 Thread Mingxing Tian


在 2017年8月11日星期五 UTC+8下午3:20:54,RjOllos写道:
>
>
> On Thu, Aug 10, 2017 at 7:11 PM, Mingxing Tian <mx@qq.com 
> > wrote:
>
>>
>>
>> 在 2017年8月10日星期四 UTC+8下午5:50:22,RjOllos写道:
>>>
>>>
>>>
>>> On Thu, Aug 10, 2017 at 2:48 AM, Mingxing Tian <mx@qq.com> wrote:
>>>
>>>> I try to create the file "post-receive" and enter the contents of the 
>>>> given, of course, modify the value of the above two lines of variables. 
>>>> But 
>>>> the result is a failure, this way is not correct. 
>>>>
>>>
>>> We need to know the exact steps you took and the error messages you 
>>> received in order to help you determine what you did incorrectly.
>>>
>>> - Ryan 
>>>
>>
>> My steps:
>>  
>> [root@host105 svnconf]# cd /home/git/repositories/testing.git/hooks/
>> [root@host105 hooks]# touch post-receive
>> [root@host105 hooks]# vim post-receive
>> [root@host105 hooks]# cat post-receive
>> #!/bin/sh
>> tracenv=/home/projects/xxx # change with your Trac environment's path
>> repos=testing   # change with your repository's name
>> while read oldrev newrev refname; do
>> if [ "$oldrev" =  ]; then
>> git rev-list --reverse "$newrev" --
>> else
>> git rev-list --reverse "$newrev" "^$oldrev" --
>> fi | xargs trac-admin "$tracenv" changeset added "$repos"
>> done
>> [root@host105 hooks]#
>>
>>
>>
> It seems your hook may not be executable.
> https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks
>
> "To enable a hook script, put a file in the hooks subdirectory of your 
> .git directory that is named appropriately (without any extension) and is 
> executable."
>
> - Ryan
>
>

You can try to follow the document once, if you can successfully count me 
lose. hahaha... 

-- 
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: Introduce the warehouse synchronization documents need to be updated

2017-08-10 Thread Mingxing Tian


在 2017年8月10日星期四 UTC+8下午5:50:22,RjOllos写道:
>
>
>
> On Thu, Aug 10, 2017 at 2:48 AM, Mingxing Tian <mx@qq.com 
> > wrote:
>
>> I try to create the file "post-receive" and enter the contents of the 
>> given, of course, modify the value of the above two lines of variables. But 
>> the result is a failure, this way is not correct. 
>>
>
> We need to know the exact steps you took and the error messages you 
> received in order to help you determine what you did incorrectly.
>
> - Ryan 
>

My steps:
 
[root@host105 svnconf]# cd /home/git/repositories/testing.git/hooks/
[root@host105 hooks]# touch post-receive
[root@host105 hooks]# vim post-receive
[root@host105 hooks]# cat post-receive
#!/bin/sh
tracenv=/home/projects/xxx # change with your Trac environment's path
repos=testing   # change with your repository's name
while read oldrev newrev refname; do
if [ "$oldrev" =  ]; then
git rev-list --reverse "$newrev" --
else
git rev-list --reverse "$newrev" "^$oldrev" --
fi | xargs trac-admin "$tracenv" changeset added "$repos"
done
[root@host105 hooks]#


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


[Trac] Re: Introduce the warehouse synchronization documents need to be updated

2017-08-10 Thread Mingxing Tian


在 2017年8月10日星期四 UTC+8上午10:49:15,RjOllos写道:
>
>
>
> On Wednesday, August 9, 2017 at 7:09:10 PM UTC-7, Mingxing Tian wrote:
>>
>>
>>
>> 在 2017年8月10日星期四 UTC+8上午4:34:02,RjOllos写道:
>>>
>>>
>>>
>>> On Tuesday, August 8, 2017 at 7:13:13 PM UTC-7, Mingxing Tian wrote:
>>>>
>>>> I follow the following document configuration each time you push to the 
>>>> Git repository, insert a change record to the corresponding task order.
>>>>
>>>> http://trac.idouzi.com/wiki/TracRepositoryAdmin#Git
>>>>
>>>> In my warehouse hooks do not see the "hooks/post-commit" file, only 
>>>> the following files.
>>>>
>>>> [root@host105 hooks]# pwd
>>>> /home/git/repositories/testing.git/hooks
>>>> [root@host105 hooks]# ll
>>>> 总用量 44
>>>> -rwx-- 1 git git  478 8月   2 11:47 applypatch-msg.sample
>>>> -rwx-- 1 git git  896 8月   2 11:47 commit-msg.sample
>>>> -rwx-- 1 git git  189 8月   9 10:04 post-update.sample
>>>> -rwx-- 1 git git  424 8月   2 11:47 pre-applypatch.sample
>>>> -rwx-- 1 git git 1642 8月   2 11:47 pre-commit.sample
>>>> -rwx-- 1 git git 1239 8月   2 11:47 prepare-commit-msg.sample
>>>> -rwx-- 1 git git 1348 8月   2 11:47 pre-push.sample
>>>> -rwx-- 1 git git 4951 8月   2 11:47 pre-rebase.sample
>>>> -rwx-- 1 git git  544 8月   9 10:02 pre-receive.sample
>>>> lrwxrwxrwx 1 git git   39 8月   2 11:47 update -> 
>>>> /home/git/.gitolite/hooks/common/update
>>>> -rwx-- 1 git git 3610 8月   2 11:47 update.sample
>>>> [root@host105 hooks]#
>>>>
>>>>
>>> You'll probably want to use a post-receive hook, as described in:
>>> https://trac.edgewall.org/wiki/TracRepositoryAdmin#Git
>>>
>>> I don't know why the hooks aren't present your repository, but they are 
>>> documented:
>>> https://git-scm.com/docs/githooks#post-receive 
>>>
>>> Maybe the difference has to do with your use of Gitolite?
>>>
>>> $git --version
>>> git version 2.13.3
>>> $git init --bare testing.git
>>> Initialized empty Git repository in ~/testing.git/
>>> $ls -l testing.git/hooks/
>>> total 88
>>> -rwxr-xr-x  1 rjollos  staff   478 Aug  9 13:33 applypatch-msg.sample
>>> -rwxr-xr-x  1 rjollos  staff   896 Aug  9 13:33 commit-msg.sample
>>> -rwxr-xr-x  1 rjollos  staff   189 Aug  9 13:33 post-update.sample
>>> -rwxr-xr-x  1 rjollos  staff   424 Aug  9 13:33 pre-applypatch.sample
>>> -rwxr-xr-x  1 rjollos  staff  1642 Aug  9 13:33 pre-commit.sample
>>> -rwxr-xr-x  1 rjollos  staff  1348 Aug  9 13:33 pre-push.sample
>>> -rwxr-xr-x  1 rjollos  staff  4951 Aug  9 13:33 pre-rebase.sample
>>> -rwxr-xr-x  1 rjollos  staff   544 Aug  9 13:33 pre-receive.sample
>>> -rwxr-xr-x  1 rjollos  staff  1239 Aug  9 13:33 prepare-commit-msg.sample
>>> -rwxr-xr-x  1 rjollos  staff  3610 Aug  9 13:33 update.sample
>>>
>>>
>>> - Ryan
>>>
>>>
>> Sir, I found that you did not list the "post-commit" in the hook, your 
>> structure and I was the same. 
>>
>
> As already stated, you want to use post-receive hook, not post-commit.
>
> - Ryan 
>

 There is no "post-receive" hook, your environment is not, this is the same 
as my situation. But I found "post-update", maybe it could achieve the 
results I wanted. Anyway, your document is up to date.

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


[Trac] Re: Introduce the warehouse synchronization documents need to be updated

2017-08-09 Thread Mingxing Tian


在 2017年8月10日星期四 UTC+8上午4:34:02,RjOllos写道:
>
>
>
> On Tuesday, August 8, 2017 at 7:13:13 PM UTC-7, Mingxing Tian wrote:
>>
>> I follow the following document configuration each time you push to the 
>> Git repository, insert a change record to the corresponding task order.
>>
>> http://trac.idouzi.com/wiki/TracRepositoryAdmin#Git
>>
>> In my warehouse hooks do not see the "hooks/post-commit" file, only the 
>> following files.
>>
>> [root@host105 hooks]# pwd
>> /home/git/repositories/testing.git/hooks
>> [root@host105 hooks]# ll
>> 总用量 44
>> -rwx-- 1 git git  478 8月   2 11:47 applypatch-msg.sample
>> -rwx-- 1 git git  896 8月   2 11:47 commit-msg.sample
>> -rwx-- 1 git git  189 8月   9 10:04 post-update.sample
>> -rwx-- 1 git git  424 8月   2 11:47 pre-applypatch.sample
>> -rwx-- 1 git git 1642 8月   2 11:47 pre-commit.sample
>> -rwx-- 1 git git 1239 8月   2 11:47 prepare-commit-msg.sample
>> -rwx-- 1 git git 1348 8月   2 11:47 pre-push.sample
>> -rwx-- 1 git git 4951 8月   2 11:47 pre-rebase.sample
>> -rwx-- 1 git git  544 8月   9 10:02 pre-receive.sample
>> lrwxrwxrwx 1 git git   39 8月   2 11:47 update -> 
>> /home/git/.gitolite/hooks/common/update
>> -rwx-- 1 git git 3610 8月   2 11:47 update.sample
>> [root@host105 hooks]#
>>
>>
> You'll probably want to use a post-receive hook, as described in:
> https://trac.edgewall.org/wiki/TracRepositoryAdmin#Git
>
> I don't know why the hooks aren't present your repository, but they are 
> documented:
> https://git-scm.com/docs/githooks#post-receive 
>
> Maybe the difference has to do with your use of Gitolite?
>
> $git --version
> git version 2.13.3
> $git init --bare testing.git
> Initialized empty Git repository in ~/testing.git/
> $ls -l testing.git/hooks/
> total 88
> -rwxr-xr-x  1 rjollos  staff   478 Aug  9 13:33 applypatch-msg.sample
> -rwxr-xr-x  1 rjollos  staff   896 Aug  9 13:33 commit-msg.sample
> -rwxr-xr-x  1 rjollos  staff   189 Aug  9 13:33 post-update.sample
> -rwxr-xr-x  1 rjollos  staff   424 Aug  9 13:33 pre-applypatch.sample
> -rwxr-xr-x  1 rjollos  staff  1642 Aug  9 13:33 pre-commit.sample
> -rwxr-xr-x  1 rjollos  staff  1348 Aug  9 13:33 pre-push.sample
> -rwxr-xr-x  1 rjollos  staff  4951 Aug  9 13:33 pre-rebase.sample
> -rwxr-xr-x  1 rjollos  staff   544 Aug  9 13:33 pre-receive.sample
> -rwxr-xr-x  1 rjollos  staff  1239 Aug  9 13:33 prepare-commit-msg.sample
> -rwxr-xr-x  1 rjollos  staff  3610 Aug  9 13:33 update.sample
>
>
> - Ryan
>
>
Sir, I found that you did not list the "post-commit" in the hook, your 
structure and I was the same. 

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


[Trac] Re: Introduce the warehouse synchronization documents need to be updated

2017-08-09 Thread Mingxing Tian


在 2017年8月10日星期四 UTC+8上午4:34:02,RjOllos写道:
>
>
>
> On Tuesday, August 8, 2017 at 7:13:13 PM UTC-7, Mingxing Tian wrote:
>>
>> I follow the following document configuration each time you push to the 
>> Git repository, insert a change record to the corresponding task order.
>>
>> http://trac.idouzi.com/wiki/TracRepositoryAdmin#Git
>>
>> In my warehouse hooks do not see the "hooks/post-commit" file, only the 
>> following files.
>>
>> [root@host105 hooks]# pwd
>> /home/git/repositories/testing.git/hooks
>> [root@host105 hooks]# ll
>> 总用量 44
>> -rwx-- 1 git git  478 8月   2 11:47 applypatch-msg.sample
>> -rwx-- 1 git git  896 8月   2 11:47 commit-msg.sample
>> -rwx-- 1 git git  189 8月   9 10:04 post-update.sample
>> -rwx-- 1 git git  424 8月   2 11:47 pre-applypatch.sample
>> -rwx-- 1 git git 1642 8月   2 11:47 pre-commit.sample
>> -rwx-- 1 git git 1239 8月   2 11:47 prepare-commit-msg.sample
>> -rwx-- 1 git git 1348 8月   2 11:47 pre-push.sample
>> -rwx-- 1 git git 4951 8月   2 11:47 pre-rebase.sample
>> -rwx-- 1 git git  544 8月   9 10:02 pre-receive.sample
>> lrwxrwxrwx 1 git git   39 8月   2 11:47 update -> 
>> /home/git/.gitolite/hooks/common/update
>> -rwx-- 1 git git 3610 8月   2 11:47 update.sample
>> [root@host105 hooks]#
>>
>>
> You'll probably want to use a post-receive hook, as described in:
> https://trac.edgewall.org/wiki/TracRepositoryAdmin#Git
>
> I don't know why the hooks aren't present your repository, but they are 
> documented:
> https://git-scm.com/docs/githooks#post-receive 
>
> Maybe the difference has to do with your use of Gitolite?
>
> $git --version
> git version 2.13.3
> $git init --bare testing.git
> Initialized empty Git repository in ~/testing.git/
> $ls -l testing.git/hooks/
> total 88
> -rwxr-xr-x  1 rjollos  staff   478 Aug  9 13:33 applypatch-msg.sample
> -rwxr-xr-x  1 rjollos  staff   896 Aug  9 13:33 commit-msg.sample
> -rwxr-xr-x  1 rjollos  staff   189 Aug  9 13:33 post-update.sample
> -rwxr-xr-x  1 rjollos  staff   424 Aug  9 13:33 pre-applypatch.sample
> -rwxr-xr-x  1 rjollos  staff  1642 Aug  9 13:33 pre-commit.sample
> -rwxr-xr-x  1 rjollos  staff  1348 Aug  9 13:33 pre-push.sample
> -rwxr-xr-x  1 rjollos  staff  4951 Aug  9 13:33 pre-rebase.sample
> -rwxr-xr-x  1 rjollos  staff   544 Aug  9 13:33 pre-receive.sample
> -rwxr-xr-x  1 rjollos  staff  1239 Aug  9 13:33 prepare-commit-msg.sample
> -rwxr-xr-x  1 rjollos  staff  3610 Aug  9 13:33 update.sample
>
>
> - Ryan
>
>
 I am using Gitolite to manage permissions, it automatically helps me 
create a repository, which defaults only to those I listed above, and I try 
to create a file that does not exist that I want it to work properly.

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


[Trac] Introduce the warehouse synchronization documents need to be updated

2017-08-08 Thread Mingxing Tian
I follow the following document configuration each time you push to the Git 
repository, insert a change record to the corresponding task order.

http://trac.idouzi.com/wiki/TracRepositoryAdmin#Git

In my warehouse hooks do not see the "hooks/post-commit" file, only the 
following files.

[root@host105 hooks]# pwd
/home/git/repositories/testing.git/hooks
[root@host105 hooks]# ll
总用量 44
-rwx-- 1 git git  478 8月   2 11:47 applypatch-msg.sample
-rwx-- 1 git git  896 8月   2 11:47 commit-msg.sample
-rwx-- 1 git git  189 8月   9 10:04 post-update.sample
-rwx-- 1 git git  424 8月   2 11:47 pre-applypatch.sample
-rwx-- 1 git git 1642 8月   2 11:47 pre-commit.sample
-rwx-- 1 git git 1239 8月   2 11:47 prepare-commit-msg.sample
-rwx-- 1 git git 1348 8月   2 11:47 pre-push.sample
-rwx-- 1 git git 4951 8月   2 11:47 pre-rebase.sample
-rwx-- 1 git git  544 8月   9 10:02 pre-receive.sample
lrwxrwxrwx 1 git git   39 8月   2 11:47 update -> 
/home/git/.gitolite/hooks/common/update
-rwx-- 1 git git 3610 8月   2 11:47 update.sample
[root@host105 hooks]#


-- 
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] How does the non-local GIT repository be added to the source browser

2017-08-08 Thread Mingxing Tian


在 2017年8月8日星期二 UTC+8下午12:22:45,Jun Omae写道:
>
> On Tue, Aug 8, 2017 at 11:52 AM, Mingxing Tian <mx@qq.com 
> > wrote: 
> > This is the log information I see: 
> > 
> > 2017-08-08 10:49:17,339 Trac[PyGIT] ERROR: GIT control files missing in 
> '/home/git/repositories/testing.git' 
> > 2017-08-08 10:49:17,339 Trac[git_fs] ERROR: GitError: GIT control files 
> not found, maybe wrong directory? 
>
> Please make sure that your web server can access the git repository. 
>
> e.g. 
>
> $ (cd / && sudo -u www-data git 
> --git-dir=/home/git/repositories/testing.git fsck) 
>
> -- 
> Jun Omae <jun...@gmail.com > (大前 潤) 
>

Yes, this is really a matter of competence, and I hope to get more specific 
tips, let me know that this is caused by the authority.
Thank you very much, it's working right now. 

-- 
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] How does the non-local GIT repository be added to the source browser

2017-08-07 Thread Mingxing Tian


在 2017年8月8日星期二 UTC+8上午4:05:01,RjOllos写道:
>
>
>
> On Monday, August 7, 2017 at 1:29:48 AM UTC-7, Mingxing Tian wrote:
>>
>>
>>
>> 在 2017年8月4日星期五 UTC+8下午3:16:19,RjOllos写道:
>>>
>>>
>>>
>>> On Thursday, August 3, 2017 at 8:32:40 PM UTC-7, Mingxing Tian wrote:
>>>>
>>>>
>>>>
>>>> 在 2017年8月4日星期五 UTC+8上午10:24:47,RjOllos写道:
>>>>>
>>>>>
>>>>> On Thu, Aug 3, 2017 at 7:15 PM, Mingxing Tian <mx@qq.com> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> 在 2017年8月4日星期五 UTC+8上午4:25:25,RjOllos写道:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Thursday, August 3, 2017 at 2:58:01 AM UTC-7, Mingxing Tian wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> 在 2017年8月3日星期四 UTC+8下午3:34:00,RjOllos写道:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Wednesday, August 2, 2017 at 7:13:36 PM UTC-7, Mingxing Tian 
>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> 在 2017年8月3日星期四 UTC+8上午12:15:10,RjOllos写道:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Wed, Aug 2, 2017 at 1:31 AM, Mingxing Tian <mx@qq.com> 
>>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> I use gitolite to manage the Git repository, which 
>>>>>>>>>>>> automatically creates the results as follows:
>>>>>>>>>>>>
>>>>>>>>>>>> [root@host105 testing.git]# ll
>>>>>>>>>>>> 总用量 32
>>>>>>>>>>>> drwx--  2 git git 4096 8月   2 11:47 branches
>>>>>>>>>>>> -rw---  1 git git   66 8月   2 11:47 config
>>>>>>>>>>>> -rw---  1 git git0 8月   2 15:31 git-daemon-export-ok
>>>>>>>>>>>> -rw---  1 git git  120 8月   2 15:31 gl-conf
>>>>>>>>>>>> -rw---  1 git git   23 8月   2 11:47 HEAD
>>>>>>>>>>>> drwx--  2 git git 4096 8月   2 11:47 hooks
>>>>>>>>>>>> drwx--  2 git git 4096 8月   2 11:47 info
>>>>>>>>>>>> drwx-- 14 git git 4096 8月   2 15:52 objects
>>>>>>>>>>>> drwx--  4 git git 4096 8月   2 11:47 refs
>>>>>>>>>>>>
>>>>>>>>>>>> I added it to the repository and could not find it, it did not 
>>>>>>>>>>>> work properly.
>>>>>>>>>>>>
>>>>>>>>>>>> And then I see such a sentence in the document, we must convert 
>>>>>>>>>>>> into a warehouse can be identified.
>>>>>>>>>>>>
>>>>>>>>>>>> Note that the repository should be made accessible as a local 
>>>>>>>>>>>> repository. Thanks to the distributed nature of Git, that's always 
>>>>>>>>>>>> possible. If the repository is not already local, simply git 
>>>>>>>>>>>> clone it.
>>>>>>>>>>>>
>>>>>>>>>>>> I tried to find this method is feasible, but this way need to 
>>>>>>>>>>>> keep the manual check whether the warehouse update, even if you 
>>>>>>>>>>>> can write a 
>>>>>>>>>>>> script to do, I think it is troublesome.
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> If your Git repositories are on a different computer than your 
>>>>>>>>>>> Trac instance, then you must create a clone that is local to your 
>>>>>>>>>>> Trac 
>>>>>>>>>>> instance. Is GitoLite running on a different computer?
>>>>>>>>>>>
>

Re: [Trac] How does the non-local GIT repository be added to the source browser

2017-08-07 Thread Mingxing Tian


在 2017年8月4日星期五 UTC+8下午3:16:19,RjOllos写道:
>
>
>
> On Thursday, August 3, 2017 at 8:32:40 PM UTC-7, Mingxing Tian wrote:
>>
>>
>>
>> 在 2017年8月4日星期五 UTC+8上午10:24:47,RjOllos写道:
>>>
>>>
>>> On Thu, Aug 3, 2017 at 7:15 PM, Mingxing Tian <mx@qq.com> wrote:
>>>
>>>>
>>>>
>>>> 在 2017年8月4日星期五 UTC+8上午4:25:25,RjOllos写道:
>>>>
>>>>>
>>>>>
>>>>> On Thursday, August 3, 2017 at 2:58:01 AM UTC-7, Mingxing Tian wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>> 在 2017年8月3日星期四 UTC+8下午3:34:00,RjOllos写道:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Wednesday, August 2, 2017 at 7:13:36 PM UTC-7, Mingxing Tian 
>>>>>>> wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> 在 2017年8月3日星期四 UTC+8上午12:15:10,RjOllos写道:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Wed, Aug 2, 2017 at 1:31 AM, Mingxing Tian <mx@qq.com> 
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> I use gitolite to manage the Git repository, which automatically 
>>>>>>>>>> creates the results as follows:
>>>>>>>>>>
>>>>>>>>>> [root@host105 testing.git]# ll
>>>>>>>>>> 总用量 32
>>>>>>>>>> drwx--  2 git git 4096 8月   2 11:47 branches
>>>>>>>>>> -rw---  1 git git   66 8月   2 11:47 config
>>>>>>>>>> -rw---  1 git git0 8月   2 15:31 git-daemon-export-ok
>>>>>>>>>> -rw---  1 git git  120 8月   2 15:31 gl-conf
>>>>>>>>>> -rw---  1 git git   23 8月   2 11:47 HEAD
>>>>>>>>>> drwx--  2 git git 4096 8月   2 11:47 hooks
>>>>>>>>>> drwx--  2 git git 4096 8月   2 11:47 info
>>>>>>>>>> drwx-- 14 git git 4096 8月   2 15:52 objects
>>>>>>>>>> drwx--  4 git git 4096 8月   2 11:47 refs
>>>>>>>>>>
>>>>>>>>>> I added it to the repository and could not find it, it did not 
>>>>>>>>>> work properly.
>>>>>>>>>>
>>>>>>>>>> And then I see such a sentence in the document, we must convert 
>>>>>>>>>> into a warehouse can be identified.
>>>>>>>>>>
>>>>>>>>>> Note that the repository should be made accessible as a local 
>>>>>>>>>> repository. Thanks to the distributed nature of Git, that's always 
>>>>>>>>>> possible. If the repository is not already local, simply git 
>>>>>>>>>> clone it.
>>>>>>>>>>
>>>>>>>>>> I tried to find this method is feasible, but this way need to 
>>>>>>>>>> keep the manual check whether the warehouse update, even if you can 
>>>>>>>>>> write a 
>>>>>>>>>> script to do, I think it is troublesome.
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> If your Git repositories are on a different computer than your 
>>>>>>>>> Trac instance, then you must create a clone that is local to your 
>>>>>>>>> Trac 
>>>>>>>>> instance. Is GitoLite running on a different computer?
>>>>>>>>>
>>>>>>>>> To update the clone that is local to your Trac instance you must 
>>>>>>>>> use a notification mechanism. For example, trac-github uses GitHub's 
>>>>>>>>> webhook to notify Trac to update the local clone.
>>>>>>>>> https://github.com/trac-hacks/trac-github
>>>>>>>>>
>>>>>>>>> - Ryan 
>>>>>>>>>
>>>>>>>>>
>>>>>>>> I use gitolite to build Git server, it and Trac service in the same 
>>>>>>>> machine above. Is it appropriate to use the trac-github plugin in this 
>>>>&

Re: [Trac] How does the non-local GIT repository be added to the source browser

2017-08-03 Thread Mingxing Tian


在 2017年8月4日星期五 UTC+8上午10:24:47,RjOllos写道:
>
>
> On Thu, Aug 3, 2017 at 7:15 PM, Mingxing Tian <mx@qq.com 
> > wrote:
>
>>
>>
>> 在 2017年8月4日星期五 UTC+8上午4:25:25,RjOllos写道:
>>
>>>
>>>
>>> On Thursday, August 3, 2017 at 2:58:01 AM UTC-7, Mingxing Tian wrote:
>>>>
>>>>
>>>>
>>>> 在 2017年8月3日星期四 UTC+8下午3:34:00,RjOllos写道:
>>>>>
>>>>>
>>>>>
>>>>> On Wednesday, August 2, 2017 at 7:13:36 PM UTC-7, Mingxing Tian wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>> 在 2017年8月3日星期四 UTC+8上午12:15:10,RjOllos写道:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Aug 2, 2017 at 1:31 AM, Mingxing Tian <mx@qq.com> wrote:
>>>>>>>
>>>>>>>> I use gitolite to manage the Git repository, which automatically 
>>>>>>>> creates the results as follows:
>>>>>>>>
>>>>>>>> [root@host105 testing.git]# ll
>>>>>>>> 总用量 32
>>>>>>>> drwx--  2 git git 4096 8月   2 11:47 branches
>>>>>>>> -rw---  1 git git   66 8月   2 11:47 config
>>>>>>>> -rw---  1 git git0 8月   2 15:31 git-daemon-export-ok
>>>>>>>> -rw---  1 git git  120 8月   2 15:31 gl-conf
>>>>>>>> -rw---  1 git git   23 8月   2 11:47 HEAD
>>>>>>>> drwx--  2 git git 4096 8月   2 11:47 hooks
>>>>>>>> drwx--  2 git git 4096 8月   2 11:47 info
>>>>>>>> drwx-- 14 git git 4096 8月   2 15:52 objects
>>>>>>>> drwx--  4 git git 4096 8月   2 11:47 refs
>>>>>>>>
>>>>>>>> I added it to the repository and could not find it, it did not work 
>>>>>>>> properly.
>>>>>>>>
>>>>>>>> And then I see such a sentence in the document, we must convert 
>>>>>>>> into a warehouse can be identified.
>>>>>>>>
>>>>>>>> Note that the repository should be made accessible as a local 
>>>>>>>> repository. Thanks to the distributed nature of Git, that's always 
>>>>>>>> possible. If the repository is not already local, simply git clone
>>>>>>>>  it.
>>>>>>>>
>>>>>>>> I tried to find this method is feasible, but this way need to keep 
>>>>>>>> the manual check whether the warehouse update, even if you can write a 
>>>>>>>> script to do, I think it is troublesome.
>>>>>>>>
>>>>>>>
>>>>>>> If your Git repositories are on a different computer than your Trac 
>>>>>>> instance, then you must create a clone that is local to your Trac 
>>>>>>> instance. 
>>>>>>> Is GitoLite running on a different computer?
>>>>>>>
>>>>>>> To update the clone that is local to your Trac instance you must use 
>>>>>>> a notification mechanism. For example, trac-github uses GitHub's 
>>>>>>> webhook to 
>>>>>>> notify Trac to update the local clone.
>>>>>>> https://github.com/trac-hacks/trac-github
>>>>>>>
>>>>>>> - Ryan 
>>>>>>>
>>>>>>>
>>>>>> I use gitolite to build Git server, it and Trac service in the same 
>>>>>> machine above. Is it appropriate to use the trac-github plugin in this 
>>>>>> case?
>>>>>>
>>>>>
>>>>> If Trac and Gitolite are on the same server, you don't need to do 
>>>>> anything special to make the repositories available to Trac. Just use an 
>>>>> absolute path in the repository path argument. The repositories don't 
>>>>> need 
>>>>> to be inside the Environment.
>>>>>
>>>>> - Ryan 
>>>>>
>>>>>>  
>>>>>>
>>>>>
>>>>
>>>> But Trac does not recognize a purely storage type of warehouse, it can 
>>>> only identify the code structure of the warehouse.
>>>>
>>>
>>> That's incorrect, as noted in my other reply. Trac can read a bare 

Re: [Trac] How does the non-local GIT repository be added to the source browser

2017-08-03 Thread Mingxing Tian


在 2017年8月3日星期四 UTC+8下午6:42:54,Jun Omae写道:
>
> On Thu, Aug 3, 2017 at 6:58 PM, Mingxing Tian <mx@qq.com > 
> wrote: 
> > But Trac does not recognize a purely storage type of warehouse, it can 
> only 
> > identify the code structure of the warehouse. 
>
> You should share what you tried via trac-admin or git command and 
> messages which you've gotten if you want to get advice here. 
>
> -- 
> Jun Omae <jun...@gmail.com > (大前 潤) 
>

I record the operation process, I hope you also received the message, to 
see my reply. 

-- 
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] How does the non-local GIT repository be added to the source browser

2017-08-03 Thread Mingxing Tian


在 2017年8月4日星期五 UTC+8上午4:25:25,RjOllos写道:
>
>
>
> On Thursday, August 3, 2017 at 2:58:01 AM UTC-7, Mingxing Tian wrote:
>>
>>
>>
>> 在 2017年8月3日星期四 UTC+8下午3:34:00,RjOllos写道:
>>>
>>>
>>>
>>> On Wednesday, August 2, 2017 at 7:13:36 PM UTC-7, Mingxing Tian wrote:
>>>>
>>>>
>>>>
>>>> 在 2017年8月3日星期四 UTC+8上午12:15:10,RjOllos写道:
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Aug 2, 2017 at 1:31 AM, Mingxing Tian <mx@qq.com> wrote:
>>>>>
>>>>>> I use gitolite to manage the Git repository, which automatically 
>>>>>> creates the results as follows:
>>>>>>
>>>>>> [root@host105 testing.git]# ll
>>>>>> 总用量 32
>>>>>> drwx--  2 git git 4096 8月   2 11:47 branches
>>>>>> -rw---  1 git git   66 8月   2 11:47 config
>>>>>> -rw---  1 git git0 8月   2 15:31 git-daemon-export-ok
>>>>>> -rw---  1 git git  120 8月   2 15:31 gl-conf
>>>>>> -rw---  1 git git   23 8月   2 11:47 HEAD
>>>>>> drwx--  2 git git 4096 8月   2 11:47 hooks
>>>>>> drwx--  2 git git 4096 8月   2 11:47 info
>>>>>> drwx-- 14 git git 4096 8月   2 15:52 objects
>>>>>> drwx--  4 git git 4096 8月   2 11:47 refs
>>>>>>
>>>>>> I added it to the repository and could not find it, it did not work 
>>>>>> properly.
>>>>>>
>>>>>> And then I see such a sentence in the document, we must convert into 
>>>>>> a warehouse can be identified.
>>>>>>
>>>>>> Note that the repository should be made accessible as a local 
>>>>>> repository. Thanks to the distributed nature of Git, that's always 
>>>>>> possible. If the repository is not already local, simply git clone
>>>>>>  it.
>>>>>>
>>>>>> I tried to find this method is feasible, but this way need to keep 
>>>>>> the manual check whether the warehouse update, even if you can write a 
>>>>>> script to do, I think it is troublesome.
>>>>>>
>>>>>
>>>>> If your Git repositories are on a different computer than your Trac 
>>>>> instance, then you must create a clone that is local to your Trac 
>>>>> instance. 
>>>>> Is GitoLite running on a different computer?
>>>>>
>>>>> To update the clone that is local to your Trac instance you must use a 
>>>>> notification mechanism. For example, trac-github uses GitHub's webhook to 
>>>>> notify Trac to update the local clone.
>>>>> https://github.com/trac-hacks/trac-github
>>>>>
>>>>> - Ryan 
>>>>>
>>>>>
>>>> I use gitolite to build Git server, it and Trac service in the same 
>>>> machine above. Is it appropriate to use the trac-github plugin in this 
>>>> case?
>>>>
>>>
>>> If Trac and Gitolite are on the same server, you don't need to do 
>>> anything special to make the repositories available to Trac. Just use an 
>>> absolute path in the repository path argument. The repositories don't need 
>>> to be inside the Environment.
>>>
>>> - Ryan 
>>>
>>>>  
>>>>
>>>
>>
>> But Trac does not recognize a purely storage type of warehouse, it can 
>> only identify the code structure of the warehouse.
>>
>
> That's incorrect, as noted in my other reply. Trac can read a bare 
> repository or one with a working tree.
>  
>
>> Since the repository is created automatically, the conversion to the 
>> command line operation should be "git init --bare". 
>>
>
The deployment on the server has been completed, I successfully cloned on 
my computer, so the deployment of Git service is successful.

[root@host105 git]# pwd
/home/git
[root@host105 git]# ll
总用量 20
drwxrwxr-x 2 git git 4096 8月   2 11:47 bin
drwxrwxr-x 6 git git 4096 8月   2 11:47 gitolite
-rw-rw-r-- 1 git git  151 8月   1 18:04 node.txt
-rw--- 1 git git   12 8月   2 15:31 projects.list
drwx-- 4 git git 4096 8月   2 11:47 repositories

The full path to the Trac repository management 
is:/home/git/repositories/testing.git

[root@host105 git]# ll repositories/
总用量 8
drwx-- 8 git git 4096 8月   2 15:31 gitolite-admin.git
drwx-- 7 git git 4096 8月   2 15:52 testing.git

But I get an error message: InvalidRepository: 
/home/git/repositories/testing.git does not appear to be a Git repository.

<https://lh3.googleusercontent.com/-9yWl_hjrgGs/WYPYwDcqrxI/AMo/Fw6Shed-FucCOGxurZS-zPAf_-zm32ElQCLcBGAs/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20170804101334.png>

<https://lh3.googleusercontent.com/-JcCePHeq9xM/WYPYyQqEBII/AMs/EXdnPZa7tvkWEisC5TGLLWFYSyKZfYn8gCLcBGAs/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20170804101428.png>

 

-- 
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] How does the non-local GIT repository be added to the source browser

2017-08-03 Thread Mingxing Tian


在 2017年8月3日星期四 UTC+8下午3:34:00,RjOllos写道:
>
>
>
> On Wednesday, August 2, 2017 at 7:13:36 PM UTC-7, Mingxing Tian wrote:
>>
>>
>>
>> 在 2017年8月3日星期四 UTC+8上午12:15:10,RjOllos写道:
>>>
>>>
>>>
>>> On Wed, Aug 2, 2017 at 1:31 AM, Mingxing Tian <mx@qq.com> wrote:
>>>
>>>> I use gitolite to manage the Git repository, which automatically 
>>>> creates the results as follows:
>>>>
>>>> [root@host105 testing.git]# ll
>>>> 总用量 32
>>>> drwx--  2 git git 4096 8月   2 11:47 branches
>>>> -rw---  1 git git   66 8月   2 11:47 config
>>>> -rw---  1 git git0 8月   2 15:31 git-daemon-export-ok
>>>> -rw---  1 git git  120 8月   2 15:31 gl-conf
>>>> -rw---  1 git git   23 8月   2 11:47 HEAD
>>>> drwx--  2 git git 4096 8月   2 11:47 hooks
>>>> drwx--  2 git git 4096 8月   2 11:47 info
>>>> drwx-- 14 git git 4096 8月   2 15:52 objects
>>>> drwx--  4 git git 4096 8月   2 11:47 refs
>>>>
>>>> I added it to the repository and could not find it, it did not work 
>>>> properly.
>>>>
>>>> And then I see such a sentence in the document, we must convert into a 
>>>> warehouse can be identified.
>>>>
>>>> Note that the repository should be made accessible as a local 
>>>> repository. Thanks to the distributed nature of Git, that's always 
>>>> possible. If the repository is not already local, simply git clone it.
>>>>
>>>> I tried to find this method is feasible, but this way need to keep the 
>>>> manual check whether the warehouse update, even if you can write a script 
>>>> to do, I think it is troublesome.
>>>>
>>>
>>> If your Git repositories are on a different computer than your Trac 
>>> instance, then you must create a clone that is local to your Trac instance. 
>>> Is GitoLite running on a different computer?
>>>
>>> To update the clone that is local to your Trac instance you must use a 
>>> notification mechanism. For example, trac-github uses GitHub's webhook to 
>>> notify Trac to update the local clone.
>>> https://github.com/trac-hacks/trac-github
>>>
>>> - Ryan 
>>>
>>>
>> I use gitolite to build Git server, it and Trac service in the same 
>> machine above. Is it appropriate to use the trac-github plugin in this case?
>>
>
> If Trac and Gitolite are on the same server, you don't need to do anything 
> special to make the repositories available to Trac. Just use an absolute 
> path in the repository path argument. The repositories don't need to be 
> inside the Environment.
>
> - Ryan 
>
>>  
>>
>

But Trac does not recognize a purely storage type of warehouse, it can only 
identify the code structure of the warehouse.
Since the repository is created automatically, the conversion to the 
command line operation should be "git init --bare". 

-- 
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] How does the non-local GIT repository be added to the source browser

2017-08-02 Thread Mingxing Tian


在 2017年8月3日星期四 UTC+8上午12:15:10,RjOllos写道:
>
>
>
> On Wed, Aug 2, 2017 at 1:31 AM, Mingxing Tian <mx@qq.com 
> > wrote:
>
>> I use gitolite to manage the Git repository, which automatically creates 
>> the results as follows:
>>
>> [root@host105 testing.git]# ll
>> 总用量 32
>> drwx--  2 git git 4096 8月   2 11:47 branches
>> -rw---  1 git git   66 8月   2 11:47 config
>> -rw---  1 git git0 8月   2 15:31 git-daemon-export-ok
>> -rw---  1 git git  120 8月   2 15:31 gl-conf
>> -rw---  1 git git   23 8月   2 11:47 HEAD
>> drwx--  2 git git 4096 8月   2 11:47 hooks
>> drwx--  2 git git 4096 8月   2 11:47 info
>> drwx-- 14 git git 4096 8月   2 15:52 objects
>> drwx--  4 git git 4096 8月   2 11:47 refs
>>
>> I added it to the repository and could not find it, it did not work 
>> properly.
>>
>> And then I see such a sentence in the document, we must convert into a 
>> warehouse can be identified.
>>
>> Note that the repository should be made accessible as a local repository. 
>> Thanks to the distributed nature of Git, that's always possible. If the 
>> repository is not already local, simply git clone it.
>>
>> I tried to find this method is feasible, but this way need to keep the 
>> manual check whether the warehouse update, even if you can write a script 
>> to do, I think it is troublesome.
>>
>
> If your Git repositories are on a different computer than your Trac 
> instance, then you must create a clone that is local to your Trac instance. 
> Is GitoLite running on a different computer?
>
> To update the clone that is local to your Trac instance you must use a 
> notification mechanism. For example, trac-github uses GitHub's webhook to 
> notify Trac to update the local clone.
> https://github.com/trac-hacks/trac-github
>
> - Ryan 
>
>
I use gitolite to build Git server, it and Trac service in the same machine 
above. Is it appropriate to use the trac-github plugin in this case?
 

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


[Trac] How does the non-local GIT repository be added to the source browser

2017-08-02 Thread Mingxing Tian
I use gitolite to manage the Git repository, which automatically creates 
the results as follows:

[root@host105 testing.git]# ll
总用量 32
drwx--  2 git git 4096 8月   2 11:47 branches
-rw---  1 git git   66 8月   2 11:47 config
-rw---  1 git git0 8月   2 15:31 git-daemon-export-ok
-rw---  1 git git  120 8月   2 15:31 gl-conf
-rw---  1 git git   23 8月   2 11:47 HEAD
drwx--  2 git git 4096 8月   2 11:47 hooks
drwx--  2 git git 4096 8月   2 11:47 info
drwx-- 14 git git 4096 8月   2 15:52 objects
drwx--  4 git git 4096 8月   2 11:47 refs

I added it to the repository and could not find it, it did not work 
properly.

And then I see such a sentence in the document, we must convert into a 
warehouse can be identified.

Note that the repository should be made accessible as a local repository. 
Thanks to the distributed nature of Git, that's always possible. If the 
repository is not already local, simply git clone it.

I tried to find this method is feasible, but this way need to keep the 
manual check whether the warehouse update, even if you can write a script 
to do, I think it is troublesome.

-- 
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: “TracTicketTemplatePlugin”HTTPNotFound: 404 Not Found

2017-05-21 Thread Mingxing Tian


在 2017年5月21日星期日 UTC+8上午8:29:44,RjOllos写道:
>
>
>
> On Thursday, May 18, 2017 at 2:27:14 AM UTC-7, Mingxing Tian wrote:
>
>>
>> I sent you an error page screenshot, and when I click the Apply Change 
>> button, it appears this error.
>>
>>
>> <https://lh3.googleusercontent.com/-SiA4XbSzUSM/WR1ooDZACWI/AME/iyDVwNl2YJcUiwGzz6ajxXEBVAMcRWU2wCLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20170518172338.png>
>>
>
>
> What is the path when the error is seen?
>
> I tried to reproduce using Chinese characters copied from this email:
> - made a Ticket Type using the characters
> - "Load" the template for that ticket type
> - added some characters to the template and "Apply Changes"
>
> Do you see anything we are doing differently? See 4 screen captures below.
>
> - Ryan
>
>
>
>
>  
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> [END OF MESSAGE]
>
>
>
>
>
>
May be caused by some of the reasons for the environment, the problem in my 
reproduction here failed. This is really a strange thing. 

-- 
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: “TracTicketTemplatePlugin”HTTPNotFound: 404 Not Found

2017-05-18 Thread Mingxing Tian


在 2017年5月18日星期四 UTC+8上午10:29:02,RjOllos写道:
>
>
>
> On Wed, May 17, 2017 at 7:23 PM Mingxing Tian <mx@qq.com > 
> wrote:
>
>>
>>
>> 在 2017年5月18日星期四 UTC+8上午1:12:16,RjOllos写道:
>>
>>>
>>>
>>> On Wednesday, May 17, 2017 at 3:11:05 AM UTC-7, Mingxing Tian wrote:
>>>>
>>>> I installed a new plugin "TracTicketTemplatePlugin" and did not make an 
>>>> error when saving the contents of the task template.
>>>>
>>>>
>>>> <https://lh3.googleusercontent.com/-Q4RqQAFRpv0/WRwhKnDUasI/ALo/C-MQQs75zdMQvKrfCTyMs4NubU1YL6LxgCLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20170517180747.png>
>>>>
>>>>
>>>> 2017-05-17 18:03:57,294 Trac[main] WARNING: [192.168.1.105] 
>>>> HTTPNotFound: 404 Not Found (未知管理面板)
>>>>
>>>>
>>>> This problem caused me to save the data
>>>>
>>>>
>>>>
>>>> Package版本
>>>> Trac 1.2
>>>> Babel 0.9.4
>>>> Genshi 0.7 (without speedups)
>>>> GIT 1.7.1
>>>> mod_wsgi 3.2 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
>>>> MySQL server: "5.5.49-log", client: "5.1.73", thread-safe: 1
>>>> MySQLdb 1.2.3c1
>>>> Pygments 2.1.3
>>>> Python 2.6.6 (r266:84292, Jul 23 2015, 15:22:56) [GCC 4.4.7 20120313 (
>>>> Red Hat 4.4.7-11)]
>>>> pytz 2016.4
>>>> setuptools 30.2.0
>>>> Subversion 1.6.11 (r934486)
>>>> Textile 2.3.6
>>>> jQuery 1.11.3
>>>> jQuery UI 1.11.4
>>>> jQuery Timepicker 1.5.5
>>>>
>>>
>>>
>>> I'm unsure of the problem. Is the error seen on the 
>>> /admin/ticket/tickettemplate page?
>>>
>>> The plugin works well in my testing with Trac 1.2-stable. Are you 
>>> running version 1.0dev of the plugin?
>>>
>>> - Ryan
>>>  
>>>
>>
>>
>>
>>  I use the latest version: "tractickettemplateplugin/1.0",In addition, I 
>> use Chinese, for the handling of Asian characters, is it support?
>>
>
> I tested with Chinese translation and some random Chinese characters for 
> the ticket type, which seemed to work. If it doesn't work for you, could 
> you please send a screen capture of the error?
>
> - Ryan
>


I sent you an error page screenshot, and when I click the Apply Change 
button, it appears this error.

<https://lh3.googleusercontent.com/-SiA4XbSzUSM/WR1ooDZACWI/AME/iyDVwNl2YJcUiwGzz6ajxXEBVAMcRWU2wCLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20170518172338.png>
 

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


[Trac] Re: “TracTicketTemplatePlugin”HTTPNotFound: 404 Not Found

2017-05-17 Thread Mingxing Tian


在 2017年5月18日星期四 UTC+8上午1:12:16,RjOllos写道:
>
>
>
> On Wednesday, May 17, 2017 at 3:11:05 AM UTC-7, Mingxing Tian wrote:
>>
>> I installed a new plugin "TracTicketTemplatePlugin" and did not make an 
>> error when saving the contents of the task template.
>>
>>
>> <https://lh3.googleusercontent.com/-Q4RqQAFRpv0/WRwhKnDUasI/ALo/C-MQQs75zdMQvKrfCTyMs4NubU1YL6LxgCLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20170517180747.png>
>>
>>
>> 2017-05-17 18:03:57,294 Trac[main] WARNING: [192.168.1.105] HTTPNotFound: 
>> 404 Not Found (未知管理面板)
>>
>>
>> This problem caused me to save the data
>>
>>
>>
>> Package版本
>> Trac 1.2
>> Babel 0.9.4
>> Genshi 0.7 (without speedups)
>> GIT 1.7.1
>> mod_wsgi 3.2 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
>> MySQL server: "5.5.49-log", client: "5.1.73", thread-safe: 1
>> MySQLdb 1.2.3c1
>> Pygments 2.1.3
>> Python 2.6.6 (r266:84292, Jul 23 2015, 15:22:56) [GCC 4.4.7 20120313 (Red 
>> Hat 4.4.7-11)]
>> pytz 2016.4
>> setuptools 30.2.0
>> Subversion 1.6.11 (r934486)
>> Textile 2.3.6
>> jQuery 1.11.3
>> jQuery UI 1.11.4
>> jQuery Timepicker 1.5.5
>>
>
>
> I'm unsure of the problem. Is the error seen on the 
> /admin/ticket/tickettemplate page?
>
> The plugin works well in my testing with Trac 1.2-stable. Are you running 
> version 1.0dev of the plugin?
>
> - Ryan
>  
>



 I use the latest version: "tractickettemplateplugin/1.0",In addition, I 
use Chinese, for the handling of Asian characters, is it support?

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


[Trac] “TracTicketTemplatePlugin”HTTPNotFound: 404 Not Found

2017-05-17 Thread Mingxing Tian
I installed a new plugin "TracTicketTemplatePlugin" and did not make an 
error when saving the contents of the task template.




2017-05-17 18:03:57,294 Trac[main] WARNING: [192.168.1.105] HTTPNotFound: 
404 Not Found (未知管理面板)


This problem caused me to save the data



Package版本
Trac 1.2
Babel 0.9.4
Genshi 0.7 (without speedups)
GIT 1.7.1
mod_wsgi 3.2 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
MySQL server: "5.5.49-log", client: "5.1.73", thread-safe: 1
MySQLdb 1.2.3c1
Pygments 2.1.3
Python 2.6.6 (r266:84292, Jul 23 2015, 15:22:56) [GCC 4.4.7 20120313 (Red 
Hat 4.4.7-11)]
pytz 2016.4
setuptools 30.2.0
Subversion 1.6.11 (r934486)
Textile 2.3.6
jQuery 1.11.3
jQuery UI 1.11.4
jQuery Timepicker 1.5.5


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


[Trac] Where is the list of assignments assigned to someone else?

2017-03-29 Thread Mingxing Tian
I found that when assigning a task, there were duplicate people in the 
selected person, the two were just a little different, but they were the 
same person, and I felt that he might have changed his name or had other 
accounts. I would like to re-refresh the list, what should I do?

-- 
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] trac-code-comments-plugin:Uncaught ReferenceError: id is not defined

2017-03-25 Thread Mingxing Tian


在 2017年3月25日星期六 UTC+8下午2:29:48,RjOllos写道:
>
> From: Mingxing Tian
> Sent: Friday, March 24, 23:17
> Subject: [Trac] trac-code-comments-plugin:Uncaught ReferenceError: id is 
> not defined
> To: Trac Users
>
> I think it is javascript, please help fix it as soon as possible.
>
> Where is the source code for that plugin? Please give a URL.
>
> -Ryan
>

github:`https://github.com/Automattic/trac-code-comments-plugin`

This plugin is very important to me because our team needs to record the 
results of the review when doing the code review. This plugin may make the 
record change easier. To tell the truth, I have discussed the way to create 
a new order and record the problem. Kind of way a bit old fashioned

 

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


[Trac] trac-code-comments-plugin:Uncaught ReferenceError: id is not defined

2017-03-25 Thread Mingxing Tian



I think it is javascript, please help fix it as soon as possible.

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


[Trac] Using the plugin "ticketcalendarplugin" to generate an internal error when I visit the page

2017-03-14 Thread Mingxing Tian
Using the plugin "ticketcalendarplugin" to generate an internal error when 
I visit the page:

2017-03-15 11:36:23,666 Trac[main] ERROR: Internal Server Error: 
, referrer 
'http://trac.xxx.cn/admin'
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 253, in 
dispatch
resp = chosen_handler.process_request(req)
  File "build/bdist.linux-x86_64/egg/ticketcalendar/web_ui.py", line 765, 
in process_request
data = calendar.template_data(req, query)
  File "build/bdist.linux-x86_64/egg/ticketcalendar/web_ui.py", line 296, 
in template_data
tickets = query.execute(req, db)
  File "/usr/lib/python2.6/site-packages/trac/ticket/query.py", line 295, 
in execute
sql, args = self.get_sql(req, cached_ids, authname, tzinfo, locale)
  File "/usr/lib/python2.6/site-packages/trac/ticket/query.py", line 639, 
in get_sql
(','.join(str(id) for id in cached_ids)))
TypeError: 'ConnectionWrapper' object is not iterable



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


[Trac] How can I write nestable tables?

2017-02-06 Thread Mingxing Tian
When I use the following methods, can not complete the requirements, they 
can not achieve the form of nesting.

||=xx=||=xx=||
|| || ||

{{{#table
}}}

I hope to achieve the final results, what programs can make the following 
table?

No. Module Sub-module Functional operation Functional characteristics Hours 
Owne 
1 xx xx xxx Functional characteristics Hours Owne 4 all 
xxx 1 allen 
xxx 2 kitten 
xxx 1 apple 
2 xx xx xxx Functional characteristics Hours Owne 8 allen 
xxx 3 allen 
xxx 5 allen 

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


[Trac] Re: Can a user be specified in the evaluation?

2016-12-25 Thread Mingxing Tian


在 2016年12月25日星期日 UTC+8下午3:57:37,RjOllos写道:
>
>
>
> On Wednesday, December 21, 2016 at 6:21:20 PM UTC-8, Mingxing Tian wrote:
>>
>>
>>
>> 在 2016年12月21日星期三 UTC+8下午11:57:25,RjOllos写道:
>>>
>>> On Monday, December 19, 2016 at 7:37:34 PM UTC-8, Mingxing Tian wrote:
>>>>
>>>> If I published a comment in the current task list, could you remind me 
>>>> of a specified user query, I hope he can receive the email notification. 
>>>> This user is anyone else except other CC and master the.
>>>>
>>>> example:
>>>> @Allen, I think you need to check this question.
>>>>
>>>
>>> It sounds like you are looking for something like trac-mentions:
>>> https://github.com/trac-hacks/trac-mentions
>>>
>>> - Ryan
>>>  
>>>
>>
>> I got a lot of warnings after installation and there seemed to be 
>> something wrong!
>>
>> 2016-12-22 10:19:52,164 Trac[web_ui] WARNING: MentionsModule can't work 
>> because of missing configuration
>> 2016-12-22 10:19:52,333 Trac[web_ui] WARNING:
>>
>> Entered pre_process_request
>>
>>
>> 2016-12-22 10:19:52,333 Trac[web_ui] WARNING:
>> req.args: {}
>>
>> 2016-12-22 10:19:52,575 Trac[web_ui] WARNING:
>>
>> Entered pre_process_request
>>
>>
>> 2016-12-22 10:19:52,576 Trac[web_ui] WARNING:
>> req.args: {u'timestamp': u'1482373200703', u'type': u'\u4e8b\u52a1'}
>>
>>
>
> The plugin was coded poorly. Please try to install the latest.
>
>
> https://github.com/trac-hacks/trac-mentions/commit/73fa8587e7c1fd6351ae0eba6973a27d7c3b2612
>
> - Ryan 
>

I got a new error

2016-12-26 14:18:49,250 Trac[main] ERROR: Internal Server Error: 
, referrer 
'http://trac.xxx.com/trac/xxx/newticket'
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/tracmentions/web_ui.py", line 103, in 
pre_process_request
comment_users = re.findall('(?<=@)[\w]+', comment)
  File "/usr/lib64/python2.6/re.py", line 177, in findall
return _compile(pattern, flags).findall(string)
TypeError: expected string or buffer


 

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


[Trac] Re: Can a user be specified in the evaluation?

2016-12-21 Thread Mingxing Tian


在 2016年12月21日星期三 UTC+8下午11:57:25,RjOllos写道:
>
> On Monday, December 19, 2016 at 7:37:34 PM UTC-8, Mingxing Tian wrote:
>>
>> If I published a comment in the current task list, could you remind me of 
>> a specified user query, I hope he can receive the email notification. This 
>> user is anyone else except other CC and master the.
>>
>> example:
>> @Allen, I think you need to check this question.
>>
>
> It sounds like you are looking for something like trac-mentions:
> https://github.com/trac-hacks/trac-mentions
>
> - Ryan
>  
>

I got a lot of warnings after installation and there seemed to be something 
wrong!

2016-12-22 10:19:52,164 Trac[web_ui] WARNING: MentionsModule can't work 
because of missing configuration
2016-12-22 10:19:52,333 Trac[web_ui] WARNING:

Entered pre_process_request


2016-12-22 10:19:52,333 Trac[web_ui] WARNING:
req.args: {}

2016-12-22 10:19:52,575 Trac[web_ui] WARNING:

Entered pre_process_request


2016-12-22 10:19:52,576 Trac[web_ui] WARNING:
req.args: {u'timestamp': u'1482373200703', u'type': u'\u4e8b\u52a1'}


 

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


[Trac] How to integrate code reviews into the Trac workflow

2016-12-20 Thread Mingxing Tian
I introduce the document in accordance with the realization of the project, 
to the application of a problem.
https://trac-hacks.org/wiki/CodeReviewerPlugin#Workflow-fieldvalidation

My project workflow is as follows:






accept = new -> assigned
accept.default = 997
accept.name = 领取任务
accept.operations = set_owner_to_self
accept.permissions = TICKET_MODIFY
create =  -> new
create.default = 993
create.name = 创建任务
create_and_assign =  -> assigned
create_and_assign.default = 992
create_and_assign.name = 创建并指派任务
create_and_assign.operations = may_set_owner
create_and_assign.permissions = TICKET_MODIFY
leave = assigned,new,reviewing,accepted,reopened,closed -> *
leave.default = 1000
leave.name = 初始化
leave.operations = leave_status
reassign = assigned,new,reviewing,accepted,reopened -> assigned
reassign.default = 995
reassign.name = 指派
reassign.operations = set_owner
reassign.permissions = TICKET_MODIFY
reassign_reviewing = reviewing -> *
reassign_reviewing.default = 994
reassign_reviewing.name = 重新提交审查
reassign_reviewing.operations = set_owner
reassign_reviewing.permissions = TICKET_MODIFY
reopen = closed -> reopened
reopen.default = 996
reopen.name = 激活任务
reopen.operations = del_resolution
reopen.permissions = TICKET_CREATE
resolve = reviewing,reopened -> closed
resolve.default = 999
resolve.name = 关闭任务
resolve.operations = set_resolution
resolve.permissions = TICKET_MODIFY
review = assigned -> reviewing
review.default = 998
review.name = 提交审查
review.operations = set_owner
review.permissions = TICKET_MODIFY



The control document attempts to configure the following, but without 
success.

[ticket-custom]phase = selectphase.options = 
assigned|new|reviewing|accepted|reopened|closedphase.invalid_if.1 = 
reviewingphase.invalid_when.1 = .codereviewstatus .pendingphase.invalid_if.2 = 
closedphase.invalid_when.2 = .codereviewstatus:last .failed




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


[Trac] Can a user be specified in the evaluation?

2016-12-19 Thread Mingxing Tian
If I published a comment in the current task list, could you remind me of a 
specified user query, I hope he can receive the email notification. This 
user is anyone else except other CC and master the.

example:
@Allen, I think you need to check this question.


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


[Trac] Re: Mail notification content link character problem

2016-12-19 Thread Mingxing Tian


在 2016年12月19日星期一 UTC+8下午3:14:25,Mingxing Tian写道:
>
> This question is not too much description, I hope you can understand what 
> I mean.
>
>
> <https://lh3.googleusercontent.com/-6lwg3CX4M6Q/WFeInVdP6qI/AJc/am0z4rxoU3gynQSEbaXkrdFsX4y6d8MZQCLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20161219151126.png>
>
>
>

This problem has just been repaired, so we just use the latest version can 
be installed. 

-- 
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: Trac version upgrade to V1.2 causes mail notification function to fail

2016-12-19 Thread Mingxing Tian


在 2016年12月19日星期一 UTC+8下午3:50:02,Jun Omae写道:
>
> On Mon, Dec 19, 2016 at 4:35 PM, Mingxing Tian <mx@qq.com 
> > wrote: 
> > But I still find a problem, when the mail format select "text/html", 
> there will be an exception thrown. 
> > 
> > 2016-12-19 15:31:38,858 Trac[mail] WARNING: EmailDistributor caught 
> exception while formatting ticket to text/html for email:  'trachtmlnotification.notification.HtmlNotificationModule'> 
> > Traceback (most recent call last): 
> >   File "/usr/lib/python2.6/site-packages/trac/notification/mail.py", 
> line 338, in distribute 
> > outputs[fmt] = formatter.format(transport, fmt, event) 
> >   File 
> "build/bdist.linux-x86_64/egg/trachtmlnotification/notification.py", line 
> 77, in format 
> > req = self._create_request() 
> >   File 
> "build/bdist.linux-x86_64/egg/trachtmlnotification/notification.py", line 
> 160, in _create_request 
> > req.session = FakeSession({'dateinfo': 'absolute'}) 
> > TypeError: __init__() takes exactly 1 argument (2 given) 
>
> It seems that the issue occurs after 
> https://trac.edgewall.org/changeset/15075. 
>
> I just fixed it now. Please reinstall the latest of 
> https://trac-hacks.org/svn/trachtmlnotificationplugin/0.12. 
>
> -- 
> Jun Omae <jun...@gmail.com > (大前 潤) 
>
 
Just re installed this plugin, including the following questions, I think 
you have the same repair, thank you!
https://groups.google.com/forum/?hl=zh-Cn#!topic/trac-users/nYYSr6OgpYA 

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


[Trac] ResetPwStore is disabled, therefore password reset won't work.

2016-12-18 Thread Mingxing Tian
2016-12-19 15:51:08,429 Trac[web_ui] WARNING: ResetPwStore is disabled, 
therefore password reset won't work.

I've been getting this annoying warning, how can I close 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.


[Trac] Re: Install ChildTicketsPlugin plugin but do not work

2016-12-18 Thread Mingxing Tian
I found that when the task of creating and not the parent task number, task 
details in the inside does not see, please look at the pictures shown:



So I suspect that the parent task number is not saved at the time of the 
creation of the subtask. The database does not preserve the association 
between the two. I would like to know which table the relationship is saved.

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


[Trac] Re: Trac version upgrade to V1.2 causes mail notification function to fail

2016-12-18 Thread Mingxing Tian


在 2016年12月18日星期日 UTC+8上午11:39:06,RjOllos写道:
>
>
>
> On Thursday, December 15, 2016 at 10:17:58 PM UTC-8, Mingxing Tian wrote:
>>
>> I used the 1.0.13 version before the upgrade, where the mail notification 
>> service is normal, whenever the task status changes will be notified to the 
>> relevant colleagues. But after the upgrade, colleagues can not receive 
>> e-mail messages.
>>
>> There is a strange phenomenon, the account will exist in the login will 
>> prompt, need to verify e-mail address. And colleagues can find their own 
>> mailbox verification code, so as to complete the e-mail address 
>> authentication. This also shows that a mailbox configuration should be 
>> successful.
>>
>> To enable you to help me find a problem, I will log level down, the 
>> following record of a single task list to add a comment after the log, 
>> under normal circumstances should have to send mail notification action.
>>
>> To facilitate query log files, I upload files through attachments.
>>
>>
>>
>> User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 
>> (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36
>> Package版本
>> Trac 1.2
>> Babel 2.3.4
>> Genshi 0.7 (without speedups)
>> GIT 1.7.1
>> mod_wsgi 3.2 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
>> MySQL server: "5.5.49-log", client: "5.1.73", thread-safe: 1
>> MySQLdb 1.2.3c1
>> Pygments 2.1.3
>> Python 2.6.6 (r266:84292, Jul 23 2015, 15:22:56) [GCC 4.4.7 20120313 
>> (Red Hat 4.4.7-11)]
>> pytz 2016.4
>> setuptools 30.2.0
>> Subversion 1.6.11 (r934486)
>> Textile 2.3.6
>> jQuery 1.11.3
>> jQuery UI 1.11.4
>> jQuery Timepicker 1.5.5
>>
>
>
> I don't see any notification-related activity in your log message. For 
> comparison, here are the log messages seen when updating a ticket with the 
> preference //Never notify: I update a ticket//.
>
> 19:23:21 Trac[main] DEBUG: Dispatching  '/ticket/32'">
> 19:23:21 Trac[main] DEBUG: Chosen handler is  trac.ticket.web_ui.TicketModule>
> 19:23:21 Trac[session] DEBUG: Retrieving session for ID u'user1'
> 19:23:21 Trac[main] DEBUG: Negotiated locale: None -> en_US
> 19:23:21 Trac[mail] INFO: Email address w/o domain: somebody
> 19:23:21 Trac[api] DEBUG: Ignoring (user1 [1]) for 'never' on rule 
> (TicketUpdaterSubscriber) for (email)
> 19:23:21 Trac[web_ui] DEBUG: Side effect for ConfigurableTicketWorkflow
> 127.0.0.1 - - [17/Dec/2016 19:23:21] "POST /proj-1.1-2/ticket/32 HTTP/1.1" 
> 303 -
> 19:23:21 Trac[main] DEBUG: Dispatching  '/ticket/32'">
> 19:23:21 Trac[main] DEBUG: Chosen handler is  trac.ticket.web_ui.TicketModule>
> 19:23:21 Trac[session] DEBUG: Retrieving session for ID u'user1'
> 19:23:21 Trac[main] DEBUG: Negotiated locale: None -> en_US
>
> Do you have a Notification preferences tab at path /prefs/notification? If 
> so, could you send a screen capture?
>
>
>  
>
> I'm assuming your [components] section is as described in (1), and your 
> [notification] section is as described in (2). If different, please send.
>
> (1) https://groups.google.com/d/msg/trac-users/4tVRBotYrZs/dh7pTH2yCAAJ
> (2) https://groups.google.com/d/msg/trac-users/4tVRBotYrZs/qHeVNMnmCQAJ
>
> - Ryan
>
>
But I still find a problem, when the mail format select "text/html", there 
will be an exception thrown.

2016-12-19 15:31:38,858 Trac[mail] WARNING: EmailDistributor caught 
exception while formatting ticket to text/html for email: 
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/trac/notification/mail.py", line 
338, in distribute
outputs[fmt] = formatter.format(transport, fmt, event)
  File "build/bdist.linux-x86_64/egg/trachtmlnotification/notification.py", 
line 77, in format
req = self._create_request()
  File "build/bdist.linux-x86_64/egg/trachtmlnotification/notification.py", 
line 160, in _create_request
req.session = FakeSession({'dateinfo': 'absolute'})
TypeError: __init__() takes exactly 1 argument (2 given)


 

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


[Trac] Mail notification content link character problem

2016-12-18 Thread Mingxing Tian


This question is not too much description, I hope you can understand what I 
mean.




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


[Trac] Re: Trac version upgrade to V1.2 causes mail notification function to fail

2016-12-18 Thread Mingxing Tian


在 2016年12月18日星期日 UTC+8上午11:39:06,RjOllos写道:
>
>
>
> On Thursday, December 15, 2016 at 10:17:58 PM UTC-8, Mingxing Tian wrote:
>>
>> I used the 1.0.13 version before the upgrade, where the mail notification 
>> service is normal, whenever the task status changes will be notified to the 
>> relevant colleagues. But after the upgrade, colleagues can not receive 
>> e-mail messages.
>>
>> There is a strange phenomenon, the account will exist in the login will 
>> prompt, need to verify e-mail address. And colleagues can find their own 
>> mailbox verification code, so as to complete the e-mail address 
>> authentication. This also shows that a mailbox configuration should be 
>> successful.
>>
>> To enable you to help me find a problem, I will log level down, the 
>> following record of a single task list to add a comment after the log, 
>> under normal circumstances should have to send mail notification action.
>>
>> To facilitate query log files, I upload files through attachments.
>>
>>
>>
>> User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 
>> (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36
>> Package版本
>> Trac 1.2
>> Babel 2.3.4
>> Genshi 0.7 (without speedups)
>> GIT 1.7.1
>> mod_wsgi 3.2 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
>> MySQL server: "5.5.49-log", client: "5.1.73", thread-safe: 1
>> MySQLdb 1.2.3c1
>> Pygments 2.1.3
>> Python 2.6.6 (r266:84292, Jul 23 2015, 15:22:56) [GCC 4.4.7 20120313 
>> (Red Hat 4.4.7-11)]
>> pytz 2016.4
>> setuptools 30.2.0
>> Subversion 1.6.11 (r934486)
>> Textile 2.3.6
>> jQuery 1.11.3
>> jQuery UI 1.11.4
>> jQuery Timepicker 1.5.5
>>
>
>
> I don't see any notification-related activity in your log message. For 
> comparison, here are the log messages seen when updating a ticket with the 
> preference //Never notify: I update a ticket//.
>
> 19:23:21 Trac[main] DEBUG: Dispatching  '/ticket/32'">
> 19:23:21 Trac[main] DEBUG: Chosen handler is  trac.ticket.web_ui.TicketModule>
> 19:23:21 Trac[session] DEBUG: Retrieving session for ID u'user1'
> 19:23:21 Trac[main] DEBUG: Negotiated locale: None -> en_US
> 19:23:21 Trac[mail] INFO: Email address w/o domain: somebody
> 19:23:21 Trac[api] DEBUG: Ignoring (user1 [1]) for 'never' on rule 
> (TicketUpdaterSubscriber) for (email)
> 19:23:21 Trac[web_ui] DEBUG: Side effect for ConfigurableTicketWorkflow
> 127.0.0.1 - - [17/Dec/2016 19:23:21] "POST /proj-1.1-2/ticket/32 HTTP/1.1" 
> 303 -
> 19:23:21 Trac[main] DEBUG: Dispatching  '/ticket/32'">
> 19:23:21 Trac[main] DEBUG: Chosen handler is  trac.ticket.web_ui.TicketModule>
> 19:23:21 Trac[session] DEBUG: Retrieving session for ID u'user1'
> 19:23:21 Trac[main] DEBUG: Negotiated locale: None -> en_US
>
> Do you have a Notification preferences tab at path /prefs/notification? If 
> so, could you send a screen capture?
>
>
>  
>
> I'm assuming your [components] section is as described in (1), and your 
> [notification] section is as described in (2). If different, please send.
>
> (1) https://groups.google.com/d/msg/trac-users/4tVRBotYrZs/dh7pTH2yCAAJ
> (2) https://groups.google.com/d/msg/trac-users/4tVRBotYrZs/qHeVNMnmCQAJ
>
> - Ryan
>
>

I've found the problem because I didn't add the rules, I thought the 
default rule was ok, but by comparing your example, I finally found the 
reason. So, thank you very much. 

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


[Trac] Re: Trac version upgrade to V1.2 causes mail notification function to fail

2016-12-18 Thread Mingxing Tian


在 2016年12月18日星期日 UTC+8上午11:39:06,RjOllos写道:
>
>
>
> On Thursday, December 15, 2016 at 10:17:58 PM UTC-8, Mingxing Tian wrote:
>>
>> I used the 1.0.13 version before the upgrade, where the mail notification 
>> service is normal, whenever the task status changes will be notified to the 
>> relevant colleagues. But after the upgrade, colleagues can not receive 
>> e-mail messages.
>>
>> There is a strange phenomenon, the account will exist in the login will 
>> prompt, need to verify e-mail address. And colleagues can find their own 
>> mailbox verification code, so as to complete the e-mail address 
>> authentication. This also shows that a mailbox configuration should be 
>> successful.
>>
>> To enable you to help me find a problem, I will log level down, the 
>> following record of a single task list to add a comment after the log, 
>> under normal circumstances should have to send mail notification action.
>>
>> To facilitate query log files, I upload files through attachments.
>>
>>
>>
>> User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 
>> (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36
>> Package版本
>> Trac 1.2
>> Babel 2.3.4
>> Genshi 0.7 (without speedups)
>> GIT 1.7.1
>> mod_wsgi 3.2 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
>> MySQL server: "5.5.49-log", client: "5.1.73", thread-safe: 1
>> MySQLdb 1.2.3c1
>> Pygments 2.1.3
>> Python 2.6.6 (r266:84292, Jul 23 2015, 15:22:56) [GCC 4.4.7 20120313 
>> (Red Hat 4.4.7-11)]
>> pytz 2016.4
>> setuptools 30.2.0
>> Subversion 1.6.11 (r934486)
>> Textile 2.3.6
>> jQuery 1.11.3
>> jQuery UI 1.11.4
>> jQuery Timepicker 1.5.5
>>
>
>
> I don't see any notification-related activity in your log message. For 
> comparison, here are the log messages seen when updating a ticket with the 
> preference //Never notify: I update a ticket//.
>
> 19:23:21 Trac[main] DEBUG: Dispatching  '/ticket/32'">
> 19:23:21 Trac[main] DEBUG: Chosen handler is  trac.ticket.web_ui.TicketModule>
> 19:23:21 Trac[session] DEBUG: Retrieving session for ID u'user1'
> 19:23:21 Trac[main] DEBUG: Negotiated locale: None -> en_US
> 19:23:21 Trac[mail] INFO: Email address w/o domain: somebody
> 19:23:21 Trac[api] DEBUG: Ignoring (user1 [1]) for 'never' on rule 
> (TicketUpdaterSubscriber) for (email)
> 19:23:21 Trac[web_ui] DEBUG: Side effect for ConfigurableTicketWorkflow
> 127.0.0.1 - - [17/Dec/2016 19:23:21] "POST /proj-1.1-2/ticket/32 HTTP/1.1" 
> 303 -
> 19:23:21 Trac[main] DEBUG: Dispatching  '/ticket/32'">
> 19:23:21 Trac[main] DEBUG: Chosen handler is  trac.ticket.web_ui.TicketModule>
> 19:23:21 Trac[session] DEBUG: Retrieving session for ID u'user1'
> 19:23:21 Trac[main] DEBUG: Negotiated locale: None -> en_US
>
> Do you have a Notification preferences tab at path /prefs/notification? If 
> so, could you send a screen capture?
>
>
>  
>
> I'm assuming your [components] section is as described in (1), and your 
> [notification] section is as described in (2). If different, please send.
>
> (1) https://groups.google.com/d/msg/trac-users/4tVRBotYrZs/dh7pTH2yCAAJ
> (2) https://groups.google.com/d/msg/trac-users/4tVRBotYrZs/qHeVNMnmCQAJ
>
> - Ryan
>
>
I'm sorry to reply you so late, because I only went to work today. It is 
around 2 p.m. in Shenzhen, China. 
1. I checked the notification service to open, did not receive mail 
notification this thing, not only in my body, other colleagues in the use 
of TRAC have encountered.

<https://lh3.googleusercontent.com/-HOIJSp6oON4/WFd9kNpyrcI/AJA/snO_yoo7ZroeiMIaD3ZYhZ0l0EG-65lnACLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20161219141956.png>

2. Announcer plugin should be removed, this is after the audience your 
proposal, so its existence is necessary? In short, it still exists, show 
you my complete configuration file.




-- 
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.
[xxx@host105 1.2]# cat /home/projects/xxx/conf/trac.ini
# -*- coding: utf-8 -*-

[account-manager]
account_changes_notify_addresses = al...@xxx.com
htpasswd_file = /home/svndata/svnconf/passwd
htpasswd_hash_type = md5
notify_actions = new,change,delete
password_store = HtPasswdStore
reset_password = enabled

[announcer]
default_email_format = 

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 
>>>>> <https://www.google.com/url?q=https%3A%2F%2Ftrac-hacks.org%2Fchangeset%2F16059=D=1=AFQjCNF3l2R2AXk-eh-vqwUaiVBMdFKdIA>
>>>>>  
>>>>>
>>>>>> 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 relat

[Trac] Trac version upgrade to V1.2 causes mail notification function to fail

2016-12-15 Thread Mingxing Tian
I used the 1.0.13 version before the upgrade, where the mail notification 
service is normal, whenever the task status changes will be notified to the 
relevant colleagues. But after the upgrade, colleagues can not receive 
e-mail messages.

There is a strange phenomenon, the account will exist in the login will 
prompt, need to verify e-mail address. And colleagues can find their own 
mailbox verification code, so as to complete the e-mail address 
authentication. This also shows that a mailbox configuration should be 
successful.

To enable you to help me find a problem, I will log level down, the 
following record of a single task list to add a comment after the log, 
under normal circumstances should have to send mail notification action.

To facilitate query log files, I upload files through attachments.



User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 
(KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36
Package版本
Trac 1.2
Babel 2.3.4
Genshi 0.7 (without speedups)
GIT 1.7.1
mod_wsgi 3.2 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
MySQL server: "5.5.49-log", client: "5.1.73", thread-safe: 1
MySQLdb 1.2.3c1
Pygments 2.1.3
Python 2.6.6 (r266:84292, Jul 23 2015, 15:22:56) [GCC 4.4.7 20120313 (Red 
Hat 4.4.7-11)]
pytz 2016.4
setuptools 30.2.0
Subversion 1.6.11 (r934486)
Textile 2.3.6
jQuery 1.11.3
jQuery UI 1.11.4
jQuery Timepicker 1.5.5

-- 
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-16 14:15:42,787 Trac[env] INFO:  
environment startup [Trac 1.2] 
2016-12-16 14:15:42,940 Trac[loader] DEBUG: Loading BackLinksMacro from 
/home/projects/xxx/plugins/BackLinksMacro-7.0.dev0-py2.6.egg
2016-12-16 14:15:42,948 Trac[loader] DEBUG: Loading Markdown.macro from 
/home/projects/xxx/plugins/TracMarkdownMacro-0.11.4.post0-py2.6.egg
2016-12-16 14:15:42,948 Trac[loader] DEBUG: Loading acct_mgr.admin from 
/home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-16 14:15:42,949 Trac[loader] DEBUG: Loading acct_mgr.api from 
/home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-16 14:15:42,949 Trac[loader] DEBUG: Loading acct_mgr.db from 
/home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-16 14:15:42,950 Trac[loader] DEBUG: Loading acct_mgr.htfile from 
/home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-16 14:15:42,950 Trac[loader] DEBUG: Loading acct_mgr.http from 
/home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-16 14:15:42,951 Trac[loader] DEBUG: Loading acct_mgr.macros from 
/home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-16 14:15:42,951 Trac[loader] DEBUG: Loading acct_mgr.notification from 
/home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-16 14:15:42,952 Trac[loader] DEBUG: Loading 
acct_mgr.opt.announcer.uid_chg from 
/home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-16 14:15:43,045 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-16 14:15:43,045 Trac[loader] DEBUG: Loading acct_mgr.opt.radius from 
/home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-16 14:15:43,137 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-16 14:15:43,138 Trac[loader] DEBUG: Loading 
acct_mgr.opt.tracforms.uid_chg from 
/home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-16 14:15:43,230 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-16 14:15:43,230 Trac[loader] DEBUG: Loading 
acct_mgr.opt.tracscreenshots.uid_chg from 
/home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-16 14:15:43,323 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-16 14:15:43,323 Trac[loader] DEBUG: Loading 
acct_mgr.opt.tracvote.uid_chg from 
/home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-16 14:15:43,416 Trac[loader] DEBUG: Skipping 

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.
>>>>
>>>>
>>>> <https://lh3.googleusercontent.com/-HQhgXF0AlU4/WEoJduKV-qI/AII/gU0uXfIk2oAlrM-XHa7Lr4KTOcsCh05KwCLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20161209092940.png>
>>>>
>>>>
>>>>
>>> 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 messag

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 <mx@qq.com 
> > 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 <jun...@gmail.com > (大前 潤) 
>

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

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.
>>
>>
>> <https://lh3.googleusercontent.com/-HQhgXF0AlU4/WEoJduKV-qI/AII/gU0uXfIk2oAlrM-XHa7Lr4KTOcsCh05KwCLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20161209092940.png>
>>
>>
>>
> 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@localh

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.

<https://lh3.googleusercontent.com/-HQhgXF0AlU4/WEoJduKV-qI/AII/gU0uXfIk2oAlrM-XHa7Lr4KTOcsCh05KwCLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20161209092940.png>

<https://lh3.googleusercontent.com/-JAROaYa-lI8/WEoJ7UqoFQI/AIQ/L3UCZV5NvPwF5NqVk99V92VgsHjaLnIkgCLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20161209093002.png>


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 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 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 
>>>>> <https://www.google.com/url?q=https%3A%2F%2Ftrac-hacks.org%2Fchangeset%2F16059=D=1=AFQjCNF3l2R2AXk-eh-vqwUaiVBMdFKdIA>
>>>>>  
>>>>>
>>>>>> 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 relat

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 
>>> <https://www.google.com/url?q=https%3A%2F%2Ftrac-hacks.org%2Fchangeset%2F16059=D=1=AFQjCNF3l2R2AXk-eh-vqwUaiVBMdFKdIA>
>>>  
>>>
>>>> 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.
>>>  
>>>
>>>>
>>>>
>>>> <https://lh3.googleusercontent.com/-JmNCXsy5PS0/WEdrY1JsdEI/AHA/VzTOY6ERKOACefm2UgQtkJgPu3qE03CqwCLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20161207095217.png>
>>>>
>>>>
>>>>  
>>>>
>>>
>> 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
>> ](…)
>> Whic

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 
> <https://www.google.com/url?q=https%3A%2F%2Ftrac-hacks.org%2Fchangeset%2F16059=D=1=AFQjCNF3l2R2AXk-eh-vqwUaiVBMdFKdIA>
>  
>
>> 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.
>  
>
>>
>>
>> <https://lh3.googleusercontent.com/-JmNCXsy5PS0/WEdrY1JsdEI/AHA/VzTOY6ERKOACefm2UgQtkJgPu3qE03CqwCLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20161207095217.png>
>>
>>
>>  
>>
>
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? 
?? ??

<https://lh3.googleusercontent.com/-VVhniuf0CHw/WEeoKGsjoBI/AHY/owwZSnSrZHoptqxvxXbm6spnq7tyYo5XACLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20161207141037.png>

[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? Beca

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 <mx@qq.com> 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'
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> <https://lh3.googleusercontent.com/-hPleZ5NWS84/WEZ5w-w_vJI/AFc/L_LO8EZcC2YQQx5LpsP1Dx1JK6kYtEB9QCLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20161206163805.png>
>>>>>>
>>>>>
>>>>> 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.
>>>>
>>>>
>>>> <https://lh3.googleusercontent.com/-ejYY2q9GvMM/WEaBcJbLpOI/AGQ/nTYVfglMgDU8vvTd1L30sYRGDRz1vXg6wCLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20161206171143.png>
>>>> 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: 'E

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 <mx@qq.com> 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'
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> <https://lh3.googleusercontent.com/-hPleZ5NWS84/WEZ5w-w_vJI/AFc/L_LO8EZcC2YQQx5LpsP1Dx1JK6kYtEB9QCLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20161206163805.png>
>>>>
>>>
>>> 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.
>>
>>
>> <https://lh3.googleusercontent.com/-ejYY2q9GvMM/WEaBcJbLpOI/AGQ/nTYVfglMgDU8vvTd1L30sYRGDRz1vXg6wCLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20161206171143.png>
>> 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 Mingxing Tian


在 2016年12月6日星期二 UTC+8下午4:56:16,RjOllos写道:
>
>
>
> On Tue, Dec 6, 2016 at 12:43 AM Mingxing Tian <mx@qq.com > 
> 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'
>>
>>
>>
>>
>>
>> <https://lh3.googleusercontent.com/-hPleZ5NWS84/WEZ5w-w_vJI/AFc/L_LO8EZcC2YQQx5LpsP1Dx1JK6kYtEB9QCLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20161206163805.png>
>>
>
> 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.

<https://lh3.googleusercontent.com/-ejYY2q9GvMM/WEaBcJbLpOI/AGQ/nTYVfglMgDU8vvTd1L30sYRGDRz1vXg6wCLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20161206171143.png>
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 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()
>>

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 "/u

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

2016-12-05 Thread Mingxing Tian
lf.tag_system = TagSystem(self.env)
  File "/usr/lib/python2.6/site-packages/trac/core.py", line 144, in 
__call__
self.__init__()
  File "build/bdist.linux-x86_64/egg/tractags/api.py", line 369, in __init__
self._populate_provider_map()
  File "build/bdist.linux-x86_64/egg/tractags/api.py", line 585, in 
_populate_provider_map
for provider in self.tag_providers)
  File "/usr/lib/python2.6/site-packages/trac/core.py", line 82, in 
extensions
components = [component.compmgr[cls] for cls in classes]
  File "/usr/lib/python2.6/site-packages/trac/core.py", line 212, in 
__getitem__
component = cls(self)
  File "/usr/lib/python2.6/site-packages/trac/core.py", line 144, in 
__call__
self.__init__()
  File "build/bdist.linux-x86_64/egg/tractags/ticket.py", line 53, in 
__init__
db = self.env.get_db_cnx()
AttributeError: 'Environment' object has no attribute 'get_db_cnx'
2016-12-06 10:53:17,710 Trac[chrome] DEBUG: Prepare chrome data for request


Trac cannot be accessed after 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.
> 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.


[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/mai

[Trac] How to upgrade from 1.0.13 to 1.2

2016-12-05 Thread Mingxing Tian
[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?

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


[Trac] Re: How squared which shows the team's Avatar

2016-06-20 Thread Mingxing Tian
Does anyone can help me?

在 2016年6月15日星期三 UTC+8上午11:01:03,Mingxing Tian写道:
>
> {{{#!box type=normal align=right width=275
> [[Include(UserManagerPluginPictures)]]
> }}}
>
> I want the code above to show team members head out in a squared inside, 
> but the strange thing is that I get a wrong result.
>
>
> <https://lh3.googleusercontent.com/-OtFSKRTroSQ/V2DEy_bUv_I/ACs/AARqYoRPfsot4Xi3H6S4Wz7tx_ikFPfxgCLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20160615110013.png>
>
>

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


[Trac] Re: HTTPNotFound: 404 Not Found (File default-portrait.gif not found)

2016-06-19 Thread Mingxing Tian

Alias /trac/chrome/common /home/projects/xxx/htdocs/common
Alias /trac/chrome/site /home/projects/xxx/htdocs/site
Alias /trac/chrome/shared /home/projects/xxx/htdocs/shared
Alias /trac/chrome/userpictures /home/projects/xxx/htdocs/userpictures


  WSGIApplicationGroup %{GLOBAL}
  Order deny,allow
  Allow from all



  ServerName trac.xxx.com
  DocumentRoot /usr/share/trac/htdocs/
  WSGIScriptAlias /trac/xxx /usr/share/trac/cgi-bin/trac.wsgi
  
AuthType Basic
AuthName "Trac"
AuthUserFile /home/svndata/svnconf/.passwd.conf
Require valid-user
  



# trac-admin /home/projects/xxx/ deploy /usr/share/trac

This is my profile, please help!


在 2016年6月17日星期五 UTC+8下午12:29:13,RjOllos写道:
>
>
>
> On Tuesday, June 14, 2016 at 12:37:43 AM UTC-7, Mingxing Tian wrote:
>>
>> 2016-06-14 15:33:38,813 Trac[chrome] WARNING: File userpictures.css not 
>> found in any of 
>> ['/usr/lib/python2.6/site-packages/trac_UserPicturesPlugin-0.1.1-py2.6.egg/userpictures/htdocs']
>> 2016-06-14 15:33:38,824 Trac[main] WARNING: [192.168.1.50] HTTPNotFound: 
>> 404 Not Found (File userpictures.css not found)
>>
>>
>> After installing UserPicture Plugin emergence of this issue,On the 
>> browser window F12 debugging found the following error
>>
>> http://trac.idouzi.com/trac/idouzi/chrome/userpictures/userpictures.css 
>> Failed to load resource: the server responded with a status of 404 (Not 
>> Found)
>>
>> http://trac.idouzi.com/trac/idouzi/chrome/userpictures/default-portrait.gif 
>> Failed to load resource: the server responded with a status of 404 (Not 
>> Found)
>> http://trac.idouzi.com/trac/idouzi/chrome/userpictures/userpictures.css 
>> Failed to load resource: the server responded with a status of 404 (Not 
>> Found)
>>
>> This seems to be some static resource is not found, what should I do?
>>
>
> I have not looked at this plugin in a while, so it could be an issue with 
> the plugin. However, first I would look at your web server configuration. 
> Are you mapping static resources? (1) If so, you may to run the "deploy" 
> command (2) each time you install a plugin. Whether or not that is the case 
> depends on how you've setup your Alias directive. I attempted to improve 
> the documentation on that after discussion in (3). Feedback welcome.
>
> (1) https://trac.edgewall.org/wiki/TracInstall#MappingStaticResources 
> (2) https://trac.edgewall.org/wiki/TracUpgrade#a5.Refreshstaticresources
> (3) 
> https://groups.google.com/forum/#!msg/trac-users/MC9NzL1PMT4/4WJIVs9TQ40J
>

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


[Trac] Re: HTTPNotFound: 404 Not Found (File default-portrait.gif not found)

2016-06-15 Thread Mingxing Tian
help me!

在 2016年6月14日星期二 UTC+8下午3:37:43,Mingxing Tian写道:
>
> 2016-06-14 15:33:38,813 Trac[chrome] WARNING: File userpictures.css not 
> found in any of 
> ['/usr/lib/python2.6/site-packages/trac_UserPicturesPlugin-0.1.1-py2.6.egg/userpictures/htdocs']
> 2016-06-14 15:33:38,824 Trac[main] WARNING: [192.168.1.50] HTTPNotFound: 
> 404 Not Found (File userpictures.css not found)
>
>
> After installing UserPicture Plugin emergence of this issue,On the browser 
> window F12 debugging found the following error
>
> http://trac.idouzi.com/trac/idouzi/chrome/userpictures/userpictures.css 
> Failed to load resource: the server responded with a status of 404 (Not 
> Found)
> http://trac.idouzi.com/trac/idouzi/chrome/userpictures/default-portrait.gif 
> Failed to load resource: the server responded with a status of 404 (Not 
> Found)
> http://trac.idouzi.com/trac/idouzi/chrome/userpictures/userpictures.css 
> Failed to load resource: the server responded with a status of 404 (Not 
> Found)
>
> This seems to be some static resource is not found, what should I do?
>

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


[Trac] HTTPNotFound: 404 Not Found (File default-portrait.gif not found)

2016-06-14 Thread Mingxing Tian
2016-06-14 15:33:38,813 Trac[chrome] WARNING: File userpictures.css not 
found in any of 
['/usr/lib/python2.6/site-packages/trac_UserPicturesPlugin-0.1.1-py2.6.egg/userpictures/htdocs']
2016-06-14 15:33:38,824 Trac[main] WARNING: [192.168.1.50] HTTPNotFound: 
404 Not Found (File userpictures.css not found)


After installing UserPicture Plugin emergence of this issue,On the browser 
window F12 debugging found the following error

http://trac.idouzi.com/trac/idouzi/chrome/userpictures/userpictures.css 
Failed to load resource: the server responded with a status of 404 (Not 
Found)
http://trac.idouzi.com/trac/idouzi/chrome/userpictures/default-portrait.gif 
Failed to load resource: the server responded with a status of 404 (Not 
Found)
http://trac.idouzi.com/trac/idouzi/chrome/userpictures/userpictures.css 
Failed to load resource: the server responded with a status of 404 (Not 
Found)

This seems to be some static resource is not found, what should I do?

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


[Trac] Support @ project team members and automatically send mail to him?

2016-06-08 Thread Mingxing Tian
I would like to comment on the task @ inside a member, after the submission 
of the evaluation can be automatically e-mail notice to the other to focus 
on this task. There are related plug-ins to support my needs?
This feature on social platforms is essential function, I think it is very 
easy to use, because you can not attribute this task to remind people to 
pay attention. Even if he is not the task of reporting person or the 
executor.

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


[Trac] How to support HTML-formatted e-mail content

2016-06-06 Thread Mingxing Tian
Default supports only plain text messages, but this style is ugly, I want 
to use HTML module to send e-mail, ask how to achieve?

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


[Trac] Re: File images/ui-bg_flat_75_ffffff_40x100.png not found

2016-06-06 Thread Mingxing Tian
2016-06-06 16:54:41,386 Trac[main] WARNING: [192.168.1.50] HTTPNotFound: 404 
Not Found (No handler matched request to /pygments/paraiso-light.css)


Has appeared in the case of a resource can not be found




在 2016年6月6日星期一 UTC+8下午12:58:05,RjOllos写道:
>
>
>
> On Sunday, June 5, 2016 at 8:08:06 PM UTC-7, Mingxing Tian wrote:
>>
>> 2016-06-06 10:44:16,461 Trac[chrome] WARNING: File images/ui-
>> bg_flat_75_ff_40x100.png not found in any of [
>> '/home/projects/xxx/.egg-cache/TracMindMapMacro-0.4-py2.6.egg-tmp/tracmindmap/htdocs'
>> ]
>>
>> Although only a warning, but I still want to find out in the end what is 
>> the reason?
>>
>
> The warning should be gone if you upgrade to 0.5dev of the plugin, see:
> https://trac-hacks.org/ticket/11823#comment:9
>
> However, as noted in that ticket, resizing still does not work.
>
> - 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.


[Trac] WARNING: ResetPwStore is disabled, therefore password reset won't work.

2016-06-06 Thread Mingxing Tian
2016-06-06 15:57:35,266 Trac[web_ui] WARNING: ResetPwStore is disabled, 
therefore password reset won't work.

I checked the options, it's really opened. I do not know if this is a false 
positive?

acct_mgr.web_ui.* = enabled
acct_mgr.web_ui.loginmodule = enabled
acct_mgr.web_ui.resetpwstore = enabled

Package版本
Trac 1.0.11
Babel 2.3.4
Genshi 0.7 (without speedups)
GIT 1.7.1
mod_wsgi 3.2 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
MySQL server: "5.5.49-log", client: "5.1.73", thread-safe: 1
MySQLdb 1.2.3c1
Pygments 2.1.3
Python 2.6.6 (r266:84292, Jul 23 2015, 15:22:56) [GCC 4.4.7 20120313 (Red 
Hat 4.4.7-11)]
pytz 2016.4
RPC 1.1.5
setuptools 21.2.0
Subversion 1.6.11 (r934486)
jQuery 1.7.2
jQuery UI 1.8.21
jQuery Timepicker 1.0.1


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


[Trac] File images/ui-bg_flat_75_ffffff_40x100.png not found

2016-06-05 Thread Mingxing Tian
2016-06-06 10:44:16,461 Trac[chrome] WARNING: File images/ui-
bg_flat_75_ff_40x100.png not found in any of [
'/home/projects/xxx/.egg-cache/TracMindMapMacro-0.4-py2.6.egg-tmp/tracmindmap/htdocs'
]

Although only a warning, but I still want to find out in the end what is 
the reason?

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


[Trac] trac correct pronunciation

2016-06-02 Thread Mingxing Tian
trac correct pronunciation is *[t'ræk]* or *[træk]*

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


[Trac] Re: Looking for a number of automatic plug-in wiki

2016-05-31 Thread Mingxing Tian
Yes!Thank you very much helped me find it.


在 2016年6月1日星期三 UTC+8上午9:41:09,RjOllos写道:
>
> You are probably looking for: 
> https://trac-hacks.org/wiki/NumberedHeadlinesPlugin

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


[Trac] Looking for a number of automatic plug-in wiki

2016-05-31 Thread Mingxing Tian
Seeking a wiki plug-in, I have used it before, but have forgotten the name. 
Its role is to be able to identify the contents of the automatic ID #

If I write
# A #

## B ##



The last page render
 1. A 
 1.1 b 


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


[Trac] TypeError: expected string or buffer

2016-05-27 Thread Mingxing Tian
2016-05-27 17:13:24,137 Trac[main] DEBUG: Dispatching 
2016-05-27 17:13:24,139 Trac[session] DEBUG: Retrieving session for ID 
u'tiaxx'
2016-05-27 17:13:24,144 Trac[chrome] DEBUG: Prepare chrome data for request
2016-05-27 17:13:24,152 Trac[main] DEBUG: Negotiated locale: None -> zh_CN
>, referrer 'http://.com/trac/admin/ticket/workflowadmin'
Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 562, in 
_dispatch_request
dispatcher.dispatch(req)
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 249, in 
dispatch
resp = chosen_handler.process_request(req)
  File "build/bdist.linux-x86_64/egg/trac/admin/web_ui.py", line 119, in 
process_request
path_info)
  File "build/bdist.linux-x86_64/egg/tracworkflowadmin/web_ui.py", line 
137, in render_admin_panel
self._parse_request(req)
  File "build/bdist.linux-x86_64/egg/tracworkflowadmin/web_ui.py", line 
686, in _parse_request
params = json.loads(req.args.get('params'))
  File "/usr/lib64/python2.6/json/__init__.py", line 307, in loads
return _default_decoder.decode(s)
  File "/usr/lib64/python2.6/json/decoder.py", line 319, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
TypeError: expected string or buffer
2016-05-27 17:13:24,364 Trac[web_ui] DEBUG: GridModifyModule: filter_stream 
entered

I emergence of this issue in the use of workflow gui

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


[Trac] File lang_js/zh_CN.js not found

2016-05-27 Thread Mingxing Tian
An error occurred when the browser requests

http://xxx.xxx.com/trac/chrome/datasaver/lang_js/zh_CN.js Failed to load 
resource: the server responded with a status of 404 (Not Found)

Information log output
2016-05-27 16:28:02,133 Trac[main] WARNING: [192.168.1.50] HTTPNotFound: 
404 Not Found (File lang_js/zh_CN.js not found)
2016-05-27 16:28:02,844 Trac[chrome] WARNING: File lang_js/zh_CN.js not 
found in any of 
['/home/projects/xxx/.egg-cache/DataSaverPlugin-2.0.dev0-py2.6.egg-tmp/datasaver/htdocs']


My guess is no international plug, do not know how to solve 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.