Skip to content

make check error: "TypeError: unsupported operand type(s) for /=: 'a_double' and 'a_double'" #3

@utke1

Description

@utke1

as in

jutke@vb:/sandbox/jutke/work/Git/cppad_py/build$ make check              
[ 36%] Built target auto_lib_python
python: a_double_cond_assign_xam: OK
python: a_double_property_xam: OK
python: a_double_unary_fun_xam: OK
python: a_double_unary_op_xam: OK
Traceback (most recent call last):
  File "check_all.py", line 51, in <module>
    ok = run_test(name)
  File "check_all.py", line 16, in run_test
    exec( 'ok = '   + name + '.' + name + '()', namespace )
  File "<string>", line 1, in <module>
  File "/sandbox/jutke/work/Git/cppad_py/build/lib/example/python/a_double_assign_xam.py", line 33, in a_double_assign_xam
    x /= cppad_py.a_double(4.0);
TypeError: unsupported operand type(s) for /=: 'a_double' and 'a_double'
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
    from apport.fileutils import likely_packaged, get_recent_crashes
  File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
    from apport.report import Report
  File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>
    import apport.fileutils
  File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>
    from apport.packaging_impl import impl as packaging
  File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 23, in <module>
    import apt
  File "/usr/lib/python3/dist-packages/apt/__init__.py", line 34, in <module>
    apt_pkg.init_config()
SystemError: E:Opening configuration file /etc/apt/apt.conf.d/80proxy - ifstream::ifstream (13: Permission denied)

Original exception was:
Traceback (most recent call last):
  File "check_all.py", line 51, in <module>
    ok = run_test(name)
  File "check_all.py", line 16, in run_test
    exec( 'ok = '   + name + '.' + name + '()', namespace )
  File "<string>", line 1, in <module>
  File "/sandbox/jutke/work/Git/cppad_py/build/lib/example/python/a_double_assign_xam.py", line 33, in a_double_assign_xam
    x /= cppad_py.a_double(4.0);
TypeError: unsupported operand type(s) for /=: 'a_double' and 'a_double'
lib/example/python/CMakeFiles/check_lib_python.dir/build.make:57: recipe for target 'lib/example/python/CMakeFiles/check_lib_python' failed
make[3]: *** [lib/example/python/CMakeFiles/check_lib_python] Error 1
CMakeFiles/Makefile2:667: recipe for target 'lib/example/python/CMakeFiles/check_lib_python.dir/all' failed
make[2]: *** [lib/example/python/CMakeFiles/check_lib_python.dir/all] Error 2
CMakeFiles/Makefile2:75: recipe for target 'CMakeFiles/check.dir/rule' failed
make[1]: *** [CMakeFiles/check.dir/rule] Error 2
Makefile:118: recipe for target 'check' failed
make: *** [check] Error 2
jutke@vb:/sandbox/jutke/work/Git/cppad_py/build$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions