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/AAAAAAAAAFc/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/AAAAAAAAAGQ/nTYVfglMgDU8vvTd1L30sYRGDRz1vXg6wCLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20161206171143.png>
> 2016-12-06 17:08:35,179 Trac[main] ERROR: Internal Server Error: 
> <RequestWithSession "GET '/newticket'">, referrer '
> http://trac.xxx.com/trac/xxx/ticket/508'
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 613, in 
> _dispatch_request
>     dispatcher.dispatch(req)
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 263, in 
> dispatch
>     self._post_process_request(req, *resp)
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 444, in 
> _post_process_request
>     resp = f.post_process_request(req, *resp[:-1])
>   File "build/bdist.linux-x86_64/egg/tracsubtickets/web_ui.py", line 73, 
> in post_process_request
>     children = self.get_children(ticket.id)
>   File "build/bdist.linux-x86_64/egg/tracsubtickets/web_ui.py", line 104, 
> in get_children
>     db = self.env.get_db_cnx()
> AttributeError: 'Environment' object has no attribute 'get_db_cnx'
>
>
Look at the traceback. Where do you think the problem lies? 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to