Modify

Opened 15 months ago

Closed 15 months ago

Last modified 15 months ago

#11143 closed defect (invalid)

ImportError: cannot import name ConfigSection versus git push

Reported by: ivanelson Owned by: mrelbe
Priority: normal Component: WikiExtrasPlugin
Severity: normal Keywords: ConfigSection, wikiextra
Cc: rjollos, ivanelsonnunes@…, cboos Trac Release: 1.0

Description

Another detail! Always after the command:
$ git push origin develop

Or am I mistaken! :(

My git version: 1.7.10.4

Tested on Trac1.0 and Trac1.0.1

2013-06-05 00:08:21,025 Trac[loader] DEBUG: Loading tracwikiextras from /usr/local/lib/python2.7/dist-packages/TracWikiExtras-0.13.2dev_r0-py2.7.egg
2013-06-05 00:08:21,028 Trac[loader] ERROR: Skipping "tracwikiextras = tracwikiextras":
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/trac/loader.py", line 68, in _load_eggs
    entry.load(require=True)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1989, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/local/lib/python2.7/dist-packages/TracWikiExtras-0.13.2dev_r0-py2.7.egg/tracwikiextras/__init__.py", line 1, in <module>
    from boxes import AboutWikiBoxes, Boxes
  File "/usr/local/lib/python2.7/dist-packages/TracWikiExtras-0.13.2dev_r0-py2.7.egg/tracwikiextras/boxes.py", line 28, in <module>
    from tracwikiextras.icons import Icons
  File "/usr/local/lib/python2.7/dist-packages/TracWikiExtras-0.13.2dev_r0-py2.7.egg/tracwikiextras/icons.py", line 55, in <module>
    from trac.config import BoolOption, ConfigSection, IntOption, ListOption
ImportError: cannot import name ConfigSection
2013-06-05 00:08:21,028 Trac[loader] DEBUG: Loading tracwysiwyg from /usr/lib/python2.7/dist-packages
2013-06-05 00:08:21,028 Trac[loader] DEBUG: Loading userpictures from /usr/local/lib/python2.7/dist-packages/trac_UserPicturesPlugin-0.1.1-py2.7.egg
2013-06-05 00:08:21,030 Trac[loader] DEBUG: Loading wikitable.scalar from /usr/local/lib/python2.7/dist-packages/WikiTableMacro-0.2dev-py2.7.egg
2013-06-05 00:08:21,030 Trac[loader] DEBUG: Loading wikitable.table from /usr/local/lib/python2.7/dist-packages/WikiTableMacro-0.2dev-py2.7.egg
2013-06-05 00:08:21,031 Trac[loader] DEBUG: Loading file plugin __init__ from /var/trac/projects/claudino/plugins/__init__.py
2013-06-05 00:08:21,031 Trac[api] DEBUG: Event changeset_added on  for changesets (u'0e7b53935e49d50eef3e9d6945543a19dd510d8c',)
2013-06-05 00:08:21,069 Trac[svn_fs] DEBUG: Subversion bindings imported

Attachments (0)

Change History (4)

comment:1 Changed 15 months ago by ivanelson

  • Cc rjollos added

comment:2 follow-up: Changed 15 months ago by rjollos

That's odd, because ConfigSection does exist in Trac 1.0.1.

comment:3 Changed 15 months ago by jun66j5

  • Resolution set to invalid
  • Status changed from new to closed

comment:4 in reply to: ↑ 2 Changed 15 months ago by ivanelson

Replying to rjollos:

That's odd, because ConfigSection does exist in Trac 1.0.1.

Rjollos,

The error was presented in 02 versions 1.0 and 1.0.1. Perhaps the real reason for the
error is because on my machine there was a deb package trac12.1.3
(/usr/bin/trac-admin) and then may be it was coming conflict with the plugin. For this plugin only supports version 1.0 of Trac.
Yes, it was identified here: https://groups.google.com/d/topic/trac-users/uAqX5XlK9Lg/discussion

Version 0, edited 15 months ago by ivanelson (next)

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.