Skip to content

Noisey exception interferres with debugging unrelated code #30254

Open
@PhilipDeegan

Description

@PhilipDeegan

Hi,

I'm not sure where to put this issue, but I would really like to not have to deal with this exception.

throw py::attribute_error(

I see this on multiple operating systems, and I've no idea what ft2font even is

#0  0x00007ffff4aa90a1 in __cxa_throw () from /lib/x86_64-linux-gnu/libstdc++.so.6
#1  0x00007ffff112ea57 in ft2font__getattr__(std::basic_string<char, std::char_traits<char>, std::allocator<char> >) [clone .lto_priv.0] [clone .cold] () from /opt/py/python-3.12.11/lib/python3.12/site-packages/matplotlib/ft2font.cpython-312-x86_64-linux-gnu.so
#2  0x00007ffff11681b6 in pybind11::cpp_function::initialize<pybind11::object (*&)(std::basic_string<char, std::char_traits<char>, std::allocator<char> >), pybind11::object, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, pybind11::name, pybind11::scope, pybind11::sibling>(pybind11::object (*&)(std::basic_string<char, std::char_traits<char>, std::allocator<char> >), pybind11::object (*)(std::basic_string<char, std::char_traits<char>, std::allocator<char> >), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&) () from /opt/py/python-3.12.11/lib/python3.12/site-packages/matplotlib/ft2font.cpython-312-x86_64-linux-gnu.so
#3  0x00007ffff113eb65 in pybind11::cpp_function::dispatcher(_object*, _object*, _object*) () from /opt/py/python-3.12.11/lib/python3.12/site-packages/matplotlib/ft2font.cpython-312-x86_64-linux-gnu.so
#4  0x00007ffff7a2af21 in cfunction_call (func=0x7ffff1252980, args=0x7ffff1ca5690, kwargs=0x0) at Objects/methodobject.c:537
#5  0x00007ffff7a0b2bb in _PyObject_MakeTpCall (tstate=0x7ffff7e78a10 <_PyRuntime+458992>, callable=0x7ffff1252980, args=0x7fffffffca28, nargs=1, keywords=0x0) at Objects/call.c:240
#6  0x00007ffff7a0bc58 in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=9223372036854775809, args=0x7fffffffca28, callable=0x7ffff1252980, tstate=0x7ffff7e78a10 <_PyRuntime+458992>) at ./Include/internal/pycore_call.h:90
#7  _PyObject_VectorcallTstate (kwnames=0x0, nargsf=9223372036854775809, args=0x7fffffffca28, callable=0x7ffff1252980, tstate=0x7ffff7e78a10 <_PyRuntime+458992>) at ./Include/internal/pycore_call.h:77
#8  PyObject_CallOneArg (func=0x7ffff1252980, arg=arg@entry=0x7ffff7e10440 <_PyRuntime+31520>) at Objects/call.c:401
#9  0x00007ffff7a2b364 in _Py_module_getattro_impl (m=0x7ffff1250180, name=0x7ffff7e10440 <_PyRuntime+31520>, suppress=1) at Objects/moduleobject.c:807
#10 0x00007ffff7a2b1cf in _Py_module_getattro_impl (m=<optimized out>, name=<optimized out>, suppress=<optimized out>) at Objects/moduleobject.c:858
#11 0x00007ffff7a2c0ac in _PyObject_LookupAttr (v=0x7ffff1250180, name=<optimized out>, result=result@entry=0x7fffffffcab8) at Objects/object.c:1114

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions