- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我在 linux 上用 opencv python 开发了一个程序,现在我想在 mac 上运行它。
但是现在我在运行它时遇到以下错误。我使用 brew 安装了 opencv。
/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 /Users /krupanilesh/Desktop/dependencies/gazedev.py
2015-06-23 12:17:00.197 Python[803:16229] -[_NSFullScreenWindow sliders]: unrecognized selector sent to instance 0x102dcb8c0
2015-06-23 12:17:00.198 Python[803:16229] An uncaught exception was raised
2015-06-23 12:17:00.198 Python[803:16229] -[_NSFullScreenWindow sliders]: unrecognized selector sent to instance 0x102dcb8c0
2015-06-23 12:17:00.198 Python[803:16229] (
0 CoreFoundation 0x00007fff96b4303c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff8b34176e objc_exception_throw + 43
2 CoreFoundation 0x00007fff96b460ad -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x00007fff96a8be24 ___forwarding___ + 1028
4 CoreFoundation 0x00007fff96a8b998 _CF_forwarding_prep_0 + 120
5 libopencv_highgui.2.4.dylib 0x0000000101f684d8 -[CVView setFrameSize:] + 193
6 libopencv_highgui.2.4.dylib 0x0000000101f664b3 cvShowImage + 887
7 libopencv_highgui.2.4.dylib 0x0000000101f6506d _ZN2cv6imshowERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEERKNS_11_InputArrayE + 390
8 cv2.so 0x0000000101888e61 _ZL15pyopencv_imshowP7_objectS0_S0_ + 366
9 Python 0x00000001000c357d PyEval_EvalFrameEx + 24829
10 Python 0x00000001000c58e3 PyEval_EvalCodeEx + 2115
11 Python 0x00000001000c5a06 PyEval_EvalCode + 54
12 Python 0x00000001000ea41e PyRun_FileExFlags + 174
13 Python 0x00000001000ea6ba PyRun_SimpleFileExFlags + 458
14 Python 0x000000010010187d Py_Main + 3101
15 Python 0x0000000100000f14 Python + 3860
16 ??? 0x0000000000000002 0x0 + 2
)
2015-06-23 12:17:00.199 Python[803:16229] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[_NSFullScreenWindow sliders]: unrecognized selector sent to instance 0x102dcb8c0'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff96b4303c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff8b34176e objc_exception_throw + 43
2 CoreFoundation 0x00007fff96b460ad -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x00007fff96a8be24 ___forwarding___ + 1028
4 CoreFoundation 0x00007fff96a8b998 _CF_forwarding_prep_0 + 120
5 libopencv_highgui.2.4.dylib 0x0000000101f684d8 -[CVView setFrameSize:] + 193
6 libopencv_highgui.2.4.dylib 0x0000000101f664b3 cvShowImage + 887
7 libopencv_highgui.2.4.dylib 0x0000000101f6506d _ZN2cv6imshowERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEERKNS_11_InputArrayE + 390
8 cv2.so 0x0000000101888e61 _ZL15pyopencv_imshowP7_objectS0_S0_ + 366
9 Python 0x00000001000c357d PyEval_EvalFrameEx + 24829
10 Python 0x00000001000c58e3 PyEval_EvalCodeEx + 2115
11 Python 0x00000001000c5a06 PyEval_EvalCode + 54
12 Python 0x00000001000ea41e PyRun_FileExFlags + 174
13 Python 0x00000001000ea6ba PyRun_SimpleFileExFlags + 458
14 Python 0x000000010010187d Py_Main + 3101
15 Python 0x0000000100000f14 Python + 3860
16 ??? 0x0000000000000002 0x0 + 2
)
libc++abi.dylib: terminating with uncaught exception of type NSException
提前致谢
最佳答案
我终于自己解决了这个问题,由于某种原因全屏模式在 mac 上不起作用,禁用它解决了我的问题。
关于python - libc++abi.dylib : terminating with uncaught exception of type NSException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30997347/
你好我是 Angular JS 的初学者,当我开始创建模块和 Controller 时,我无法打印我的消息,下面是我的代码 var myModule = angular.module("myFirst
我对 JQuery 还是个新手,我正在尝试使用它遍历 JSON 数组并使用数组中的数据更新我的网页。 JSON 文件如下所示: [ { "firstname":"John",
我正在使用 AngularJS 1.3.5,我正在尝试从 json 文件中获取信息。这是我的代码:HTML 文件: {{da
我正在创建 Bootstrap 模板。我收到两个错误,我不知道自己做错了什么。当我搜索类似的问题时,似乎是脚本错乱了,但我认为它们的位置是正确的。 两个错误: 未捕获的 ReferenceError:
我试图用子菜单制作导航栏,但我一直收到 dropMenu 未定义,当我将鼠标悬停在两个巴黎链接上时,我收到 Uncaught TypeError: Cannot read property 'styl
我正在尝试在名为 UserComponent 的 Angular 组件上运行 karma 测试。在此组件中,我有一个 ngOnInit 执行此操作: ngOnInit() { const
当我启用 login.spec.ts 测试时,对于不同的测试,我总是随机收到此错误。未捕获错误:未捕获( promise ):错误:无法匹配任何路由。 URL 段:“注销” 我尝试使用以下方法伪造 a
自从我设置一个与 Angular 一起运行的网络应用程序以来已经有一段时间了。我正在通过一个旧项目回顾我的步骤(尝试在我正在做的页面上实现一个 Controller ,确保 Controller 文件
在 AWS Elastic Beanstalk 上部署应用程序后会发生此错误。构建和部署成功,所有模块都正常工作,除了一个显示上述 super 表达式错误的模块。一切似乎都在本地机器上正常工作,甚至可
我刚刚开始使用 Node.js 并尝试使用模块。我已经安装了 Node 和 npm,并确保一切顺利。我将在下面添加代码来向您展示我得到了什么。 我有两个 js 文件,它们在这里。 app.js: va
在 Android 4.4.2 KitKat (API 19) 模拟器上运行时,我的代码出现问题... 当我在 Android 4.3 (API 18) 模拟器上模拟我的项目时,它正常工作并使用 Ma
function more(){ var MoreDetails = document.getElementById('MoreDetails'); More
我正在练习 Javascript,并且有以下代码,该代码在 sets[i][j] = initial_sets [i ][j]; 行。这个想法似乎是正确的,但我不明白为什么会出现错误。 var set
$(document).ready(function(){ $('#name').val('Name1'); }); function clickMe(){ console.lo
我正在创建一个网络应用程序,但我遇到了一个无法解决的简单问题。我已将产生问题的代码放在这里:http://jsfiddle.net/rkumarnirmal/5w3FG/ 应该显示此答案的第二个ale
我正在执行一项长时间运行的任务,在中间的某个位置,可能会抛出此异常: Uncaught DOMException: Blocked a frame with origin "http://localh
我试图通过使用 HTML5 中的 onEnded 属性一首接一首地播放 3 首歌曲。这是我的第一次尝试,但出现错误。 错误: Uncaught ReferenceError: src is not d
检查 Fiddle 以查看发生的故障。 当我将数据(即使我将其留空)添加到文本框并尝试单击“添加”时,它没有执行任何操作。 打开 Chrome 和 Firefox 控制台都给我同样的错误,它说“cha
这个问题在这里已经有了答案: How to access the correct `this` inside a callback (13 个回答) 关闭5年前。 您好,这是我的(快捷方式)示例代码:
我正在处理一个项目,每次 Node 运行我的代码时,浏览器控制台都会给我这个: Uncaught TypeError: Failed to resolve module specifier "expr
我是一名优秀的程序员,十分优秀!