Opened 16 years ago
Closed 13 years ago
#7020 closed defect (duplicate)
[Patch] Install leads to Error line 79
| Reported by: | Owned by: | David Francos Cuartero | |
|---|---|---|---|
| Priority: | high | Component: | TicketBackLinksMacro |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.11 |
Description (last modified by )
fred@svn:/var/tmp/ticketbacklinksmacro/0.11$ sudo python setup.py
install
running install
running bdist_egg
running egg_info
writing TicketBackLinksDescription.egg-info/PKG-INFO
writing top-level names to TicketBackLinksDescription.egg-info/top_level.txt
writing dependency_links to TicketBackLinksDescription.egg-info/dependency_links.txt
writing entry points to TicketBackLinksDescription.egg-info/entry_points.txt
reading manifest file 'TicketBackLinksDescription.egg-info/SOURCES.txt'
writing manifest file 'TicketBackLinksDescription.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-i686/egg
running install_lib
running build_py
creating build/bdist.linux-i686/egg
creating build/bdist.linux-i686/egg/TicketBackLinksDescription
copying build/lib/TicketBackLinksDescription/macro.py -> build/bdist.linux-i686/egg/TicketBackLinksDescription
copying build/lib/TicketBackLinksDescription/__init__.py -> build/bdist.linux-i686/egg/TicketBackLinksDescription
byte-compiling build/bdist.linux-i686/egg/TicketBackLinksDescription/macro.py to macro.pyc
File "build/bdist.linux-i686/egg/TicketBackLinksDescription/macro.py", line 79
return buf.getvalue()
SyntaxError: 'return' outside function
byte-compiling build/bdist.linux-i686/egg/TicketBackLinksDescription/__init__.py to __init__.pyc
creating build/bdist.linux-i686/egg/EGG-INFO
copying TicketBackLinksDescription.egg-info/PKG-INFO -> build/bdist.linux-i686/egg/EGG-INFO
copying TicketBackLinksDescription.egg-info/SOURCES.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying TicketBackLinksDescription.egg-info/dependency_links.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying TicketBackLinksDescription.egg-info/entry_points.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying TicketBackLinksDescription.egg-info/not-zip-safe -> build/bdist.linux-i686/egg/EGG-INFO
copying TicketBackLinksDescription.egg-info/top_level.txt -> build/bdist.linux-i686/egg/EGG-INFO
creating 'dist/TicketBackLinksDescription-0.1-py2.5.egg' and adding 'build/bdist.linux-i686/egg' to it
removing 'build/bdist.linux-i686/egg' (and everything under it)
Processing TicketBackLinksDescription-0.1-py2.5.egg
removing '/usr/lib/python2.5/site-packages/TicketBackLinksDescription-0.1-py2.5.egg' (and everything under it)
creating /usr/lib/python2.5/site-packages/TicketBackLinksDescription-0.1-py2.5.egg
Extracting TicketBackLinksDescription-0.1-py2.5.egg to /usr/lib/python2.5/site-packages
File "/usr/lib/python2.5/site-packages/TicketBackLinksDescription-0.1-py2.5.egg/TicketBackLinksDescription/macro.py", line 79
return buf.getvalue()
SyntaxError: 'return' outside function
TicketBackLinksDescription 0.1 is already the active version in easy-install.pth
Installed /usr/lib/python2.5/site-packages/TicketBackLinksDescription-0.1-py2.5.egg
Processing dependencies for TicketBackLinksDescription==0.1
Finished processing dependencies for TicketBackLinksDescription==0.1
Attachments (1)
Change History (7)
Changed 16 years ago by
comment:1 Changed 15 years ago by
| Description: | modified (diff) |
|---|---|
| Owner: | changed from Mel Chua to Ryan J Ollos |
Reassigning to new maintainer.
comment:2 Changed 15 years ago by
| Priority: | normal → high |
|---|---|
| Summary: | Install leads to Error line 79 → [Patch] Install leads to Error line 79 |
This should be a fairly easy fix, so I'm bumping up the priority.
comment:3 Changed 15 years ago by
| Component: | TracBacksPlugin → TicketBackLinksMacro |
|---|---|
| Owner: | changed from Ryan J Ollos to David Francos Cuartero |
This was incorrectly assigned. Its a report against the TicketBackLinksMacro.
comment:4 follow-up: 5 Changed 14 years ago by
Tested the patch from #7832 with Trac 0.11.5 on Ubuntu 9.10 and it allowed me to install it. It is a duplicate of this ticket but this ticket does not contain a patch so I used the one there.
I will test the functionality next and apply the SQL changes mentioned in the other tickets if necessary.
comment:5 Changed 14 years ago by
Replying to lucasrangit:
I will test the functionality next and apply the SQL changes mentioned in the other tickets if necessary.
I had the issue that tickets would not get seen when a ticket number did not have a trailing white-space character. The correct SQL query is described at #6382. I use SQLite 2.8.17 by the way.
comment:6 Changed 13 years ago by
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |



proposed fix. Please test !