Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #383 (closed defect: duplicate)

Opened 13 years ago

Last modified 12 years ago

r502: admi18n "I'm feeling lucky" fails on fresh quickstart project

Reported by: anonymous Owned by: anonymous
Priority: normal Milestone: 0.9
Component: Toolbox Version:
Severity: normal Keywords: toolbox admi18n language translate
Cc:

Description

using the toolbox to generate another language file by "I'm feeling lucky":

Server got itself in trouble

Traceback (most recent call last):

File "/usr/lib/python2.4/site-packages/CherryPy-2.1.1-py2.4.egg/cherrypy/_cphttptools.py", line 271, in run

main()

File "/usr/lib/python2.4/site-packages/CherryPy-2.1.1-py2.4.egg/cherrypy/_cphttptools.py", line 502, in main

body = page_handler(*args, cherrypy.request.paramMap)

File "/mnt/storage/www_sync/_turbogears_trunk/turbogears/controllers.py", line 240, in newfunc

html, fragment, *args, kw)

File "/mnt/storage/www_sync/_turbogears_trunk/turbogears/database.py", line 189, in run_with_transaction

retval = func(*args, kw)

File "/mnt/storage/www_sync/_turbogears_trunk/turbogears/controllers.py", line 257, in _execute_func

output = func(self, *args, kw)

File "/mnt/storage/www_sync/_turbogears_trunk/turbogears/toolbox/admi18n/init.py", line 122, in po_view

self.google_translate(code,from_lang,to_lang,kargs)

File "/mnt/storage/www_sync/_turbogears_trunk/turbogears/toolbox/admi18n/init.py", line 107, in google_translate

catalog.update(path,msg_id,translated)

File "/mnt/storage/www_sync/_turbogears_trunk/turbogears/toolbox/admi18n/catalog.py", line 71, in update

message_list = parse(path)

File "/mnt/storage/www_sync/_turbogears_trunk/turbogears/toolbox/admi18n/catalog.py", line 153, in parse

l = eval(l)

File "<string>", line 1

"#loginBox

SyntaxError?: EOL while scanning single-quoted string

Change History

comment:1 Changed 13 years ago by anonymous

  • Status changed from new to closed
  • Resolution set to duplicate
Note: See TracTickets for help on using tickets.