[Closed] License reactivation with the different sensor does not allowed and Did not match C++ signature

I’m using Jetson Orin AGX and RealSense L515 depth camera.

The environment details:

Jetpack version: 35.4.1

Package: nvidia-l4t-core

Archtecture: arm64 (aarch64)

Python: 3.8.8

RealSense camera: L515

RealSense SDK: V2.50.0

Nuitrack version: 0.37.7

Pynuitrack Version:

py-nuitrack-ubuntu-arm64 0.1.0

The Nuitrack Demo is working properly

I have two questions:

Problem 1:

I built device_api_sample in the repo to test my installations.
Then I have the following error message.

Exception: NuitrackException: Server error response: License reactivation with the different sensor does not allowed.

I deleted the license.json file in usr/etc/nuitrack/data and tried again, but the error persists.

We tried Python script to activate the camera , but we got the same error message from their as well.

How to reset the activation or solve this problem?

Python script:

nuitrack = py_nuitrack.Nuitrack()
nuitrack.init()
devices = nuitrack.get_device_list()
Print(devices) # this gives Intel RealSense L515 f1xxxxx7 which is correct
for i, dev in enumerate(devices):
print(dev.get_name(), dev.get_serial_number())
print(dev.activate("license:KEY"))

Problem 2:

We tried the Python-based test code to initialize Nuitrack and set the configuration. The Nuitrack initialized, but then we had the following error.

"Nuitrack initialized.
An error occurred during Nuitrack initialization: Python argument types in
    None.set_config_value(Nuitrack, str, str)
did not match C++ signature:
    set_config_value(Nuitrack {lvalue}, std::string, std::string)"

Python script

import time
from PyNuitrack import py_nuitrack
import sys
sys.path.insert(1, '../build')
import numpy as np
import sys

def main():
    try:
        # 1. Create the Nuitrack object.
        nuitrack = py_nuitrack.Nuitrack()

        # 2. Initialize Nuitrack.
        nuitrack.init()
        print("Nuitrack initialized.")

        # 3. Set configuration values.
        # Adjust these values as needed for your configuration.
        nuitrack.set_config_value('DepthProvider.Depth2ColorRegistration','true')
        print("Nuitrack configurations 1 done")
        nuitrack.set_config_value('Skeletonization.Type', 'CNN_HPE')
        nuitrack.set_config_value('Skeletonization.ActiveUsers', '1')
        # 4. Retrieve and print the list of connected devices.
        devices = nuitrack.get_device_list()
        if len(devices) == 0:
            print("No cameras detected. Please check your camera connection.")
            return
        else:
            for i, dev in enumerate(devices):
                print(f"Device [{i}]: {dev.get_name()} (Serial: {dev.get_serial_number()})")

        # Select the first camera device.
        nuitrack.set_device(devices[0])
        print("Using the first detected camera.")

        # 5. Print version and license information.
        print("Nuitrack version:", nuitrack.get_version())
        print("Nuitrack license:", nuitrack.get_license())

        # 6. Create the necessary modules.
        nuitrack.create_modules()
        print("Modules created.")

        # 7. Run the Nuitrack processing.
        nuitrack.run()
        print("Nuitrack is running. Testing for 10 seconds...")

        # Test loop: allow the camera to run for 10 seconds
        start_time = time.time()
        while time.time() - start_time < 10:
            # You can add any additional data processing or monitoring here.
            time.sleep(0.1)

        # Stop and release Nuitrack.
        nuitrack.release()
        print("Nuitrack stopped successfully.")

    except Exception as e:
        print("An error occurred during Nuitrack initialization:", e)

if __name__ == '__main__':
    main()

I would appreciate it if you could help me solve the above two problems.

We have answered this question on freshdesk.
For everyone: If you have a similar issue with L515, please contact us at the support.