How to upgrade from 1.0.13 to 1.2

539 views
Skip to first unread message

Mingxing Tian

unread,
Dec 5, 2016, 3:38:24 AM12/5/16
to Trac Users
[root@host105 ~]# easy_install --upgrade Trac
Searching for 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)
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?

RjOllos

unread,
Dec 5, 2016, 9:57:02 AM12/5/16
to Trac Users
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.
$ pip install -U Trac

Another option, you could download and install from source:

$ tar xzvf Trac-1.2.tar.gz 
$ cd Trac 1.2
$ python setup.py install
# or
$ pip install .
 
- Ryan

Mingxing Tian

unread,
Dec 5, 2016, 9:47:28 PM12/5/16
to Trac Users
[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 <module>
    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写道:

Mingxing Tian

unread,
Dec 5, 2016, 9:55:59 PM12/5/16
to Trac Users
2016-12-06 10:53:15,190 Trac[env] INFO: -------------------------------- environment startup [Trac 1.2] --------------------------------
2016-12-06 10:53:15,530 Trac[loader] DEBUG: Adding plugin GroupTicketFields 0.0.1dev-r0 from /home/projects/xxx/plugins/GroupTicketFields-0.0.1dev_r0-py2.6.egg
2016-12-06 10:53:15,531 Trac[loader] DEBUG: Adding plugin GridModify 0.1.6dev-r0 from /home/projects/xxx/plugins/GridModify-0.1.6dev_r0-py2.6.egg
2016-12-06 10:53:15,531 Trac[loader] DEBUG: Adding plugin BreadCrumbsNav 0.3dev-r0 from /home/projects/xxx/plugins/BreadCrumbsNav-0.3dev_r0-py2.6.egg
2016-12-06 10:53:15,531 Trac[loader] DEBUG: Adding plugin STractistics 0.6dev-r0 from /home/projects/xxx/plugins/STractistics-0.6dev_r0-py2.6.egg
2016-12-06 10:53:15,532 Trac[loader] DEBUG: Adding plugin Lineno 1.2dev-r0 from /home/projects/xxx/plugins/Lineno-1.2dev_r0-py2.6.egg
2016-12-06 10:53:15,532 Trac[loader] DEBUG: Adding plugin TracProjectMenu 2.0dev-r0 from /home/projects/xxx/plugins/TracProjectMenu-2.0dev_r0-py2.6.egg
2016-12-06 10:53:15,532 Trac[loader] DEBUG: Adding plugin cc-selector 0.0.4 from /home/projects/xxx/plugins/cc_selector-0.0.4-py2.6.egg
2016-12-06 10:53:15,532 Trac[loader] DEBUG: Adding plugin trac-UserPicturesPlugin 0.1.1 from /usr/lib/python2.6/site-packages/trac_UserPicturesPlugin-0.1.1-py2.6.egg
2016-12-06 10:53:15,533 Trac[loader] DEBUG: Adding plugin TracSubTicketsPlugin 0.2.0.dev20161020 from /home/projects/xxx/plugins/TracSubTicketsPlugin-0.2.0.dev20161020-py2.6.egg
2016-12-06 10:53:15,533 Trac[loader] DEBUG: Adding plugin TablePlugin 0.2.post0 from /home/projects/xxx/plugins/TablePlugin-0.2.post0-py2.6.egg
2016-12-06 10:53:15,533 Trac[loader] DEBUG: Adding plugin TracSectionEditPlugin 0.2.6.post0 from /home/projects/xxx/plugins/TracSectionEditPlugin-0.2.6.post0-py2.6.egg
2016-12-06 10:53:15,534 Trac[loader] DEBUG: Adding plugin TracCustomFieldAdmin 0.2.12 from /home/projects/xxx/plugins/TracCustomFieldAdmin-0.2.12-py2.6.egg
2016-12-06 10:53:15,534 Trac[loader] DEBUG: Adding plugin TracExtractUrl 0.3 from /home/projects/xxx/plugins/TracExtractUrl-0.3-py2.6.egg
2016-12-06 10:53:15,534 Trac[loader] DEBUG: Adding plugin TicketExtPlugin 0.3.2.post0 from /home/projects/xxx/plugins/TicketExtPlugin-0.3.2.post0-py2.6.egg
2016-12-06 10:53:15,534 Trac[loader] DEBUG: Adding plugin TracNumberedHeadlinesPlugin 0.4.post0 from /home/projects/xxx/plugins/TracNumberedHeadlinesPlugin-0.4.post0-py2.6.egg
2016-12-06 10:53:15,535 Trac[loader] DEBUG: Adding plugin TracAccountManager 0.5.dev0 from /home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-06 10:53:15,535 Trac[loader] DEBUG: Adding plugin TracMindMapMacro 0.5.dev0 from /home/projects/xxx/plugins/TracMindMapMacro-0.5.dev0-py2.6.egg
2016-12-06 10:53:15,535 Trac[loader] DEBUG: Adding plugin TracUserManagerPlugin 0.5.dev0 from /home/projects/xxx/plugins/TracUserManagerPlugin-0.5.dev0-py2.6.egg
2016-12-06 10:53:15,536 Trac[loader] DEBUG: Adding plugin SimpleMultiProject 0.5.2.dev0 from /home/projects/xxx/plugins/SimpleMultiProject-0.5.2.dev0-py2.6.egg
2016-12-06 10:53:15,536 Trac[loader] DEBUG: Adding plugin TracGanttCalendarPlugin 0.6.4.post0 from /home/projects/xxx/plugins/TracGanttCalendarPlugin-0.6.4.post0-py2.6.egg
2016-12-06 10:53:15,536 Trac[loader] DEBUG: Adding plugin TracTags 0.9.dev0 from /home/projects/xxx/plugins/TracTags-0.9.dev0-py2.6.egg
2016-12-06 10:53:15,537 Trac[loader] DEBUG: Adding plugin TracMarkdownMacro 0.11.4.post0 from /home/projects/xxx/plugins/TracMarkdownMacro-0.11.4.post0-py2.6.egg
2016-12-06 10:53:15,537 Trac[loader] DEBUG: Adding plugin TracHtmlNotificationPlugin 0.12.0.1 from /home/projects/xxx/plugins/TracHtmlNotificationPlugin-0.12.0.1-py2.6.egg
2016-12-06 10:53:15,537 Trac[loader] DEBUG: Adding plugin TicketCalendarPlugin 0.12.0.2 from /home/projects/xxx/plugins/TicketCalendarPlugin-0.12.0.2-py2.6.egg
2016-12-06 10:53:15,537 Trac[loader] DEBUG: Adding plugin TracWorkflowAdmin 0.12.0.2 from /home/projects/xxx/plugins/TracWorkflowAdmin-0.12.0.2-py2.6.egg
2016-12-06 10:53:15,538 Trac[loader] DEBUG: Adding plugin TracWysiwyg 0.12.0.5.post0 from /home/projects/xxx/plugins/TracWysiwyg-0.12.0.5.post0-py2.6.egg
2016-12-06 10:53:15,538 Trac[loader] DEBUG: Adding plugin BlackMagicTicketTweaks 0.12.2 from /home/projects/xxx/plugins/BlackMagicTicketTweaks-0.12.2-py2.6.egg
2016-12-06 10:53:15,538 Trac[loader] DEBUG: Adding plugin SvnAuthzAdminPlugin 1.0.dev0 from /home/projects/xxx/plugins/SvnAuthzAdminPlugin-1.0.dev0-py2.6.egg
2016-12-06 10:53:15,539 Trac[loader] DEBUG: Adding plugin TracAnnouncer 1.0.dev0 from /home/projects/xxx/plugins/TracAnnouncer-1.0.dev0-py2.6.egg
2016-12-06 10:53:15,539 Trac[loader] DEBUG: Adding plugin TracCodeReviewer 1.0.0.dev0 from /home/projects/xxx/plugins/TracCodeReviewer-1.0.0.dev0-py2.6.egg
2016-12-06 10:53:15,539 Trac[loader] DEBUG: Adding plugin TracWikiExtras 1.0.dev0 from /home/projects/xxx/plugins/TracWikiExtras-1.0.dev0-py2.6.egg
2016-12-06 10:53:15,540 Trac[loader] DEBUG: Adding plugin NoteBox 1.0.post0 from /home/projects/xxx/plugins/NoteBox-1.0.post0-py2.6.egg
2016-12-06 10:53:15,540 Trac[loader] DEBUG: Adding plugin TracIniAdminPanel 1.0.2 from /home/projects/xxx/plugins/TracIniAdminPanel-1.0.2-py2.6.egg
2016-12-06 10:53:15,540 Trac[loader] DEBUG: Adding plugin TracXMLRPC 1.1.5 from /home/projects/xxx/plugins/TracXMLRPC-1.1.5-py2.6.egg
2016-12-06 10:53:15,541 Trac[loader] DEBUG: Adding plugin CodeExampleMacro 1.2.post0 from /home/projects/xxx/plugins/CodeExampleMacro-1.2.post0-py2.6.egg
2016-12-06 10:53:15,541 Trac[loader] DEBUG: Adding plugin DataSaverPlugin 2.0.dev0 from /home/projects/xxx/plugins/DataSaverPlugin-2.0.dev0-py2.6.egg
2016-12-06 10:53:15,541 Trac[loader] DEBUG: Adding plugin PlantUML 2.1.dev0 from /home/projects/xxx/plugins/PlantUML-2.1.dev0-py2.6.egg
2016-12-06 10:53:15,541 Trac[loader] DEBUG: Adding plugin TracDynamicFields 2.2.0 from /home/projects/xxx/plugins/TracDynamicFields-2.2.0-py2.6.egg
2016-12-06 10:53:15,542 Trac[loader] DEBUG: Adding plugin Tracchildtickets 2.5.4.dev0 from /home/projects/xxx/plugins/Tracchildtickets-2.5.4.dev0-py2.6.egg
2016-12-06 10:53:15,542 Trac[loader] DEBUG: Adding plugin TracIncludeMacro 3.0.0.dev0 from /home/projects/xxx/plugins/TracIncludeMacro-3.0.0.dev0-py2.6.egg
2016-12-06 10:53:15,542 Trac[loader] DEBUG: Adding plugin TracDateField 3.0.0 from /home/projects/xxx/plugins/TracDateField-3.0.0-py2.6.egg
2016-12-06 10:53:15,543 Trac[loader] DEBUG: Adding plugin TracPermRedirect 3.0 from /home/projects/xxx/plugins/TracPermRedirect-3.0-py2.6.egg
2016-12-06 10:53:15,543 Trac[loader] DEBUG: Adding plugin BackLinksMacro 7.0.dev0 from /home/projects/xxx/plugins/BackLinksMacro-7.0.dev0-py2.6.egg
2016-12-06 10:53:15,664 Trac[loader] DEBUG: Loading BackLinksMacro from /home/projects/xxx/plugins/BackLinksMacro-7.0.dev0-py2.6.egg
2016-12-06 10:53:15,676 Trac[loader] DEBUG: Loading Markdown.macro from /home/projects/xxx/plugins/TracMarkdownMacro-0.11.4.post0-py2.6.egg
2016-12-06 10:53:15,678 Trac[loader] DEBUG: Loading STractistics from /home/projects/xxx/plugins/STractistics-0.6dev_r0-py2.6.egg
2016-12-06 10:53:15,679 Trac[loader] DEBUG: Loading TracXMLRPC from /home/projects/xxx/plugins/TracXMLRPC-1.1.5-py2.6.egg
2016-12-06 10:53:15,727 Trac[loader] DEBUG: Loading acct_mgr.admin from /home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-06 10:53:15,741 Trac[loader] DEBUG: Loading acct_mgr.api from /home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-06 10:53:15,741 Trac[loader] DEBUG: Loading acct_mgr.db from /home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-06 10:53:15,742 Trac[loader] DEBUG: Loading acct_mgr.htfile from /home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-06 10:53:15,743 Trac[loader] DEBUG: Loading acct_mgr.http from /home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-06 10:53:15,743 Trac[loader] DEBUG: Loading acct_mgr.macros from /home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-06 10:53:15,744 Trac[loader] DEBUG: Loading acct_mgr.notification from /home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-06 10:53:15,745 Trac[loader] DEBUG: Loading acct_mgr.opt.announcer.uid_chg from /home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-06 10:53:15,748 Trac[loader] DEBUG: Loading acct_mgr.opt.radius from /home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-06 10:53:15,844 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-06 10:53:15,844 Trac[loader] DEBUG: Loading acct_mgr.opt.tracforms.uid_chg from /home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-06 10:53:15,939 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-06 10:53:15,939 Trac[loader] DEBUG: Loading acct_mgr.opt.tracscreenshots.uid_chg from /home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-06 10:53:16,035 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-06 10:53:16,035 Trac[loader] DEBUG: Loading acct_mgr.opt.tracvote.uid_chg from /home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-06 10:53:16,130 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-06 10:53:16,130 Trac[loader] DEBUG: Loading acct_mgr.pwhash from /home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-06 10:53:16,131 Trac[loader] DEBUG: Loading acct_mgr.register from /home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-06 10:53:16,131 Trac[loader] DEBUG: Loading acct_mgr.svnserve from /home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-06 10:53:16,132 Trac[loader] DEBUG: Loading acct_mgr.web_ui from /home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-12-06 10:53:16,133 Trac[loader] DEBUG: Loading announcer.api from /home/projects/xxx/plugins/TracAnnouncer-1.0.dev0-py2.6.egg
2016-12-06 10:53:16,133 Trac[loader] DEBUG: Loading announcer.distributors.mail from /home/projects/xxx/plugins/TracAnnouncer-1.0.dev0-py2.6.egg
2016-12-06 10:53:16,136 Trac[loader] DEBUG: Loading announcer.distributors.xmppd from /home/projects/xxx/plugins/TracAnnouncer-1.0.dev0-py2.6.egg
2016-12-06 10:53:16,231 Trac[loader] DEBUG: Skipping "announcer.distributors.xmppd = announcer.distributors.xmppd [xmpp]": ("DistributionNotFound: The 'xmpppy' distribution was not foundand is required by the application" not found)
2016-12-06 10:53:16,231 Trac[loader] DEBUG: Loading announcer.email_decorators from /home/projects/xxx/plugins/TracAnnouncer-1.0.dev0-py2.6.egg
2016-12-06 10:53:16,232 Trac[loader] DEBUG: Loading announcer.filters from /home/projects/xxx/plugins/TracAnnouncer-1.0.dev0-py2.6.egg
2016-12-06 10:53:16,233 Trac[loader] DEBUG: Loading announcer.formatters from /home/projects/xxx/plugins/TracAnnouncer-1.0.dev0-py2.6.egg
2016-12-06 10:53:16,300 Trac[loader] DEBUG: Loading announcer.model from /home/projects/xxx/plugins/TracAnnouncer-1.0.dev0-py2.6.egg
2016-12-06 10:53:16,301 Trac[loader] DEBUG: Loading announcer.opt.acct_mgr.announce from /home/projects/xxx/plugins/TracAnnouncer-1.0.dev0-py2.6.egg
2016-12-06 10:53:16,302 Trac[loader] DEBUG: Loading announcer.opt.bitten.announce from /home/projects/xxx/plugins/TracAnnouncer-1.0.dev0-py2.6.egg
2016-12-06 10:53:16,397 Trac[loader] DEBUG: Skipping "announcer.opt.bitten.announce = announcer.opt.bitten.announce [bitten]": ("DistributionNotFound: The 'Bitten' distribution was not found and is required by the application" not found)
2016-12-06 10:53:16,397 Trac[loader] DEBUG: Loading announcer.opt.fullblog.announce from /home/projects/xxx/plugins/TracAnnouncer-1.0.dev0-py2.6.egg
2016-12-06 10:53:16,492 Trac[loader] DEBUG: Skipping "announcer.opt.fullblog.announce = announcer.opt.fullblog.announce [fullblog]": ("DistributionNotFound: The 'TracFullBlogPlugin' distribution was not found and is required by the application" not found)
2016-12-06 10:53:16,492 Trac[loader] DEBUG: Loading announcer.opt.subscribers from /home/projects/xxx/plugins/TracAnnouncer-1.0.dev0-py2.6.egg
2016-12-06 10:53:16,494 Trac[loader] DEBUG: Loading announcer.pref from /home/projects/xxx/plugins/TracAnnouncer-1.0.dev0-py2.6.egg
2016-12-06 10:53:16,495 Trac[loader] DEBUG: Loading announcer.producers from /home/projects/xxx/plugins/TracAnnouncer-1.0.dev0-py2.6.egg
2016-12-06 10:53:16,496 Trac[loader] DEBUG: Loading announcer.resolvers from /home/projects/xxx/plugins/TracAnnouncer-1.0.dev0-py2.6.egg
2016-12-06 10:53:16,496 Trac[loader] DEBUG: Loading announcer.subscribers from /home/projects/xxx/plugins/TracAnnouncer-1.0.dev0-py2.6.egg
2016-12-06 10:53:16,497 Trac[loader] DEBUG: Loading announcer.util.mail from /home/projects/xxx/plugins/TracAnnouncer-1.0.dev0-py2.6.egg
2016-12-06 10:53:16,498 Trac[loader] DEBUG: Loading blackmagic from /home/projects/xxx/plugins/BlackMagicTicketTweaks-0.12.2-py2.6.egg
2016-12-06 10:53:16,499 Trac[loader] DEBUG: Loading breadcrumbsnav from /home/projects/xxx/plugins/BreadCrumbsNav-0.3dev_r0-py2.6.egg
2016-12-06 10:53:16,500 Trac[loader] DEBUG: Loading cc_selector.cc_selector from /home/projects/xxx/plugins/cc_selector-0.0.4-py2.6.egg
2016-12-06 10:53:16,501 Trac[loader] DEBUG: Loading childtickets from /home/projects/xxx/plugins/Tracchildtickets-2.5.4.dev0-py2.6.egg
2016-12-06 10:53:16,504 Trac[loader] DEBUG: Loading codeexample from /home/projects/xxx/plugins/CodeExampleMacro-1.2.post0-py2.6.egg
2016-12-06 10:53:16,510 Trac[loader] DEBUG: Loading coderev.api from /home/projects/xxx/plugins/TracCodeReviewer-1.0.0.dev0-py2.6.egg
2016-12-06 10:53:16,512 Trac[loader] DEBUG: Loading coderev.web_ui from /home/projects/xxx/plugins/TracCodeReviewer-1.0.0.dev0-py2.6.egg
2016-12-06 10:53:16,522 Trac[loader] DEBUG: Loading customfieldadmin.admin from /home/projects/xxx/plugins/TracCustomFieldAdmin-0.2.12-py2.6.egg
2016-12-06 10:53:16,524 Trac[loader] DEBUG: Loading customfieldadmin.api from /home/projects/xxx/plugins/TracCustomFieldAdmin-0.2.12-py2.6.egg
2016-12-06 10:53:16,524 Trac[loader] DEBUG: Loading datasaver from /home/projects/xxx/plugins/DataSaverPlugin-2.0.dev0-py2.6.egg
2016-12-06 10:53:16,526 Trac[loader] DEBUG: Loading datefield.filter from /home/projects/xxx/plugins/TracDateField-3.0.0-py2.6.egg
2016-12-06 10:53:16,526 Trac[loader] DEBUG: Loading dynfields.rules from /home/projects/xxx/plugins/TracDynamicFields-2.2.0-py2.6.egg
2016-12-06 10:53:16,528 Trac[loader] DEBUG: Loading dynfields.web_ui from /home/projects/xxx/plugins/TracDynamicFields-2.2.0-py2.6.egg
2016-12-06 10:53:16,529 Trac[loader] DEBUG: Loading ganttcalendar.admin from /home/projects/xxx/plugins/TracGanttCalendarPlugin-0.6.4.post0-py2.6.egg
2016-12-06 10:53:16,531 Trac[loader] DEBUG: Loading ganttcalendar.complete_by_close from /home/projects/xxx/plugins/TracGanttCalendarPlugin-0.6.4.post0-py2.6.egg
2016-12-06 10:53:16,531 Trac[loader] DEBUG: Loading ganttcalendar.ticketcalendar from /home/projects/xxx/plugins/TracGanttCalendarPlugin-0.6.4.post0-py2.6.egg
2016-12-06 10:53:16,531 Trac[loader] DEBUG: Loading ganttcalendar.ticketgantt from /home/projects/xxx/plugins/TracGanttCalendarPlugin-0.6.4.post0-py2.6.egg
2016-12-06 10:53:16,532 Trac[loader] DEBUG: Loading ganttcalendar.ticketvalidator from /home/projects/xxx/plugins/TracGanttCalendarPlugin-0.6.4.post0-py2.6.egg
2016-12-06 10:53:16,532 Trac[loader] DEBUG: Loading gridmod.web_ui from /home/projects/xxx/plugins/GridModify-0.1.6dev_r0-py2.6.egg
2016-12-06 10:53:16,532 Trac[loader] DEBUG: Loading groupticketfields from /home/projects/xxx/plugins/GroupTicketFields-0.0.1dev_r0-py2.6.egg
2016-12-06 10:53:16,533 Trac[loader] DEBUG: Loading includemacro.macros from /home/projects/xxx/plugins/TracIncludeMacro-3.0.0.dev0-py2.6.egg
2016-12-06 10:53:16,534 Trac[loader] DEBUG: Loading inieditorpanel.default_manager from /home/projects/xxx/plugins/TracIniAdminPanel-1.0.2-py2.6.egg
2016-12-06 10:53:16,535 Trac[loader] DEBUG: Loading inieditorpanel.web_ui from /home/projects/xxx/plugins/TracIniAdminPanel-1.0.2-py2.6.egg
2016-12-06 10:53:16,536 Trac[loader] DEBUG: Loading lineno from /home/projects/xxx/plugins/Lineno-1.2dev_r0-py2.6.egg
2016-12-06 10:53:16,537 Trac[loader] DEBUG: Loading notebox from /home/projects/xxx/plugins/NoteBox-1.0.post0-py2.6.egg
2016-12-06 10:53:16,537 Trac[loader] DEBUG: Loading permredirect.filter from /home/projects/xxx/plugins/TracPermRedirect-3.0-py2.6.egg
2016-12-06 10:53:16,538 Trac[loader] DEBUG: Loading plantuml.macro from /home/projects/xxx/plugins/PlantUML-2.1.dev0-py2.6.egg
2016-12-06 10:53:16,539 Trac[loader] DEBUG: Loading projectmenu.web_ui from /home/projects/xxx/plugins/TracProjectMenu-2.0dev_r0-py2.6.egg
2016-12-06 10:53:16,539 Trac[loader] DEBUG: Loading simplemultiproject from /home/projects/xxx/plugins/SimpleMultiProject-0.5.2.dev0-py2.6.egg
2016-12-06 10:53:16,544 Trac[loader] DEBUG: Loading svnauthz.admin_ui from /home/projects/xxx/plugins/SvnAuthzAdminPlugin-1.0.dev0-py2.6.egg
2016-12-06 10:53:16,545 Trac[loader] DEBUG: Loading table from /home/projects/xxx/plugins/TablePlugin-0.2.post0-py2.6.egg
2016-12-06 10:53:16,619 Trac[loader] DEBUG: Loading ticketcalendar.web_ui from /home/projects/xxx/plugins/TicketCalendarPlugin-0.12.0.2-py2.6.egg
2016-12-06 10:53:16,621 Trac[loader] DEBUG: Loading ticketext.template from /home/projects/xxx/plugins/TicketExtPlugin-0.3.2.post0-py2.6.egg
2016-12-06 10:53:16,621 Trac[loader] DEBUG: Loading ticketext.template_admin from /home/projects/xxx/plugins/TicketExtPlugin-0.3.2.post0-py2.6.egg
2016-12-06 10:53:16,622 Trac[loader] DEBUG: Loading trac.about from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,622 Trac[loader] DEBUG: Loading trac.admin.console from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,625 Trac[loader] DEBUG: Loading trac.admin.web_ui from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,625 Trac[loader] DEBUG: Loading trac.attachment from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,626 Trac[loader] DEBUG: Loading trac.db.mysql from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,626 Trac[loader] DEBUG: Loading trac.db.postgres from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,627 Trac[loader] DEBUG: Loading trac.db.sqlite from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,627 Trac[loader] DEBUG: Loading trac.mimeview.patch from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,628 Trac[loader] DEBUG: Loading trac.mimeview.pygments from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,628 Trac[loader] DEBUG: Loading trac.mimeview.rst from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,629 Trac[loader] DEBUG: Loading trac.mimeview.txtl from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,632 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 <module>
    import textile
ImportError: No module named textile
2016-12-06 10:53:16,632 Trac[loader] DEBUG: Loading trac.notification.api from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,632 Trac[loader] DEBUG: Loading trac.notification.compat from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,633 Trac[loader] DEBUG: Loading trac.notification.mail from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,633 Trac[loader] DEBUG: Loading trac.notification.prefs from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,634 Trac[loader] DEBUG: Loading trac.prefs from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,635 Trac[loader] DEBUG: Loading trac.search from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,635 Trac[loader] DEBUG: Loading trac.ticket.admin from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,636 Trac[loader] DEBUG: Loading trac.ticket.batch from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,637 Trac[loader] DEBUG: Loading trac.ticket.query from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,638 Trac[loader] DEBUG: Loading trac.ticket.report from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,640 Trac[loader] DEBUG: Loading trac.ticket.roadmap from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,640 Trac[loader] DEBUG: Loading trac.ticket.web_ui from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,641 Trac[loader] DEBUG: Loading trac.timeline from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,642 Trac[loader] DEBUG: Loading trac.versioncontrol.admin from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,643 Trac[loader] DEBUG: Loading trac.versioncontrol.svn_authz from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,644 Trac[loader] DEBUG: Loading trac.versioncontrol.web_ui from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,644 Trac[loader] DEBUG: Loading trac.web.auth from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,644 Trac[loader] DEBUG: Loading trac.web.main from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,645 Trac[loader] DEBUG: Loading trac.web.session from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,645 Trac[loader] DEBUG: Loading trac.wiki.admin from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,646 Trac[loader] DEBUG: Loading trac.wiki.interwiki from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,646 Trac[loader] DEBUG: Loading trac.wiki.macros from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,647 Trac[loader] DEBUG: Loading trac.wiki.web_api from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,647 Trac[loader] DEBUG: Loading trac.wiki.web_ui from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,648 Trac[loader] DEBUG: Loading tracextracturl.extracturl from /home/projects/xxx/plugins/TracExtractUrl-0.3-py2.6.egg
2016-12-06 10:53:16,648 Trac[loader] DEBUG: Loading tracextracturl.macro from /home/projects/xxx/plugins/TracExtractUrl-0.3-py2.6.egg
2016-12-06 10:53:16,649 Trac[loader] DEBUG: Loading trachtmlnotification.notification from /home/projects/xxx/plugins/TracHtmlNotificationPlugin-0.12.0.1-py2.6.egg
2016-12-06 10:53:16,650 Trac[loader] DEBUG: Loading tracmindmap.macro from /home/projects/xxx/plugins/TracMindMapMacro-0.5.dev0-py2.6.egg
2016-12-06 10:53:16,653 Trac[loader] DEBUG: Loading tracnumberedheadlines.plugin from /home/projects/xxx/plugins/TracNumberedHeadlinesPlugin-0.4.post0-py2.6.egg
2016-12-06 10:53:16,653 Trac[loader] DEBUG: Loading tracopt.perm.authz_policy from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,654 Trac[loader] DEBUG: Loading tracopt.perm.config_perm_provider from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,655 Trac[loader] DEBUG: Loading tracopt.ticket.clone from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,655 Trac[loader] DEBUG: Loading tracopt.ticket.commit_updater from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,656 Trac[loader] DEBUG: Loading tracopt.ticket.deleter from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,657 Trac[loader] DEBUG: Loading tracopt.versioncontrol.git.git_fs from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,660 Trac[loader] DEBUG: Loading tracopt.versioncontrol.svn.svn_fs from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,661 Trac[loader] DEBUG: Loading tracopt.versioncontrol.svn.svn_prop from /usr/lib/python2.6/site-packages
2016-12-06 10:53:16,662 Trac[loader] DEBUG: Loading tracsectionedit.web_ui from /home/projects/xxx/plugins/TracSectionEditPlugin-0.2.6.post0-py2.6.egg
2016-12-06 10:53:16,663 Trac[loader] DEBUG: Loading tracsubtickets.api from /home/projects/xxx/plugins/TracSubTicketsPlugin-0.2.0.dev20161020-py2.6.egg
2016-12-06 10:53:16,664 Trac[loader] DEBUG: Loading tracsubtickets.web_ui from /home/projects/xxx/plugins/TracSubTicketsPlugin-0.2.0.dev20161020-py2.6.egg
2016-12-06 10:53:16,665 Trac[loader] DEBUG: Loading tractags from /home/projects/xxx/plugins/TracTags-0.9.dev0-py2.6.egg
2016-12-06 10:53:16,672 Trac[loader] DEBUG: Loading tractags.xmlrpc from /home/projects/xxx/plugins/TracTags-0.9.dev0-py2.6.egg
2016-12-06 10:53:16,673 Trac[loader] DEBUG: Loading tracusermanager.account from /home/projects/xxx/plugins/TracUserManagerPlugin-0.5.dev0-py2.6.egg
2016-12-06 10:53:16,674 Trac[loader] DEBUG: Loading tracusermanager.admin from /home/projects/xxx/plugins/TracUserManagerPlugin-0.5.dev0-py2.6.egg
2016-12-06 10:53:16,675 Trac[loader] DEBUG: Loading tracusermanager.api from /home/projects/xxx/plugins/TracUserManagerPlugin-0.5.dev0-py2.6.egg
2016-12-06 10:53:16,675 Trac[loader] DEBUG: Loading tracusermanager.permissions from /home/projects/xxx/plugins/TracUserManagerPlugin-0.5.dev0-py2.6.egg
2016-12-06 10:53:16,675 Trac[loader] DEBUG: Loading tracusermanager.profile from /home/projects/xxx/plugins/TracUserManagerPlugin-0.5.dev0-py2.6.egg
2016-12-06 10:53:16,679 Trac[loader] DEBUG: Loading tracwikiextras from /home/projects/xxx/plugins/TracWikiExtras-1.0.dev0-py2.6.egg
2016-12-06 10:53:17,642 Trac[loader] DEBUG: Loading tracworkflowadmin.web_ui from /home/projects/xxx/plugins/TracWorkflowAdmin-0.12.0.2-py2.6.egg
2016-12-06 10:53:17,648 Trac[loader] DEBUG: Loading tracwysiwyg from /home/projects/xxx/plugins/TracWysiwyg-0.12.0.5.post0-py2.6.egg
2016-12-06 10:53:17,648 Trac[loader] DEBUG: Loading userpictures from /usr/lib/python2.6/site-packages/trac_UserPicturesPlugin-0.1.1-py2.6.egg
2016-12-06 10:53:17,650 Trac[loader] DEBUG: Loading file plugin milncheckbox from /home/projects/xxx/plugins/milncheckbox.py
2016-12-06 10:53:17,650 Trac[loader] DEBUG: Loading file plugin Color from /home/projects/xxx/plugins/Color.py
2016-12-06 10:53:17,656 Trac[default_workflow] DEBUG: Workflow actions at initialization: defaultdict(<type 'dict'>, {u'resolve': {u'operations': [u'set_resolution'], u'name': u'\u5173\u95ed\u4efb\u52a1', u'default': 999, 'newstate': u'closed', 'label': u'\u5173\u95ed\u4efb\u52a1', 'oldstates': [u'reviewing', u'reopened'], u'permissions': [u'TICKET_MODIFY']}, u'create': {'operations': [], 'name': '', u'default': 1, 'newstate': u'new', 'label': u'create', 'oldstates': [None], 'permissions': []}, u'accept': {u'operations': [u'set_owner_to_self'], u'name': u'\u9886\u53d6\u4efb\u52a1', u'default': 997, 'newstate': u'assigned', 'label': u'\u9886\u53d6\u4efb\u52a1', 'oldstates': [u'new'], u'permissions': [u'TICKET_MODIFY']}, u'leave': {u'operations': [u'leave_status'], u'name': u'\u521d\u59cb\u5316', u'default': 1000, 'newstate': u'*', 'label': u'\u521d\u59cb\u5316', 'oldstates': [u'assigned', u'new', u'reviewing', u'accepted', u'reopened', u'closed'], 'permissions': []}, u'reopen': {u'operations': [u'del_resolution'], u'name': u'\u6fc0\u6d3b\u4efb\u52a1', u'default': 996, 'newstate': u'reopened', 'label': u'\u6fc0\u6d3b\u4efb\u52a1', 'oldstates': [u'closed'], u'permissions': [u'TICKET_CREATE']}, u'create_and_assign': {u'operations': [u'may_set_owner'], 'name': '', 'default': 0, 'newstate': u'assigned', u'label': u'assign', 'oldstates': [None], u'permissions': [u'TICKET_MODIFY']}, u'reassign': {u'operations': [u'set_owner'], u'name': u'\u6307\u6d3e', u'default': 995, 'newstate': u'assigned', 'label': u'\u6307\u6d3e', 'oldstates': [u'assigned', u'new', u'reviewing', u'accepted', u'reopened'], u'permissions': [u'TICKET_MODIFY']}, u'review': {u'operations': [u'set_owner'], u'name': u'\u63d0\u4ea4\u5ba1\u67e5', u'default': 998, 'newstate': u'reviewing', 'label': u'\u63d0\u4ea4\u5ba1\u67e5', 'oldstates': [u'assigned'], u'permissions': [u'TICKET_MODIFY']}, '_reset': {'operations': ['reset_workflow'], 'default': 0, 'newstate': 'new', 'label': 'reset', 'oldstates': [], 'permissions': ['TICKET_ADMIN']}, u'reassign_reviewing': {u'operations': [u'set_owner'], u'name': u'\u91cd\u65b0\u63d0\u4ea4\u5ba1\u67e5', u'default': 994, 'newstate': u'*', 'label': u'\u91cd\u65b0\u63d0\u4ea4\u5ba1\u67e5', 'oldstates': [u'reviewing'], u'permissions': [u'TICKET_MODIFY']}})

2016-12-06 10:53:17,675 Trac[environmentSetup] DEBUG: SimpleMultiProject database schema version: 6 (should be 6)
2016-12-06 10:53:17,678 Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/ticket/508'">
2016-12-06 10:53:17,688 Trac[web_ui] WARNING: ResetPwStore is disabled, therefore password reset won't work.
2016-12-06 10:53:17,693 Trac[main] DEBUG: Chosen handler is <Component trac.ticket.web_ui.TicketModule>
2016-12-06 10:53:17,693 Trac[blackmagic] DEBUG: Tweaks
2016-12-06 10:53:17,693 Trac[blackmagic] DEBUG: Enchants {'': {'notice': None, 'hide': False, 'permission': '', 'tip': None, 'label': None, 'ondenial': 'disable', 'disable': False}}
2016-12-06 10:53:17,708 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 432, in _post_process_request
    for f in reversed(self.filters):
  File "/usr/lib/python2.6/site-packages/trac/config.py", line 900, in __get__
    for impl in self.xtnpt.extensions(instance):
  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/simplemultiproject/roadmap.py", line 28, in __init__
    self.group_tmpl = Chrome(self.env).load_template("smp_roadmap.html")
  File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 1064, in load_template
    self.get_all_templates_dirs(), auto_reload=self.auto_reload,
  File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 769, in get_all_templates_dirs
    for provider in self.template_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/wiki.py", line 89, in __init__
    self.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'
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 421, in _pre_process_request
    for filter_ in self.filters:
  File "/usr/lib/python2.6/site-packages/trac/config.py", line 900, in __get__
    for impl in self.xtnpt.extensions(instance):
  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/simplemultiproject/roadmap.py", line 28, in __init__
    self.group_tmpl = Chrome(self.env).load_template("smp_roadmap.html")
  File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 1064, in load_template
    self.get_all_templates_dirs(), auto_reload=self.auto_reload,
  File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 769, in get_all_templates_dirs
    for provider in self.template_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/wiki.py", line 89, in __init__
    self.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写道:

Jun Omae

unread,
Dec 5, 2016, 9:58:09 PM12/5/16
to trac-...@googlegroups.com
On Tue, Dec 6, 2016 at 11:55 AM, Mingxing Tian <mx....@qq.com> wrote:
> Trac cannot be accessed after the upgrade!!!

You should confirm installed plugins are supporting Trac 1.2 before
upgrading to 1.2.


--
Jun Omae <jun...@gmail.com> (大前 潤)

RjOllos

unread,
Dec 5, 2016, 9:58:33 PM12/5/16
to Trac Users
Do the following report the correct versions?:

$ tracd --version
$ easy_install --version

If they report 1.2 and 30.2, respectively, then I think you are probably okay.

- Ryan
 

Mingxing Tian

unread,
Dec 5, 2016, 10:01:39 PM12/5/16
to Trac Users
[root@host105 plugins]# tracd --version
tracd 1.2
[root@host105 plugins]#  easy_install --version
setuptools 30.2.0 from /usr/lib/python2.6/site-packages (Python 2.6)


It looks as if it has been installed, but now Trac can't access it.




在 2016年12月6日星期二 UTC+8上午10:58:33,RjOllos写道:

Mingxing Tian

unread,
Dec 5, 2016, 10:02:38 PM12/5/16
to Trac Users
From the Trac startup log, you can help me see where there is a problem?

在 2016年12月6日星期二 UTC+8上午10:58:09,Jun Omae写道:

Ryan Ollos

unread,
Dec 5, 2016, 10:07:31 PM12/5/16
to trac-...@googlegroups.com
On Mon, Dec 5, 2016 at 7:02 PM Mingxing Tian <mx....@qq.com> wrote:
From the Trac startup log, you can help me see where there is a problem?

If you read the traceback you will see that the immediate problem is with TracTags.

  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'

TagsPlugin is compatible with Trac 1.2, you just need to upgrade to version 0.8.

However, you have many plugins installed, so you will need to check whether each is compatible with Trac 1.2, as Jun said.

- Ryan

Message has been deleted
Message has been deleted

Mingxing Tian

unread,
Dec 6, 2016, 12:59:19 AM12/6/16
to Trac Users
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 <module>
    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'
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 613, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 220, in dispatch
    chosen_handler = self._pre_process_request(req, chosen_handler)
  File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 422, in _pre_process_request
    chosen_handler = filter_.pre_process_request(req, chosen_handler)
  File "build/bdist.linux-x86_64/egg/acct_mgr/api.py", line 478, in pre_process_request
    if not req.session.authenticated or \
  File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 492, in __getattr__
    value = self.callbacks[name](self)
  File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 350, in _get_session
    return Session(self.env, req)
  File "/usr/lib/python2.6/site-packages/trac/web/session.py", line 242, in __init__
    if req.authname == 'anonymous':
  File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 492, in __getattr__
    value = self.callbacks[name](self)
  File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 172, in authenticate
    authname = 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月6日星期二 UTC+8上午11:07:31,RjOllos写道:

RjOllos

unread,
Dec 6, 2016, 1:08:00 AM12/6/16
to Trac Users


First, please avoid top-posting. Please reply at the bottom of the message so that we can maintain a thread with logical ordering.

A correction to what I said earlier: you need to install TracTags 0.9dev, from the trunk of that project.

You can determine which plugin is causing the issue by looking at the traceback. Read it in reverse order, and you will see the "acct_mgr" as the last line in the traceback. The problem is with AccountManagerPlugin. The relevant ticket is #12569, and it hasn't been fixed yet.

You should read TracUpgrade. It lists plugins that can be removed from your installation.

Make a list of the plugins you have installed. Compare that list with those tagged 1.2, and you can check off those plugins as being compatible with Trac 1.2.

Next reply here with the list of plugins that you could not determine are compatible with Trac 1.2. We'll look at that list and let you know which won't work with Trac 1.2. You have a large number of plugins installed and you upgrade path is going to be difficult.

I suggest you restore from backup and return to Trac 1.0.13. Setup a staging site for testing your 1.2 upgrade; it's going to take some effort and time to get your site upgraded to Trac 1.2. Note - you need to restore from backup. You can't just reinstall Trac 1.0.13 because the database has been upgraded.

- Ryan
 

Mingxing Tian

unread,
Dec 6, 2016, 1:12:48 AM12/6/16
to Trac Users


在 2016年12月6日星期二 UTC+8下午2:08:00,RjOllos写道:
Thank you for your advice and guidance, I did not have to backup before upgrade, this is really a bad habit. So I can only take the time to upgrade now. There is no regret medicine to eat.
 

RjOllos

unread,
Dec 6, 2016, 1:43:30 AM12/6/16
to Trac Users
#11915 has been resolved, so you can install from the AccountManger trunk to fix the most recent issue you reported.

- Ryan 

Mingxing Tian

unread,
Dec 6, 2016, 3:02:52 AM12/6/16
to Trac Users


在 2016年12月6日星期二 UTC+8下午2:43:30,RjOllos写道:
I updated the code on the main trunk, and now only the error, and then trouble you to help give some advice!

2016-12-06 15:58:05,092 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/tracsectionedit/web_ui.py", line 57, in post_process_request
    and 'WIKI_MODIFY' in req.perm:
  File "/usr/lib/python2.6/site-packages/trac/perm.py", line 586, in has_permission
    return self._has_permission(action, resource)
  File "/usr/lib/python2.6/site-packages/trac/perm.py", line 600, in _has_permission
    check_permission(action, perm.username, resource, perm)
  File "/usr/lib/python2.6/site-packages/trac/perm.py", line 495, in check_permission
    for policy in self.policies:
  File "/usr/lib/python2.6/site-packages/trac/config.py", line 900, in __get__
    for impl in self.xtnpt.extensions(instance):
  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 "/usr/lib/python2.6/site-packages/tracopt/perm/authz_policy.py", line 136, in __init__
    raise ConfigurationError()
ConfigurationError: Look in the Trac log for more information.


 

RjOllos

unread,
Dec 6, 2016, 3:30:20 AM12/6/16
to Trac Users
On the previous line in the log file you should find:

The `[authz_policy] authz_file` configuration option in trac.ini is empty or not defined. 

Are you using AuthzPolicy? If you are using it, it will be listed in [trac] permission_policies. Please let me know the value of [trac] permission_policies for your environment. It seems you have not specified [authz_policy] authz_file. Do you recall setting the value?

In upgrade step db36.py, the value of [authz_policy] authz_file was modified. The original value should be found in $env/conf/trac.ini.db36.bak. If the value is not found in trac.ini, please let me know the value found in the trac.ini.db36.bak file. There could be a problem with that upgrade step.


- Ryan

Mingxing Tian

unread,
Dec 6, 2016, 3:43:29 AM12/6/16
to Trac Users


在 2016年12月6日星期二 UTC+8下午4:30:20,RjOllos写道:
Fortunately, the page can be accessed, but can not normally show, I screenshot to you.
TypeError: inline_overwrite_get_known_users() got an unexpected keyword argument 'as_dict'



 

Ryan Ollos

unread,
Dec 6, 2016, 3:56:16 AM12/6/16
to trac-...@googlegroups.com
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'




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:

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.


- Ryan 

Mingxing Tian

unread,
Dec 6, 2016, 4:14:44 AM12/6/16
to Trac Users


在 2016年12月6日星期二 UTC+8下午4:56:16,RjOllos写道:
According to your guidance, I have disabled the `TracUserManagerPlugin` plug-in, the current query task when a single error, I cut a picture to show you.

2016-12-06 17:08:35,179 Trac[main] ERROR: Internal Server Error: <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

RjOllos

unread,
Dec 6, 2016, 4:17:16 AM12/6/16
to Trac Users
Look at the traceback. Where do you think the problem lies? 

Mingxing Tian

unread,
Dec 6, 2016, 4:36:45 AM12/6/16
to Trac Users


在 2016年12月6日星期二 UTC+8下午5:17:16,RjOllos写道:
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: <RequestWithSession "GET '/ticket/523?action=delete'">, 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'



RjOllos

unread,
Dec 6, 2016, 4:50:17 AM12/6/16
to Trac Users
You should remove AnnouncerPlugin, it's not compatible with Trac 1.2. Trac 1.2 has an improved notification system that includes some components that were ported from Announcer.

You probably need to disable UserPicturesPlugin. If you'd like the issue fixed, please report it:

- Ryan
 

Mingxing Tian

unread,
Dec 6, 2016, 9:03:47 PM12/6/16
to Trac Users


在 2016年12月6日星期二 UTC+8下午5:50:17,RjOllos写道:
I found a few problems:
1. the first page is being given, please refer to Annex.
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


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


 

RjOllos

unread,
Dec 7, 2016, 12:03:58 AM12/7/16
to Trac Users


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:

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


 

Mingxing Tian

unread,
Dec 7, 2016, 1:22:26 AM12/7/16
to Trac Users


在 2016年12月7日星期三 UTC+8下午1:03:58,RjOllos写道:
Thank you very much for your suggestion, I really should be good to check their own and exclude some ridiculous questions. Here's my reply to your suggestion:
1. By updating the "TracWysiwygPlugin" plug-in, so that part of the JS problem is resolved, but there is still a problem:
jquery.js:2 Uncaught Error: Syntax error, unrecognized expression: *[@id](…)
Which I can not confirm in the end is which plug-in problems, well, I really tried to check.
2. By updating the trunk code, I fixed the problem Thank you.
3. I am in the management module configuration account error, when I click "next" when I appeared above the problem mentioned. According to the error, I think it is necessary to manually "trac.ini" in the distribution of what? ?? ??


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


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


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

RjOllos

unread,
Dec 7, 2016, 1:37:57 AM12/7/16
to Trac Users
Thank you for the info. Hint - take a unique part of that expression, such as "*[@id]", put it in the search box on trac-hacks.org. That leads me to:

Okay, now you can check. Does error go away if disabling SectionEditPlugin? Make sure to do a hard refresh of the page when enabling / disabling, before testing. If the error goes away, then we can confirm SectionEdit is the issue, in which case I'll look at fixing #12721.
 
2. By updating the trunk code, I fixed the problem Thank you.
3. I am in the management module configuration account error, when I click "next" when I appeared above the problem mentioned. According to the error, I think it is necessary to manually "trac.ini" in the distribution of what? ?? ??


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


I find there are problems with that Configuration wizard of AccountManager, so maybe it's best to avoid it. Instead, I think you should just directly edit trac.ini in your Environment, using this recipe:

Info on editing trac.ini in Trac environment is found here:

Let me know if it's still not clear.

 

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



The Modify section should be collapsed, as seen here:

Make sure to do a hard refresh (SHIFT + F5) to clear the cache. If the problem persists, I suspect you'll find a JavaScript error in the console, and we'll probably need to solve those errors in order to get the JavaScript functionality on the ticket page working again.

Also, just to be sure, did you do this step to refresh static resources?

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

Do you mean, you cannot see how to Edit your comment? On hover, you should see the icons appear in the upper right corner of the comment. Perhaps they don't appear due to the JavaScript errors.


 
- Ryan

Mingxing Tian

unread,
Dec 7, 2016, 2:16:19 AM12/7/16