KoboldAI-Client
KoboldAI-Client copied to clipboard
Unable to run on Ubuntu 20
I am unable to run the application on Ubuntu 20. I followed the instruction in the readme which instructed me to just execute play.sh
. After microconda had pulled all the dependencies, aiserver.py
was unable to start up and thew an exception as follows:
$ . play.sh
Traceback (most recent call last):
File "aiserver.py", line 7726, in <module>
def get_version():
File "aiserver.py", line 625, in new_decorator
self.path(view=g, **kwargs)
File "/home/user/KoboldAI-Client/runtime/envs/koboldai/lib/python3.8/site-packages/apispec/core.py", line 516, in path
plugin.operation_helper(path=path, operations=operations, **kwargs)
File "/home/user/KoboldAI-Client/runtime/envs/koboldai/lib/python3.8/site-packages/apispec/ext/marshmallow/__init__.py", line 218, in operation_helper
self.resolver.resolve_operations(operations)
File "/home/user/KoboldAI-Client/runtime/envs/koboldai/lib/python3.8/site-packages/apispec/ext/marshmallow/schema_resolver.py", line 34, in resolve_operations
self.resolve_response(response)
File "/home/user/KoboldAI-Client/runtime/envs/koboldai/lib/python3.8/site-packages/apispec/ext/marshmallow/schema_resolver.py", line 182, in resolve_response
self.resolve_schema(response)
File "/home/user/KoboldAI-Client/runtime/envs/koboldai/lib/python3.8/site-packages/apispec/ext/marshmallow/schema_resolver.py", line 230, in resolve_schema
content["schema"] = self.resolve_schema_dict(content["schema"])
File "/home/user/KoboldAI-Client/runtime/envs/koboldai/lib/python3.8/site-packages/apispec/ext/marshmallow/schema_resolver.py", line 294, in resolve_schema_dict
return self.converter.resolve_nested_schema(schema)
File "/home/user/KoboldAI-Client/runtime/envs/koboldai/lib/python3.8/site-packages/apispec/ext/marshmallow/openapi.py", line 101, in resolve_nested_schema
self.spec.components.schema(name, schema=schema)
File "/home/user/KoboldAI-Client/runtime/envs/koboldai/lib/python3.8/site-packages/apispec/core.py", line 167, in schema
ret.update(plugin.schema_helper(component_id, ret, **kwargs) or {})
File "/home/user/KoboldAI-Client/runtime/envs/koboldai/lib/python3.8/site-packages/apispec/ext/marshmallow/__init__.py", line 176, in schema_helper
json_schema = self.converter.schema2jsonschema(schema_instance)
File "/home/user/KoboldAI-Client/runtime/envs/koboldai/lib/python3.8/site-packages/apispec/ext/marshmallow/openapi.py", line 197, in schema2jsonschema
jsonschema = self.fields2jsonschema(fields, partial=partial)
File "/home/user/KoboldAI-Client/runtime/envs/koboldai/lib/python3.8/site-packages/apispec/ext/marshmallow/openapi.py", line 222, in fields2jsonschema
prop = self.field2property(field_obj)
File "/home/user/KoboldAI-Client/runtime/envs/koboldai/lib/python3.8/site-packages/apispec/ext/marshmallow/field_converter.py", line 176, in field2property
ret.update(attr_func(field, ret=ret))
File "/home/user/KoboldAI-Client/runtime/envs/koboldai/lib/python3.8/site-packages/apispec/ext/marshmallow/field_converter.py", line 227, in field2default
default = field.load_default
AttributeError: 'Nested' object has no attribute 'load_default'
I have tried it on main
and on tags/1.19.2
but yielded the same result.