Modify

Opened 11 years ago

Closed 11 years ago

Last modified 7 years ago

#11143 closed defect (invalid)

ImportError: cannot import name ConfigSection versus git push

Reported by: Ivanelson Nunes Owned by: Mikael Relbe
Priority: normal Component: WikiExtrasPlugin
Severity: normal Keywords: ConfigSection, wikiextra
Cc: Ryan J Ollos, Ivanelson Nunes, Christian Boos 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 11 years ago by Ivanelson Nunes

Cc: Ryan J Ollos added

comment:2 Changed 11 years ago by Ryan J Ollos

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

comment:3 Changed 11 years ago by Jun Omae

Resolution: invalid
Status: newclosed

comment:4 in reply to:  2 Changed 11 years ago by Ivanelson Nunes

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

Last edited 11 years ago by Ryan J Ollos (previous) (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Mikael Relbe.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.