Modify

Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#9994 closed defect (wontfix)

NameError: global name 'log' is not defined

Reported by: trac-hacks.org@… 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 http://trac-hacks.org/svn/ticketimportplugin/0.11 ticketimportplugin
...

# cd ticketimportplugin

# python setup.py 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 "setup.py", line 26, in ?
    entry_points={'trac.plugins': 'TicketImport = %s' % (PACKAGE)}
  File "/usr/lib64/python2.4/distutils/core.py", line 149, in setup
    dist.run_commands()
  File "/usr/lib64/python2.4/distutils/dist.py", line 946, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python2.4/distutils/dist.py", line 966, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.4/site-packages/setuptools/command/bdist_egg.py", line 167, in run
    self.run_command("egg_info")
  File "/usr/lib64/python2.4/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/usr/lib64/python2.4/distutils/dist.py", line 966, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.4/site-packages/setuptools/command/egg_info.py", line 171, in run
    self.find_sources()
  File "/usr/lib/python2.4/site-packages/setuptools/command/egg_info.py", line 252, in find_sources
    mm.run()
  File "/usr/lib/python2.4/site-packages/setuptools/command/egg_info.py", line 306, in run
    self.add_defaults()
  File "/usr/lib/python2.4/site-packages/setuptools/command/egg_info.py", line 333, in add_defaults
    rcfiles = list(walk_revctrl())
  File "/usr/lib/python2.4/site-packages/setuptools/command/sdist.py", line 45, in walk_revctrl
    for item in ep.load()(dirname):
  File "/usr/lib/python2.4/site-packages/setuptools/command/sdist.py", line 52, in _default_revctrl
    for path in finder(dirname,path):
  File "/usr/lib/python2.4/site-packages/setuptools/command/sdist.py", 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 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 5 years ago by anonymous

Can we add that to the wiki? TicketImportPlugin

comment:3 Changed 5 years ago by Ryan J Ollos

Description: modified (diff)

comment:4 Changed 4 years ago by Ryan J Ollos

Keywords: setuptools added

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain François Granade.
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.