Opened 5 years ago

Closed 5 years ago

Last modified 3 years ago

#9994 closed defect (wontfix)

NameError: global name 'log' is not defined

Reported by:… Owned by: farialima
Priority: normal Component: TicketImportPlugin
Severity: normal Keywords: setuptools
Cc: jun66j5 Trac Release: 0.12

Description (last modified by rjollos)

# svn co ticketimportplugin

# cd ticketimportplugin

# python bdist_egg

running bdist_egg
running egg_info
writing TicketImport.egg-info/PKG-INFO
writing top-level names to TicketImport.egg-info/top_level.txt
writing dependency_links to TicketImport.egg-info/dependency_links.txt
writing entry points to TicketImport.egg-info/entry_points.txt
Traceback (most recent call last):
  File "", line 26, in ?
    entry_points={'trac.plugins': 'TicketImport = %s' % (PACKAGE)}
  File "/usr/lib64/python2.4/distutils/", line 149, in setup
  File "/usr/lib64/python2.4/distutils/", line 946, in run_commands
  File "/usr/lib64/python2.4/distutils/", line 966, in run_command
  File "/usr/lib/python2.4/site-packages/setuptools/command/", line 167, in run
  File "/usr/lib64/python2.4/distutils/", line 333, in run_command
  File "/usr/lib64/python2.4/distutils/", line 966, in run_command
  File "/usr/lib/python2.4/site-packages/setuptools/command/", line 171, in run
  File "/usr/lib/python2.4/site-packages/setuptools/command/", line 252, in find_sources
  File "/usr/lib/python2.4/site-packages/setuptools/command/", line 306, in run
  File "/usr/lib/python2.4/site-packages/setuptools/command/", line 333, in add_defaults
    rcfiles = list(walk_revctrl())
  File "/usr/lib/python2.4/site-packages/setuptools/command/", line 45, in walk_revctrl
    for item in ep.load()(dirname):
  File "/usr/lib/python2.4/site-packages/setuptools/command/", line 52, in _default_revctrl
    for path in finder(dirname,path):
  File "/usr/lib/python2.4/site-packages/setuptools/command/", line 98, in entries_finder
    log.warn("unrecognized .svn/entries format in %s", dirname)
NameError: global name 'log' is not defined

Attachments (0)

Change History (4)

comment:1 Changed 5 years ago by jun66j5

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

This is setuptools issue with subversion 1.6+.

Please update the latest of setuptools or use svn export instead of svn checkout.

comment:2 Changed 5 years ago by anonymous

Can we add that to the wiki? TicketImportPlugin

comment:3 Changed 5 years ago by rjollos

  • Description modified (diff)

comment:4 Changed 3 years ago by rjollos

  • Keywords setuptools added

Add Comment

Modify Ticket

as closed The owner will remain farialima.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.