Modify

Opened 3 years ago

Closed 3 years ago

Last modified 19 months ago

#9994 closed defect (wontfix)

NameError: global name 'log' is not defined

Reported by: trac-hacks.org@… Owned by: farialima
Priority: normal Component: TicketImportPlugin
Severity: normal Keywords: setuptools
Cc: jun66j5 Trac Release: 0.12

Description (last modified by rjollos)

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

Can we add that to the wiki? TicketImportPlugin

comment:3 Changed 3 years ago by rjollos

  • Description modified (diff)

comment:4 Changed 19 months ago by rjollos

  • Keywords setuptools added

Add Comment

Modify Ticket

Action
as closed The owner will remain farialima.
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.