[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Line number problem in python-mode Errors

From: Amir Teymuri
Subject: Line number problem in python-mode Errors
Date: Sat, 1 Oct 2016 18:50:30 +0200


   i am using emacs in python mode. There is a problem with the line
   numbers each time the python interpreter shows an Error:

   each time an error occurs inside my, the error message shows
   always the actual line number + 1. Here is an example:
1 from tst import *

# the interpreter error message:
>>> Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "/home/amir/programming/python/c_m/", line 2, in <module>

AttributeError: 'module' object has no attribute 'foo'

   How can i fix this problem?

   Kind regards,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]