We saw a similar error internally quite recently. A customer received the same message when trying to save a new ticket. Their description was pasted form an email, one line of which contained "[153075-5509011232]". Trac was interpreting this as a range of changelogs, but the second value was too large to fit in a 32-bit int and for whatever reason wasn't promoted to a long integer. We didn't file a bug, as Trac 0.12.3dev seems to work ok e.g. http://trac.edgewall.org/demo-0.12/wiki/SandBox/ChangesetTest
Did your comment contain anything like that? The workaround is to place ! before the offending item. Regards, Alex -- Alex Willmer | #define Developer 2 Trinity Park, Birmingham, B37 7ES | United Kingdom M: +44 7557 752744 [email protected]<mailto:[email protected]> | www.logica.com <http://www.logica.com/>Logica UK Ltd, registered in UK (registered number 947968) Registered Office: 250 Brook Drive, Green Park, Reading RG2 6UA, United Kingdom From: [email protected] [mailto:[email protected]] On Behalf Of Patty Cottrill Sent: 13 January 2012 18:12 To: [email protected] Subject: [Trac] Help-can't open Trac ticket after making a change Hi Everyone, I have an unsual problem. I just added a comment to a closed ticket, and now when i try to open it I get the following error: Oops... Trac detected an internal error: OverflowError: long int too large to convert to int Python Traceback Most recent call last: File "/home/trac/embedded/linux/.egg-cache/Trac-0.12.2-py2.6.egg-tmp/trac/ticket/templates/ticket_change.html", line 61, in <Expression u'wiki_to_html(context, change.comment, escape_newlines=preserve_newlines)'> <py:otherwise>${wiki_to_html(context, change.comment, escape_newlines=preserve_newlines)}</py:otherwise> File "build/bdist.linux-i686/egg/trac/wiki/formatter.py", line 1497, in format_to_html return HtmlFormatter(env, context, wikidom).generate(escape_newlines) File "build/bdist.linux-i686/egg/trac/wiki/formatter.py", line 1452, in generate escape_newlines) File "build/bdist.linux-i686/egg/trac/wiki/formatter.py", line 1240, in format result = re.sub(self.wikiparser.rules, self.replace, line) File "/usr/lib/python2.6/re.py", line 151, in sub return _compile(pattern, 0).sub(repl, string, count) File "build/bdist.linux-i686/egg/trac/wiki/formatter.py", line 1158, in replace replacement = self.handle_match(fullmatch) File "build/bdist.linux-i686/egg/trac/wiki/formatter.py", line 1151, in handle_match return external_handler(self, match, fullmatch) File "build/bdist.linux-i686/egg/trac/ticket/api.py", line 436, in <lambda> lambda x, y, z: self._format_link(x, 'ticket', y[1:], y, z)) File "build/bdist.linux-i686/egg/trac/ticket/api.py", line 446, in _format_link if len(r) == 1: -------------------------------------------------- Now I can't even get back into the ticket to undo that comment, cuz I keep getting the error message above. At this point, I'm not sure what to do. Here is our info: Running Trac on Kubuntu 10.04.3LTS System Information Trac 0.12.2 Genshi 0.6 mod_python 3.3.1 pysqlite 2.5.5 Python 2.6.5 (r265:79063, Apr 16 2010, 13:28:26) [GCC 4.4.3] pytz 2010b setuptools 0.6c11 SQLite 3.6.22 Subversion 1.6.6 (r40053) jQuery: 1.4.2 -Patty -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]<mailto:[email protected]>. To unsubscribe from this group, send email to [email protected]<mailto:[email protected]>. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en. Think green - keep it on the screen. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
