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 #512 (closed defect: fixed)

Opened 11 years ago

Last modified 10 years ago

Error with adm18n in r644

Reported by: krys@… Owned by: anonymous
Priority: normal Milestone: 0.9a2
Component: Toolbox Version:
Severity: major Keywords: adm18n toolbox subversion windows
Cc:

Description

Hi,

My turbogears project is in a subversion repository. When I try to collect strings in adm18n from the toolbox on my working copy, I get the following traceback:

Page handler: <bound method Internationalization.string_collection of <turbogears.toolbox.admi18n.Internationalization object at 0x011F9AF0>>
Traceback (most recent call last):
  File "e:\python24\lib\site-packages\cherrypy-2.2.0beta-py2.4.egg\cherrypy\_cphttptools.py", line 99, in _run
    self.main()
  File "e:\python24\lib\site-packages\cherrypy-2.2.0beta-py2.4.egg\cherrypy\_cphttptools.py", line 247, in main
    body = page_handler(*virtual_path, **self.params)
  File "<string>", line 3, in string_collection
  File "e:\krys\turbogears\turbogears\controllers.py", line 218, in expose
    func, tg_format, html, fragment, *args, **kw)
  File "e:\krys\turbogears\turbogears\database.py", line 193, in run_with_transaction
    retval = func(*args, **kw)
  File "e:\krys\turbogears\turbogears\controllers.py", line 248, in _execute_func
    output = dispatch_error(func, self, *args, **kw)
  File "<string>", line 5, in dispatch_error
  File "e:\krys\turbogears\turbogears\controllers.py", line 300, in _default_error_handler
    return getattr(self, error_source.__name__ )(*args, **kw)
  File "<string>", line 3, in string_collection
  File "e:\krys\turbogears\turbogears\controllers.py", line 214, in expose
    output = _execute_func(self, func, tg_format, html, fragment, *args, **kw)
  File "e:\krys\turbogears\turbogears\controllers.py", line 245, in _execute_func
    raise error
IndentationError: unindent does not match any outer indentation level

What I see in the list of files to choose is that all the files in .svn are listed but the .svn folder itself is not. Hence there are jumps in the indentation level.

I should note that I am running on Windows XP and that the .svn folders are marked as hidden.

Solving this would be wonderful as my project must be bilingual and I currently cannot translate it.

Thanks, Krys

Change History

comment:1 Changed 11 years ago by roger.demetrescu

Hi Krys...

The patch sent to #678 should solve these incorrect jumps behavior.

[]s Roger

comment:2 Changed 11 years ago by kevin

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from 0.9 to 0.9a2

Should be fixed in [1012].

comment:3 Changed 11 years ago by krys@…

Thanks! :-)

Note: See TracTickets for help on using tickets.