Control: reopen -1
On Tue, Mar 31, 2020 at 02:36:05PM +0000, Debian Bug Tracking System wrote:
>...
> jsxgraph (1.3.5+dfsg1-5) unstable; urgency=medium
> .
> * Changed the dependency on python, made it a pre-dependency.
> Closes: #954776
>...
Doesn't work:
Setting up jsxgraph (1.3.5+dfsg1-5) ...
Traceback (most recent call last):
File "/usr/lib/python3.8/py_compile.py", line 144, in compile
code = loader.source_to_code(source_bytes, dfile or file,
File "<frozen importlib._bootstrap_external>", line 846, in source_to_code
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/share/jsxgraph/src/server/JXGServerModule.py", line 8
def init(self, resp):
^
TabError: inconsistent use of tabs and spaces in indentation
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.8/py_compile.py", line 197, in main
compile(filename, doraise=True)
File "/usr/lib/python3.8/py_compile.py", line 150, in compile
raise py_exc
__main__.PyCompileError: Sorry: TabError: inconsistent use of tabs and
spaces in indentation (JXGServerModule.py, line 8)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 193, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/usr/lib/python3.8/py_compile.py", line 218, in <module>
sys.exit(main())
File "/usr/lib/python3.8/py_compile.py", line 200, in main
if quiet < 2:
NameError: name 'quiet' is not defined
dpkg: error processing package jsxgraph (--configure):
Looking at the error message, the problem is not a missing python
interpreter, but python complaining about (easy to fix?) problems
in the python code.
cu
Adrian