bdswiss erfahrung

Welcome, Guest
Username: Password: Remember me

TOPIC: OpenCV error: Cannot load info library for OpenCV

OpenCV error: Cannot load info library for OpenCV 20 Jul 2015 17:44 #29

  • pulisoman
  • pulisoman's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Karma: 0
How to fixed this?
The administrator has disabled public write access.

OpenCV error: Cannot load info library for OpenCV 20 Jul 2015 17:53 #30

  • cwheatley
  • cwheatley's Avatar
  • Offline
  • Administrator
  • Posts: 9
  • Thank you received: 1
  • Karma: 0
Would you please post your stack trace to help narrow down the issue?

Also, did you base your project off of one of the sample projects here? github.com/DFTinc

Check to make sure that you have the static loader for OpenCV specified in your activity file, as in the sample projects:
    static {
        if(!OpenCVLoader.initDebug()) {
            Log.d(TAG, "Unable to load OpenCV!");
        } else {
            Log.i(TAG, "OpenCV loaded successfully");
            core.initOnyx();
        }
    }
The administrator has disabled public write access.

OpenCV error: Cannot load info library for OpenCV 20 Jul 2015 17:57 #31

  • pulisoman
  • pulisoman's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Karma: 0
07-21 01:55:56.286: E/DatabaseUtils(818): Writing exception to parcel
07-21 01:55:56.286: E/DatabaseUtils(818): java.lang.SecurityException: Permission Denial: get/set setting for user asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL
07-21 01:55:56.286: E/DatabaseUtils(818): at com.android.server.am.ActivityManagerService.handleIncomingUser(ActivityManagerService.java:14643)
07-21 01:55:56.286: E/DatabaseUtils(818): at android.app.ActivityManager.handleIncomingUser(ActivityManager.java:2469)
07-21 01:55:56.286: E/DatabaseUtils(818): at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:688)
07-21 01:55:56.286: E/DatabaseUtils(818): at android.content.ContentProvider$Transport.call(ContentProvider.java:325)
07-21 01:55:56.286: E/DatabaseUtils(818): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:275)
07-21 01:55:56.286: E/DatabaseUtils(818): at android.os.Binder.execTransact(Binder.java:404)
07-21 01:55:56.286: E/DatabaseUtils(818): at dalvik.system.NativeStart.run(Native Method)
07-21 01:55:56.376: E/OpenCV/StaticHelper(13144): OpenCV error: Cannot load info library for OpenCV
07-21 01:55:56.426: E/MP-Decision(2016): num online cores: 1 reqd : 3 available : 4 rq_depth:2.900000 hotplug_avg_load_dw: 56
07-21 01:55:56.426: E/MP-Decision(2016): UP cpu:1 core_idx:1 Nw:1.900000 Tw:140 rq:2.900000 seq:147.000000
07-21 01:55:56.426: E/MP-Decision(2016): UP cpu:2 core_idx:2 Nw:2.700000 Tw:90 rq:2.900000 seq:98.000000
07-21 01:55:56.616: E/AndroidRuntime(13144): FATAL EXCEPTION: main
07-21 01:55:56.616: E/AndroidRuntime(13144): Process: com.rtlawrence.fingerprintscanner, PID: 13144
07-21 01:55:56.616: E/AndroidRuntime(13144): java.lang.RuntimeException: Unable to resume activity {com.rtlawrence.fingerprintscanner/com.rtlawrence.fingerprintscanner.ScannerView}: java.lang.IllegalArgumentException: Illegal character in query at index 64: licensing.diamondfortress.com/api/v1/validate?key=insert onyx license&udid=B7916F6B3C434E9E6A3ACACF284263A4B8AF7934&use_count=0&onyx_init=true
07-21 01:55:56.616: E/AndroidRuntime(13144): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2946)
07-21 01:55:56.616: E/AndroidRuntime(13144): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2975)
07-21 01:55:56.616: E/AndroidRuntime(13144): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2368)
07-21 01:55:56.616: E/AndroidRuntime(13144): at android.app.ActivityThread.access$900(ActivityThread.java:161)
07-21 01:55:56.616: E/AndroidRuntime(13144): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1265)
07-21 01:55:56.616: E/AndroidRuntime(13144): at android.os.Handler.dispatchMessage(Handler.java:102)
07-21 01:55:56.616: E/AndroidRuntime(13144): at android.os.Looper.loop(Looper.java:157)
07-21 01:55:56.616: E/AndroidRuntime(13144): at android.app.ActivityThread.main(ActivityThread.java:5356)
07-21 01:55:56.616: E/AndroidRuntime(13144): at java.lang.reflect.Method.invokeNative(Native Method)
07-21 01:55:56.616: E/AndroidRuntime(13144): at java.lang.reflect.Method.invoke(Method.java:515)
07-21 01:55:56.616: E/AndroidRuntime(13144): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
07-21 01:55:56.616: E/AndroidRuntime(13144): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
07-21 01:55:56.616: E/AndroidRuntime(13144): at dalvik.system.NativeStart.main(Native Method)
07-21 01:55:56.616: E/AndroidRuntime(13144): Caused by: java.lang.IllegalArgumentException: Illegal character in query at index 64: licensing.diamondfortress.com/api/v1/validate?key=insert onyx license&udid=B7916F6B3C434E9E6A3ACACF284263A4B8AF7934&use_count=0&onyx_init=true
07-21 01:55:56.616: E/AndroidRuntime(13144): at java.net.URI.create(URI.java:727)
07-21 01:55:56.616: E/AndroidRuntime(13144): at org.apache.http.client.methods.HttpGet.<init>(HttpGet.java:75)
07-21 01:55:56.616: E/AndroidRuntime(13144): at com.dft.onyxcamera.licensing.framework.rest.RESTfulContentProvider.newQueryTask(RESTfulContentProvider.java:76)
07-21 01:55:56.616: E/AndroidRuntime(13144): at com.dft.onyxcamera.licensing.framework.rest.RESTfulContentProvider.requestThread(RESTfulContentProvider.java:144)
07-21 01:55:56.616: E/AndroidRuntime(13144): at com.dft.onyxcamera.licensing.framework.rest.RESTfulContentProvider.asyncQueryRequest(RESTfulContentProvider.java:117)
07-21 01:55:56.616: E/AndroidRuntime(13144): at com.dft.onyxcamera.licensing.provider.LicenseContentProvider.sendAsyncQueryRequest(LicenseContentProvider.java:266)
07-21 01:55:56.616: E/AndroidRuntime(13144): at com.dft.onyxcamera.licensing.provider.LicenseContentProvider.query(LicenseContentProvider.java:228)
07-21 01:55:56.616: E/AndroidRuntime(13144): at com.dft.onyxcamera.licensing.License.updateLicenseStatus(License.java:221)
07-21 01:55:56.616: E/AndroidRuntime(13144): at com.dft.onyxcamera.licensing.License.renewLicenseStatus(License.java:121)
07-21 01:55:56.616: E/AndroidRuntime(13144): at com.dft.onyxcamera.licensing.License.validate(License.java:47)
07-21 01:55:56.616: E/AndroidRuntime(13144): at com.rtlawrence.fingerprintscanner.ScannerView$ScannerViewFrgment.onResume(ScannerView.java:111)
07-21 01:55:56.616: E/AndroidRuntime(13144): at android.app.Fragment.performResume(Fragment.java:1743)
07-21 01:55:56.616: E/AndroidRuntime(13144): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:924)
07-21 01:55:56.616: E/AndroidRuntime(13144): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062)
07-21 01:55:56.616: E/AndroidRuntime(13144): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1044)
07-21 01:55:56.616: E/AndroidRuntime(13144): at android.app.FragmentManagerImpl.dispatchResume(FragmentManager.java:1863)
07-21 01:55:56.616: E/AndroidRuntime(13144): at android.app.Activity.performResume(Activity.java:5515)
07-21 01:55:56.616: E/AndroidRuntime(13144): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2936)
07-21 01:55:56.616: E/AndroidRuntime(13144): ... 12 more
07-21 01:55:56.936: E/android.os.Debug(818): !@Dumpstate > sdumpstate -k -t -z -d -o /data/log/dumpstate_app_error
07-21 01:55:56.976: E/MP-Decision(2016): num online cores: 3 reqd : 2 available : 4 rq_depth:1.500000 hotplug_avg_load_dw: 93
07-21 01:55:56.976: E/MP-Decision(2016): DOWN cpu:2 core_idx:2 Ns:2.100000 Ts:240 rq:1.500000 seq:246.000000
07-21 01:55:57.226: E/MP-Decision(2016): num online cores: 2 reqd : 3 available : 4 rq_depth:5.800000 hotplug_avg_load_dw: 65
07-21 01:55:57.226: E/MP-Decision(2016): UP cpu:1 core_idx:1 Nw:1.900000 Tw:140 rq:5.800000 seq:0.000000
07-21 01:55:57.226: E/MP-Decision(2016): UP cpu:2 core_idx:2 Nw:2.700000 Tw:90 rq:5.800000 seq:99.000000
07-21 01:55:57.277: E/MP-Decision(2016): num online cores: 3 reqd : 4 available : 4 rq_depth:3.700000 hotplug_avg_load_dw: 191
07-21 01:55:57.277: E/MP-Decision(2016): UP cpu:1 core_idx:1 Nw:1.900000 Tw:140 rq:3.700000 seq:0.000000
07-21 01:55:57.277: E/MP-Decision(2016): UP cpu:2 core_idx:2 Nw:2.700000 Tw:90 rq:3.700000 seq:0.000000
07-21 01:55:57.277: E/MP-Decision(2016): UP cpu:3 core_idx:3 Nw:3.500000 Tw:90 rq:3.700000 seq:96.000000
07-21 01:55:57.577: E/MP-Decision(2016): num online cores: 4 reqd : 2 available : 4 rq_depth:0.000000 hotplug_avg_load_dw: 60
07-21 01:55:57.577: E/MP-Decision(2016): DOWN cpu:3 core_idx:3 Ns:3.100000 Ts:240 rq:0.000000 seq:245.000000
07-21 01:55:57.577: E/MP-Decision(2016): DOWN cpu:2 core_idx:2 Ns:2.100000 Ts:240 rq:0.000000 seq:245.000000
07-21 01:55:57.877: E/MP-Decision(2016): num online cores: 2 reqd : 1 available : 4 rq_depth:0.300000 hotplug_avg_load_dw: 19
07-21 01:55:57.877: E/MP-Decision(2016): DOWN cpu:1 core_idx:1 Ns:1.100000 Ts:190 rq:0.300000 seq:196.000000
07-21 01:55:58.227: E/MP-Decision(2016): num online cores: 1 reqd : 2 available : 4 rq_depth:8.400000 hotplug_avg_load_dw: 65
07-21 01:55:58.227: E/MP-Decision(2016): UP cpu:1 core_idx:1 Nw:1.900000 Tw:140 rq:8.400000 seq:88.000000
07-21 01:55:58.278: E/MP-Decision(2016): num online cores: 2 reqd : 3 available : 4 rq_depth:2.900000 hotplug_avg_load_dw: 109
07-21 01:55:58.278: E/MP-Decision(2016): UP cpu:1 core_idx:1 Nw:1.900000 Tw:140 rq:2.900000 seq:0.000000
07-21 01:55:58.278: E/MP-Decision(2016): UP cpu:2 core_idx:2 Nw:2.700000 Tw:90 rq:2.900000 seq:134.000000
07-21 01:55:58.728: E/MP-Decision(2016): num online cores: 3 reqd : 2 available : 4 rq_depth:1.100000 hotplug_avg_load_dw: 70
07-21 01:55:58.728: E/MP-Decision(2016): DOWN cpu:2 core_idx:2 Ns:2.100000 Ts:240 rq:1.100000 seq:245.000000
07-21 01:55:59.479: E/MP-Decision(2016): num online cores: 2 reqd : 1 available : 4 rq_depth:0.000000 hotplug_avg_load_dw: 15
07-21 01:55:59.479: E/MP-Decision(2016): DOWN cpu:1 core_idx:1 Ns:1.100000 Ts:190 rq:0.000000 seq:195.000000
07-21 01:55:59.729: E/MP-Decision(2016): num online cores: 1 reqd : 4 available : 4 rq_depth:5.500000 hotplug_avg_load_dw: 51
07-21 01:55:59.729: E/MP-Decision(2016): UP cpu:1 core_idx:1 Nw:1.900000 Tw:140 rq:5.500000 seq:96.000000
07-21 01:55:59.729: E/MP-Decision(2016): UP cpu:2 core_idx:2 Nw:2.700000 Tw:90 rq:5.500000 seq:96.000000
07-21 01:55:59.729: E/MP-Decision(2016): UP cpu:3 core_idx:3 Nw:3.500000 Tw:90 rq:5.500000 seq:96.000000
07-21 01:56:00.330: E/MP-Decision(2016): num online cores: 4 reqd : 2 available : 4 rq_depth:1.500000 hotplug_avg_load_dw: 118
07-21 01:56:00.330: E/MP-Decision(2016): DOWN cpu:3 core_idx:3 Ns:3.100000 Ts:240 rq:1.500000 seq:245.000000
07-21 01:56:00.330: E/MP-Decision(2016): DOWN cpu:2 core_idx:2 Ns:2.100000 Ts:240 rq:1.500000 seq:245.000000
07-21 01:56:01.330: E/MP-Decision(2016): num online cores: 2 reqd : 3 available : 4 rq_depth:3.900000 hotplug_avg_load_dw: 78
07-21 01:56:01.330: E/MP-Decision(2016): UP cpu:1 core_idx:1 Nw:1.900000 Tw:140 rq:3.900000 seq:0.000000
07-21 01:56:01.330: E/MP-Decision(2016): UP cpu:2 core_idx:2 Nw:2.700000 Tw:90 rq:3.900000 seq:98.000000
07-21 01:56:01.581: E/MP-Decision(2016): num online cores: 3 reqd : 2 available : 4 rq_depth:1.500000 hotplug_avg_load_dw: 91
07-21 01:56:01.581: E/MP-Decision(2016): DOWN cpu:2 core_idx:2 Ns:2.100000 Ts:240 rq:1.500000 seq:243.000000
07-21 01:56:02.932: E/MP-Decision(2016): num online cores: 2 reqd : 3 available : 4 rq_depth:3.100000 hotplug_avg_load_dw: 105
07-21 01:56:02.932: E/MP-Decision(2016): UP cpu:1 core_idx:1 Nw:1.900000 Tw:140 rq:3.100000 seq:0.000000
07-21 01:56:02.932: E/MP-Decision(2016): UP cpu:2 core_idx:2 Nw:2.700000 Tw:90 rq:3.100000 seq:98.000000
07-21 01:56:03.182: E/MP-Decision(2016): num online cores: 3 reqd : 2 available : 4 rq_depth:1.500000 hotplug_avg_load_dw: 112
07-21 01:56:03.182: E/MP-Decision(2016): DOWN cpu:2 core_idx:2 Ns:2.100000 Ts:240 rq:1.500000 seq:243.000000
07-21 01:56:03.212: E/Watchdog(818): !@Sync 194
07-21 01:56:03.423: E/MP-Decision(2016): num online cores: 2 reqd : 3 available : 4 rq_depth:3.100000 hotplug_avg_load_dw: 79
07-21 01:56:03.423: E/MP-Decision(2016): UP cpu:1 core_idx:1 Nw:1.900000 Tw:140 rq:3.100000 seq:0.000000
07-21 01:56:03.423: E/MP-Decision(2016): UP cpu:2 core_idx:2 Nw:2.700000 Tw:90 rq:3.100000 seq:98.000000
07-21 01:56:03.473: E/QSEECOMAPI:(13287): Error::Failed to open /dev/qseecom device
07-21 01:56:03.473: E/QSEECOMAPI:(13287): Error::Failed to open /dev/qseecom device
07-21 01:56:03.473: E/QSEECOMAPI:(13287): Error::Failed to open /dev/qseecom device
07-21 01:56:03.473: E/QSEECOMAPI:(13287): Error::Failed to open /dev/qseecom device
07-21 01:56:03.473: E/QSEECOMAPI:(13287): Error::Failed to open /dev/qseecom device
07-21 01:56:03.673: E/MP-Decision(2016): num online cores: 3 reqd : 2 available : 4 rq_depth:0.700000 hotplug_avg_load_dw: 31
07-21 01:56:03.673: E/MP-Decision(2016): DOWN cpu:2 core_idx:2 Ns:2.100000 Ts:240 rq:0.700000 seq:243.000000
07-21 01:56:04.323: E/MP-Decision(2016): num online cores: 2 reqd : 1 available : 4 rq_depth:0.600000 hotplug_avg_load_dw: 26
07-21 01:56:04.323: E/MP-Decision(2016): DOWN cpu:1 core_idx:1 Ns:1.100000 Ts:190 rq:0.600000 seq:196.000000
07-21 01:56:06.065: E/MP-Decision(2016): num online cores: 1 reqd : 4 available : 4 rq_depth:4.300000 hotplug_avg_load_dw: 30
07-21 01:56:06.065: E/MP-Decision(2016): UP cpu:1 core_idx:1 Nw:1.900000 Tw:140 rq:4.300000 seq:137.000000
07-21 01:56:06.065: E/MP-Decision(2016): UP cpu:2 core_idx:2 Nw:2.700000 Tw:90 rq:4.300000 seq:137.000000
07-21 01:56:06.065: E/MP-Decision(2016): UP cpu:3 core_idx:3 Nw:3.500000 Tw:90 rq:4.300000 seq:137.000000
07-21 01:56:06.365: E/MP-Decision(2016): num online cores: 4 reqd : 2 available : 4 rq_depth:0.400000 hotplug_avg_load_dw: 52
07-21 01:56:06.365: E/MP-Decision(2016): DOWN cpu:3 core_idx:3 Ns:3.100000 Ts:240 rq:0.400000 seq:287.000000
07-21 01:56:06.365: E/MP-Decision(2016): DOWN cpu:2 core_idx:2 Ns:2.100000 Ts:240 rq:0.400000 seq:245.000000
07-21 01:56:06.516: E/MP-Decision(2016): num online cores: 2 reqd : 1 available : 4 rq_depth:0.500000 hotplug_avg_load_dw: 16
07-21 01:56:06.516: E/MP-Decision(2016): DOWN cpu:1 core_idx:1 Ns:1.100000 Ts:190 rq:0.500000 seq:48.000000
07-21 01:56:06.936: E/MP-Decision(2016): num online cores: 1 reqd : 3 available : 4 rq_depth:3.900000 hotplug_avg_load_dw: 44
07-21 01:56:06.936: E/MP-Decision(2016): UP cpu:1 core_idx:1 Nw:1.900000 Tw:140 rq:3.900000 seq:128.000000
07-21 01:56:06.936: E/MP-Decision(2016): UP cpu:2 core_idx:2 Nw:2.700000 Tw:90 rq:3.900000 seq:128.000000
07-21 01:56:07.136: E/MP-Decision(2016): num online cores: 3 reqd : 1 available : 4 rq_depth:0.000000 hotplug_avg_load_dw: 17
07-21 01:56:07.136: E/MP-Decision(2016): DOWN cpu:2 core_idx:2 Ns:2.100000 Ts:240 rq:0.000000 seq:191.000000
07-21 01:56:07.136: E/MP-Decision(2016): DOWN cpu:1 core_idx:1 Ns:1.100000 Ts:190 rq:0.000000 seq:191.000000
07-21 01:56:21.851: E/MP-Decision(2016): num online cores: 1 reqd : 4 available : 4 rq_depth:5.300000 hotplug_avg_load_dw: 30
07-21 01:56:21.851: E/MP-Decision(2016): UP cpu:1 core_idx:1 Nw:1.900000 Tw:140 rq:5.300000 seq:146.000000
07-21 01:56:21.851: E/MP-Decision(2016): UP cpu:2 core_idx:2 Nw:2.700000 Tw:90 rq:5.300000 seq:146.000000
07-21 01:56:21.851: E/MP-Decision(2016): UP cpu:3 core_idx:3 Nw:3.500000 Tw:90 rq:5.300000 seq:146.000000
07-21 01:56:22.101: E/MP-Decision(2016): num online cores: 4 reqd : 1 available : 4 rq_depth:0.000000 hotplug_avg_load_dw: 25
The administrator has disabled public write access.

OpenCV error: Cannot load info library for OpenCV 20 Jul 2015 18:14 #32

  • cwheatley
  • cwheatley's Avatar
  • Offline
  • Administrator
  • Posts: 9
  • Thank you received: 1
  • Karma: 0
A couple of things. You need to add your Onyx license key, and make sure that you have the static loader I posted earlier execute in your code before trying to use Onyx.
The administrator has disabled public write access.
Time to create page: 0.122 seconds