Skip to content

wrong CLAD version with iOS? #12

@gleep52

Description

@gleep52

When I run a fresh copy of code and install the requirements I get this output:

2025-06-21 11:51:59,776 cozmo.general ERROR    CLAD version mismatch (to_game) da3e90a6724adf4b5e7cf5764e960096 != 52ab2f222c9ba0e9c5590901121198ec
2025-06-21 11:51:59,777 cozmo.general INFO     Aborting connection: __init__() got an unexpected keyword argument 'reserved'
2025-06-21 11:51:59,777 cozmo.general WARNING  No iOS device found running Cozmo: __init__() got an unexpected keyword argument 'reserved'
2025-06-21 11:51:59,777 cozmo.general WARNING  No Android device found running Cozmo: Failed to execute adb command adb: [Errno 2] No such file or directory: 'adb'

So it seems my ios app (being updated to fix the Cozmo text-to-speech issues is now on version 3.6 and is a different version than what this python script is expecting.

I've gotten a wheel file from the discord "Vector & Friends" from user toastito, and when I install that "pip install cozmoclad-3.6.0-py3-none-any.whl" then my examples in the normal SDK from Anki work like hello world - but this project Cozmo.AI fails with the following crash:

2025-06-21 11:52:23,183 cozmo.general INFO     App connection established. sdk_version=1.4.11.dev0 cozmoclad_version=3.6.0 app_build_version=00003.00006.00000
2025-06-21 11:52:23,184 cozmo.general INFO     Found robot id=1
2025-06-21 11:52:23,185 cozmo.general INFO     Connected to iOS device_id=10 serial=00008132-001C31823A39001C
2025-06-21 11:52:23,261 cozmo.general INFO     Robot id=1 serial=02e2475a initialized OK
2025-06-21 11:52:23,261 cozmo.general INFO     Shutting down connection
2025-06-21 11:52:23,261 cozmo.general INFO     iOS device_id=10 disconnected.
Traceback (most recent call last):
  File "/Users/tank/Cozmo/Cozmo.AI/main.py", line 852, in <module>
    initCozmo()
  File "/Users/tank/Cozmo/Cozmo.AI/main.py", line 81, in initCozmo
    cozmo.run_program(wake_up)
  File "/Users/tank/.pyenv/versions/cozmo-env/lib/python3.8/site-packages/cozmo/run.py", line 849, in run_program
    connect(wrapper, conn_factory=conn_factory, connector=connector)
  File "/Users/tank/.pyenv/versions/cozmo-env/lib/python3.8/site-packages/cozmo/run.py", line 605, in connect
    return _connect_sync(f, conn_factory, connector)
  File "/Users/tank/.pyenv/versions/cozmo-env/lib/python3.8/site-packages/cozmo/run.py", line 530, in _connect_sync
    f(base._SyncProxy(coz_conn))
  File "/Users/tank/.pyenv/versions/cozmo-env/lib/python3.8/site-packages/cozmo/run.py", line 835, in wrapper
    f(robot)
  File "/Users/tank/Cozmo/Cozmo.AI/main.py", line 479, in wake_up
    bot = AIBot()
  File "/Users/tank/Cozmo/Cozmo.AI/main.py", line 777, in __init__
    self.opts.add_argument("")
  File "/Users/tank/.pyenv/versions/cozmo-env/lib/python3.8/site-packages/selenium/webdriver/common/options.py", line 515, in add_argument
    raise ValueError("argument can not be null")
ValueError: argument can not be null

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions