> On Nov 2, 2015, at 14:42, Buz Barstow <buzbars...@gmail.com> wrote:
> 
> Hi all,
> 
> Many thanks for all the help on getting SimpleCV running on the Mac under 
> Fink.
> 
> Although there is still a serious issue with libzbar, I have been able to 
> continue on with my programs built around SimpleCV by processing barcodes 
> under a version of my code run under Linux on Parallels. 
> 
> However, upon running them the subsequent programs on the Mac, I am getting 
> this runtime error:
> 
> 2015-11-02 17:30:01.764 python2.7[81126:10435254] _createMenuRef called with 
> existing principal MenuRef already associated with menu
> 2015-11-02 17:30:01.767 python2.7[81126:10435254] (
>       0   CoreFoundation                      0x00007fff8bdb6e32 
> __exceptionPreprocess + 178
>       1   libobjc.A.dylib                     0x00007fff95c644fa 
> objc_exception_throw + 48
>       2   CoreFoundation                      0x00007fff8be1d65d 
> +[NSException raise:format:] + 205
>       3   AppKit                              0x00007fff92e3fbf6 
> -[NSCarbonMenuImpl _createMenuRef] + 62
>       4   AppKit                              0x00007fff92e3f535 
> -[NSCarbonMenuImpl _instantiateCarbonMenu] + 140
>       5   AppKit                              0x00007fff92e3d218 
> -[NSApplication finishLaunching] + 856
>       6   sdlmain_osx.so                      0x0000000121478a05 
> _InstallNSApplication + 1141
>       7   libpython2.7.dylib                  0x00000001036edbfc 
> PyEval_EvalFrameEx + 15692
>       8   libpython2.7.dylib                  0x00000001036e9bba 
> PyEval_EvalCodeEx + 1690
>       9   libpython2.7.dylib                  0x00000001036758bc 
> function_call + 364
>       10  libpython2.7.dylib                  0x000000010364fbe3 
> PyObject_Call + 99
>       11  libpython2.7.dylib                  0x000000010365006e 
> PyObject_CallMethod + 318
>       12  base.so                             0x0000000107fe3f1d 
> PyGame_Video_AutoInit + 77
>       13  base.so                             0x0000000107fe4529 init + 185
>       14  libpython2.7.dylib                  0x00000001036edc7a 
> PyEval_EvalFrameEx + 15818
>       15  libpython2.7.dylib                  0x00000001036e9bba 
> PyEval_EvalCodeEx + 1690
>       16  libpython2.7.dylib                  0x00000001036758bc 
> function_call + 364
>       17  libpython2.7.dylib                  0x000000010364fbe3 
> PyObject_Call + 99
>       18  libpython2.7.dylib                  0x000000010365cc16 
> instancemethod_call + 182
>       19  libpython2.7.dylib                  0x000000010364fbe3 
> PyObject_Call + 99
>       20  libpython2.7.dylib                  0x00000001036f0a25 
> PyEval_CallObjectWithKeywords + 165
>       21  libpython2.7.dylib                  0x000000010365ac36 
> PyInstance_New + 134
>       22  libpython2.7.dylib                  0x000000010364fbe3 
> PyObject_Call + 99
>       23  libpython2.7.dylib                  0x00000001036ecbb9 
> PyEval_EvalFrameEx + 11529
>       24  libpython2.7.dylib                  0x00000001036e9bba 
> PyEval_EvalCodeEx + 1690
>       25  libpython2.7.dylib                  0x00000001036f0fa6 
> fast_function + 118
>       26  libpython2.7.dylib                  0x00000001036ed2f6 
> PyEval_EvalFrameEx + 13382
>       27  libpython2.7.dylib                  0x00000001036e9bba 
> PyEval_EvalCodeEx + 1690
>       28  libpython2.7.dylib                  0x00000001036f0fa6 
> fast_function + 118
>       29  libpython2.7.dylib                  0x00000001036ed2f6 
> PyEval_EvalFrameEx + 13382
>       30  libpython2.7.dylib                  0x00000001036e9bba 
> PyEval_EvalCodeEx + 1690
>       31  libpython2.7.dylib                  0x00000001036f0fa6 
> fast_function + 118
>       32  libpython2.7.dylib                  0x00000001036ed2f6 
> PyEval_EvalFrameEx + 13382
>       33  libpython2.7.dylib                  0x00000001036e9bba 
> PyEval_EvalCodeEx + 1690
>       34  libpython2.7.dylib                  0x00000001036f0fa6 
> fast_function + 118
>       35  libpython2.7.dylib                  0x00000001036ed2f6 
> PyEval_EvalFrameEx + 13382
>       36  libpython2.7.dylib                  0x00000001036e9bba 
> PyEval_EvalCodeEx + 1690
>       37  libpython2.7.dylib                  0x00000001036e9516 
> PyEval_EvalCode + 54
>       38  libpython2.7.dylib                  0x00000001037129e4 
> PyRun_FileExFlags + 164
>       39  libpython2.7.dylib                  0x00000001036e5b1b 
> builtin_execfile + 507
>       40  libpython2.7.dylib                  0x00000001036ed61f 
> PyEval_EvalFrameEx + 14191
>       41  libpython2.7.dylib                  0x00000001036e9bba 
> PyEval_EvalCodeEx + 1690
>       42  libpython2.7.dylib                  0x00000001036f0fa6 
> fast_function + 118
>       43  libpython2.7.dylib                  0x00000001036ed2f6 
> PyEval_EvalFrameEx + 13382
>       44  libpython2.7.dylib                  0x00000001036e9bba 
> PyEval_EvalCodeEx + 1690
>       45  libpython2.7.dylib                  0x00000001036758bc 
> function_call + 364
>       46  libpython2.7.dylib                  0x000000010364fbe3 
> PyObject_Call + 99
>       47  libpython2.7.dylib                  0x00000001036ed542 
> PyEval_EvalFrameEx + 13970
>       48  libpython2.7.dylib                  0x00000001036e9bba 
> PyEval_EvalCodeEx + 1690
>       49  libpython2.7.dylib                  0x00000001036f0fa6 
> fast_function + 118
>       50  libpython2.7.dylib                  0x00000001036ed2f6 
> PyEval_EvalFrameEx + 13382
>       51  libpython2.7.dylib                  0x00000001036e9bba 
> PyEval_EvalCodeEx + 1690
>       52  libpython2.7.dylib                  0x00000001036f0fa6 
> fast_function + 118
>       53  libpython2.7.dylib                  0x00000001036ed2f6 
> PyEval_EvalFrameEx + 13382
>       54  libpython2.7.dylib                  0x00000001036e9bba 
> PyEval_EvalCodeEx + 1690
>       55  libpython2.7.dylib                  0x00000001036758bc 
> function_call + 364
>       56  libpython2.7.dylib                  0x000000010364fbe3 
> PyObject_Call + 99
>       57  libpython2.7.dylib                  0x00000001036ed542 
> PyEval_EvalFrameEx + 13970
>       58  libpython2.7.dylib                  0x00000001036e9bba 
> PyEval_EvalCodeEx + 1690
>       59  libpython2.7.dylib                  0x00000001036f0fa6 
> fast_function + 118
>       60  libpython2.7.dylib                  0x00000001036ed2f6 
> PyEval_EvalFrameEx + 13382
>       61  libpython2.7.dylib                  0x00000001036e9bba 
> PyEval_EvalCodeEx + 1690
>       62  libpython2.7.dylib                  0x00000001036758bc 
> function_call + 364
>       63  libpython2.7.dylib                  0x000000010364fbe3 
> PyObject_Call + 99
>       64  libpython2.7.dylib                  0x00000001036ed542 
> PyEval_EvalFrameEx + 13970
>       65  libpython2.7.dylib                  0x00000001036e9bba 
> PyEval_EvalCodeEx + 1690
>       66  libpython2.7.dylib                  0x00000001036f0fa6 
> fast_function + 118
>       67  libpython2.7.dylib                  0x00000001036ed2f6 
> PyEval_EvalFrameEx + 13382
>       68  libpython2.7.dylib                  0x00000001036e9bba 
> PyEval_EvalCodeEx + 1690
>       69  libpython2.7.dylib                  0x00000001036f0fa6 
> fast_function + 118
>       70  libpython2.7.dylib                  0x00000001036ed2f6 
> PyEval_EvalFrameEx + 13382
>       71  libpython2.7.dylib                  0x00000001036e9bba 
> PyEval_EvalCodeEx + 1690
>       72  libpython2.7.dylib                  0x00000001036ee818 
> PyEval_EvalFrameEx + 18792
>       73  libpython2.7.dylib                  0x00000001036e9bba 
> PyEval_EvalCodeEx + 1690
>       74  libpython2.7.dylib                  0x00000001036f0fa6 
> fast_function + 118
>       75  libpython2.7.dylib                  0x00000001036ed2f6 
> PyEval_EvalFrameEx + 13382
>       76  libpython2.7.dylib                  0x00000001036e9bba 
> PyEval_EvalCodeEx + 1690
>       77  libpython2.7.dylib                  0x00000001036f0fa6 
> fast_function + 118
>       78  libpython2.7.dylib                  0x00000001036ed2f6 
> PyEval_EvalFrameEx + 13382
>       79  libpython2.7.dylib                  0x00000001036e9bba 
> PyEval_EvalCodeEx + 1690
>       80  libpython2.7.dylib                  0x00000001036f0fa6 
> fast_function + 118
>       81  libpython2.7.dylib                  0x00000001036ed2f6 
> PyEval_EvalFrameEx + 13382
>       82  libpython2.7.dylib                  0x00000001036e9bba 
> PyEval_EvalCodeEx + 1690
>       83  libpython2.7.dylib                  0x00000001036f0fa6 
> fast_function + 118
>       84  libpython2.7.dylib                  0x00000001036ed2f6 
> PyEval_EvalFrameEx + 13382
>       85  libpython2.7.dylib                  0x00000001036e9bba 
> PyEval_EvalCodeEx + 1690
>       86  libpython2.7.dylib                  0x00000001036f0fa6 
> fast_function + 118
>       87  libpython2.7.dylib                  0x00000001036ed2f6 
> PyEval_EvalFrameEx + 13382
>       88  libpython2.7.dylib                  0x00000001036e9bba 
> PyEval_EvalCodeEx + 1690
>       89  libpython2.7.dylib                  0x00000001036f0fa6 
> fast_function + 118
>       90  libpython2.7.dylib                  0x00000001036ed2f6 
> PyEval_EvalFrameEx + 13382
>       91  libpython2.7.dylib                  0x00000001036e9bba 
> PyEval_EvalCodeEx + 1690
>       92  libpython2.7.dylib                  0x00000001036758bc 
> function_call + 364
>       93  libpython2.7.dylib                  0x000000010364fbe3 
> PyObject_Call + 99
>       94  libpython2.7.dylib                  0x00000001036ed542 
> PyEval_EvalFrameEx + 13970
>       95  libpython2.7.dylib                  0x00000001036e9bba 
> PyEval_EvalCodeEx + 1690
>       96  libpython2.7.dylib                  0x00000001036f0fa6 
> fast_function + 118
>       97  libpython2.7.dylib                  0x00000001036ed2f6 
> PyEval_EvalFrameEx + 13382
>       98  libpython2.7.dylib                  0x00000001036e9bba 
> PyEval_EvalCodeEx + 1690
>       99  libpython2.7.dylib                  0x00000001036e9516 
> PyEval_EvalCode + 54
>       100 libpython2.7.dylib                  0x00000001037129e4 
> PyRun_FileExFlags + 164
>       101 libpython2.7.dylib                  0x000000010371251a 
> PyRun_SimpleFileExFlags + 698
>       102 libpython2.7.dylib                  0x0000000103726472 Py_Main + 
> 3186
>       103 libdyld.dylib                       0x00007fff820ac5ad start + 1
>       104 ???                                 0x0000000000000003 0x0 + 3
> 
> 2015-11-02 17:30:01.789 python2.7[81126:10435254] 17:30:01.789 WARNING:  140: 
> This application, or a library it uses, is using the deprecated Carbon 
> Component Manager for hosting Audio Units. Support for this will be removed 
> in a future release. Also, this makes the host incompatible with version 3 
> audio units. Please transition to the API's in AudioComponent.h.
> 
> 
> I don’t think that this has anything to do with my code in particular, but is 
> located in python2.7. 
> 
> Although the problem doesn’t impede me now, it does seem like something that 
> needs to be fixed eventually. Does anyone have any ideas as to what is going 
> on?
> 
> All the best, and many thanks,
> 
> —Buz
> 
> 

One thing to check is that your modules and scripts are consistently using 
Fink’s python.  If you’re mixing with the built-in python2.7, then that can 
cause problems.



------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to