Issue #3353 resolved

AttributeError: 'ParsingError' object has no attribute 'lineno'

Takumi IINO avatarTakumi IINO created an issue
** Mercurial version (2.7.1+2-e90c37d7d48c).  TortoiseHg version (2.9+44-bd34385a2c28)
** Command: 
** CWD: /Applications/TortoiseHg.app/Contents/Resources
** Encoding: US-ASCII
** Extensions loaded: churn, convert, eol, extdiff, histedit, mq, rebase, record, schemes, transplant, grepfile, review, collapse, hgsubversion, patience
** Python version: 2.7.1 (r271:86832, Jul 31 2011, 19:30:53) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]
** System: Darwin iino-no-Mac-mini.local 12.4.0 Darwin Kernel Version 12.4.0: Wed May  1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64
** Qt-4.8.0 PyQt-4.9 QScintilla-2.6
Traceback (most recent call last):
  File "/Applications/TortoiseHg.app/Contents/Resources/tortoisehg/hgqt/settings.py", line 1222, in accept
  File "/Applications/TortoiseHg.app/Contents/Resources/tortoisehg/hgqt/settings.py", line 1200, in applyChanges
  File "/Applications/TortoiseHg.app/Contents/Resources/tortoisehg/hgqt/settings.py", line 1620, in applyChanges
  File "/Applications/TortoiseHg.app/Contents/Resources/tortoisehg/util/wconfig.py", line 249, in writefile
  File "/Applications/TortoiseHg.app/Contents/Resources/tortoisehg/util/wconfig.py", line 176, in write
  File "/Applications/TortoiseHg.app/Contents/Resources/tortoisehg/util/wconfig.py", line 208, in _readini
  File "/Applications/TortoiseHg.app/Contents/Resources/tortoisehg/util/wconfig.py", line 191, in newini
AttributeError: 'ParsingError' object has no attribute 'lineno'

Python's ConfigParser.ParsingError has no attribute lineno.

Comments (1)

  1. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.