Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#9994 closed defect (wontfix)

NameError: global name 'log' is not defined

Reported by:… Owned by: François Granade
Priority: normal Component: TicketImportPlugin
Severity: normal Keywords: setuptools
Cc: Jun Omae Trac Release: 0.12

Description (last modified by Ryan J Ollos)

# 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 6 years ago by Jun Omae

Resolution: wontfix
Status: newclosed

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 6 years ago by anonymous

Can we add that to the wiki? TicketImportPlugin

comment:3 Changed 6 years ago by Ryan J Ollos

Description: modified (diff)

comment:4 Changed 5 years ago by Ryan J Ollos

Keywords: setuptools added

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain François Granade.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.