modly icon indicating copy to clipboard operation
modly copied to clipboard

Multiple Failures in Update and 3D Generation (Trellis-2)

Open koloved opened this issue 8 months ago • 6 comments

Environment:

App Version: Modly v0.2.1

Platform: Windows (B:\ drive installation)

Sub-modules: Trellis-2 Extension

Description The application is currently experiencing two distinct critical failures: an HttpError: 404 during the auto-update check and a RepositoryNotFoundError (401/404) combined with a ModuleNotFoundError during 3D generation using the Trellis-2 pipeline.

Issue 1: Updater Failure (404) The electron-updater fails to locate the latest.yml file in the GitHub release artifacts.

Target URL: https://github.com/lightningpixel/modly/releases/download/v0.2.1/latest.yml

Error: HttpError: 404

Impact: Users are unable to check for or pull the latest application updates.

Issue 2: Generation Failure (Trellis-2 Pipeline) When attempting to run 3D generation, the process crashes due to missing dependencies and unreachable HuggingFace repositories.

A. Missing Module:

Error: ModuleNotFoundError: No module named 'o_voxel'

Traceback Location: ...\extensions\trellis-2\vendor\trellis2\models\sc_vaes\fdg_vae.py, line 20.

Note: It appears the o_voxel dependency was not built or installed during the extension setup.

B. HuggingFace Auth/Repository Error:

Error: huggingface_hub.errors.RepositoryNotFoundError: 401 Client Error

Target Repo: ckpts/shape_dec_next_dc_f16c32_fp16

Details: The application attempts to fetch .json config files from a repository that is either private, requires a token, or no longer exists at that specific path.

[2026-03-28T17:03:19.043Z] [ERROR] Error: Error: Cannot find latest.yml in the latest release artifacts (https://github.com/lightningpixel/modly/releases/download/v0.2.1/latest.yml): HttpError: 404 
"method: GET url: https://github.com/lightningpixel/modly/releases/download/v0.2.1/latest.yml\n\nPlease double check that your authentication token is correct. Due to security reasons, actual status maybe not reported, but 404.\n"
Headers: {
  "cache-control": "no-cache",
  "content-length": "9",
  "content-security-policy": "default-src 'none'; base-uri 'self'; connect-src 'self'; form-action 'self'; img-src 'self' data:; script-src 'self'; style-src 'unsafe-inline'",
  "content-type": "text/plain; charset=utf-8",
  "date": "Sat, 28 Mar 2026 17:03:19 GMT",
  "referrer-policy": "no-referrer-when-downgrade",
  "server": "github.com",
  "strict-transport-security": "max-age=31536000; includeSubdomains; preload",
  "vary": "X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With, Sec-Fetch-Site,Accept-Encoding, Accept, X-Requested-With",
  "x-content-type-options": "nosniff",
  "x-frame-options": "deny",
  "x-github-request-id": "F1F6:1EBED5:6C2A504:3EC8CA6:69C809D6",
  "x-xss-protection": "0"
}
    at createHttpError (B:\3D Generation\Modly\resources\app.asar\node_modules\electron-updater\node_modules\builder-util-runtime\out\httpExecutor.js:21:12)
    at ElectronHttpExecutor.handleResponse (B:\3D Generation\Modly\resources\app.asar\node_modules\electron-updater\node_modules\builder-util-runtime\out\httpExecutor.js:121:20)
    at ClientRequest.<anonymous> (B:\3D Generation\Modly\resources\app.asar\node_modules\electron-updater\node_modules\builder-util-runtime\out\httpExecutor.js:87:26)
    at ClientRequest.emit (node:events:518:28)
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:118140)
    at SimpleURLLoaderWrapper.emit (node:events:518:28)
    at newError (B:\3D Generation\Modly\resources\app.asar\node_modules\electron-updater\node_modules\builder-util-runtime\out\error.js:5:19)
    at fetchData (B:\3D Generation\Modly\resources\app.asar\node_modules\electron-updater\out\providers\GitHubProvider.js:114:63)
    at async GitHubProvider.getLatestVersion (B:\3D Generation\Modly\resources\app.asar\node_modules\electron-updater\out\providers\GitHubProvider.js:124:23)
    at async NsisUpdater.getUpdateInfoAndProvider (B:\3D Generation\Modly\resources\app.asar\node_modules\electron-updater\out\AppUpdater.js:389:19)
    at async NsisUpdater.doCheckForUpdates (B:\3D Generation\Modly\resources\app.asar\node_modules\electron-updater\out\AppUpdater.js:402:24)
    at async B:\3D Generation\Modly\resources\app.asar\out\main\index.js:1008:7
    at async WebContents.<anonymous> (node:electron/js2c/browser_init:2:87023)
[2026-03-28T17:03:19.043Z] [ERROR] [updater] Error: Cannot find latest.yml in the latest release artifacts (https://github.com/lightningpixel/modly/releases/download/v0.2.1/latest.yml): HttpError: 404 
"method: GET url: https://github.com/lightningpixel/modly/releases/download/v0.2.1/latest.yml\n\nPlease double check that your authentication token is correct. Due to security reasons, actual status maybe not reported, but 404.\n"
Headers: {
  "cache-control": "no-cache",
  "content-length": "9",
  "content-security-policy": "default-src 'none'; base-uri 'self'; connect-src 'self'; form-action 'self'; img-src 'self' data:; script-src 'self'; style-src 'unsafe-inline'",
  "content-type": "text/plain; charset=utf-8",
  "date": "Sat, 28 Mar 2026 17:03:19 GMT",
  "referrer-policy": "no-referrer-when-downgrade",
  "server": "github.com",
  "strict-transport-security": "max-age=31536000; includeSubdomains; preload",
  "vary": "X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With, Sec-Fetch-Site,Accept-Encoding, Accept, X-Requested-With",
  "x-content-type-options": "nosniff",
  "x-frame-options": "deny",
  "x-github-request-id": "F1F6:1EBED5:6C2A504:3EC8CA6:69C809D6",
  "x-xss-protection": "0"
}
    at createHttpError (B:\3D Generation\Modly\resources\app.asar\node_modules\electron-updater\node_modules\builder-util-runtime\out\httpExecutor.js:21:12)
    at ElectronHttpExecutor.handleResponse (B:\3D Generation\Modly\resources\app.asar\node_modules\electron-updater\node_modules\builder-util-runtime\out\httpExecutor.js:121:20)
    at ClientRequest.<anonymous> (B:\3D Generation\Modly\resources\app.asar\node_modules\electron-updater\node_modules\builder-util-runtime\out\httpExecutor.js:87:26)
    at ClientRequest.emit (node:events:518:28)
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:118140)
    at SimpleURLLoaderWrapper.emit (node:events:518:28)
[2026-03-28T17:03:19.044Z] [ERROR] [updater:check] Error: Cannot find latest.yml in the latest release artifacts (https://github.com/lightningpixel/modly/releases/download/v0.2.1/latest.yml): HttpError: 404 
"method: GET url: https://github.com/lightningpixel/modly/releases/download/v0.2.1/latest.yml\n\nPlease double check that your authentication token is correct. Due to security reasons, actual status maybe not reported, but 404.\n"
Headers: {
  "cache-control": "no-cache",
  "content-length": "9",
  "content-security-policy": "default-src 'none'; base-uri 'self'; connect-src 'self'; form-action 'self'; img-src 'self' data:; script-src 'self'; style-src 'unsafe-inline'",
  "content-type": "text/plain; charset=utf-8",
  "date": "Sat, 28 Mar 2026 17:03:19 GMT",
  "referrer-policy": "no-referrer-when-downgrade",
  "server": "github.com",
  "strict-transport-security": "max-age=31536000; includeSubdomains; preload",
  "vary": "X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With, Sec-Fetch-Site,Accept-Encoding, Accept, X-Requested-With",
  "x-content-type-options": "nosniff",
  "x-frame-options": "deny",
  "x-github-request-id": "F1F6:1EBED5:6C2A504:3EC8CA6:69C809D6",
  "x-xss-protection": "0"
}
    at createHttpError (B:\3D Generation\Modly\resources\app.asar\node_modules\electron-updater\node_modules\builder-util-runtime\out\httpExecutor.js:21:12)
    at ElectronHttpExecutor.handleResponse (B:\3D Generation\Modly\resources\app.asar\node_modules\electron-updater\node_modules\builder-util-runtime\out\httpExecutor.js:121:20)
    at ClientRequest.<anonymous> (B:\3D Generation\Modly\resources\app.asar\node_modules\electron-updater\node_modules\builder-util-runtime\out\httpExecutor.js:87:26)
    at ClientRequest.emit (node:events:518:28)
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:118140)
    at SimpleURLLoaderWrapper.emit (node:events:518:28)
[2026-03-28T20:24:47.472Z] [RUNTIME] [Generation ERROR] 401 Client Error. (Request ID: Root=1-69c8390f-487c2abd1515c7f004e69c52;7e626f38-bbf8-4e2b-a9da-316e5932dc34)

Repository Not Found for url: https://huggingface.co/ckpts/shape_dec_next_dc_f16c32_fp16/resolve/main/.json.
Please make sure you specified the correct `repo_id` and `repo_type`.
If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication
Invalid username or password.
Traceback (most recent call last):
  File "B:\3D Generation\modly_data\extensions\trellis-2\vendor\trellis2\pipelines\base.py", line 44, in from_pretrained
    _models[k] = models.from_pretrained(f"{path}/{v}")
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "B:\3D Generation\modly_data\extensions\trellis-2\vendor\trellis2\models\__init__.py", line 65, in from_pretrained
    model = __getattr__(config['name'])(**config['args'], **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "B:\3D Generation\modly_data\extensions\trellis-2\vendor\trellis2\models\__init__.py", line 28, in __getattr__
    module = importlib.import_module(f".{module_name}", __name__)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "B:\3D Generation\Modly\resources\python-embed\Lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "B:\3D Generation\modly_data\extensions\trellis-2\vendor\trellis2\models\sc_vaes\fdg_vae.py", line 20, in <module>
    from o_voxel.convert import flexible_dual_grid_to_mesh
ModuleNotFoundError: No module named 'o_voxel'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "B:\3D Generation\modly_data\dependencies\venv\Lib\site-packages\huggingface_hub\utils\_http.py", line 403, in hf_raise_for_status
    response.raise_for_status()
  File "B:\3D Generation\modly_data\dependencies\venv\Lib\site-packages\requests\models.py", line 1028, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/ckpts/shape_dec_next_dc_f16c32_fp16/resolve/main/.json

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "B:\3D Generation\Modly\resources\api\routers\generation.py", line 125, in _run_generation
    gen = await loop.run_in_executor(None, generator_registry.get_active)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "B:\3D Generation\Modly\resources\python-embed\Lib\concurrent\futures\thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "B:\3D Generation\Modly\resources\api\services\generator_registry.py", line 252, in get_active
    gen.load()
  File "B:\3D Generation\modly_data\extensions\trellis-2\generator.py", line 66, in load
    pipe = Trellis2ImageTo3DPipeline.from_pretrained(str(self.model_dir))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "B:\3D Generation\modly_data\extensions\trellis-2\vendor\trellis2\pipelines\trellis2_image_to_3d.py", line 89, in from_pretrained
    pipeline = super().from_pretrained(path, config_file)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "B:\3D Generation\modly_data\extensions\trellis-2\vendor\trellis2\pipelines\base.py", line 46, in from_pretrained
    _models[k] = models.from_pretrained(v)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "B:\3D Generation\modly_data\extensions\trellis-2\vendor\trellis2\models\__init__.py", line 60, in from_pretrained
    config_file = hf_hub_download(repo_id, f"{model_name}.json")
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "B:\3D Generation\modly_data\dependencies\venv\Lib\site-packages\huggingface_hub\utils\_validators.py", line 114, in _inner_fn
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "B:\3D Generation\modly_data\dependencies\venv\Lib\site-packages\huggingface_hub\file_download.py", line 1014, in hf_hub_download
    return _hf_hub_download_to_cache_dir(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "B:\3D Generation\modly_data\dependencies\venv\Lib\site-packages\huggingface_hub\file_download.py", line 1121, in _hf_hub_download_to_cache_dir
    _raise_on_head_call_error(head_call_error, force_download, local_files_only)
  File "B:\3D Generation\modly_data\dependencies\venv\Lib\site-packages\huggingface_hub\file_download.py", line 1662, in _raise_on_head_call_error
    raise head_call_error
  File "B:\3D Generation\modly_data\dependencies\venv\Lib\site-packages\huggingface_hub\file_download.py", line 1550, in _get_metadata_or_catch_error
    metadata = get_hf_file_metadata(
               ^^^^^^^^^^^^^^^^^^^^^
  File "B:\3D Generation\modly_data\dependencies\venv\Lib\site-packages\huggingface_hub\utils\_validators.py", line 114, in _inner_fn
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "B:\3D Generation\modly_data\dependencies\venv\Lib\site-packages\huggingface_hub\file_download.py", line 1467, in get_hf_file_metadata
    r = _request_wrapper(
        ^^^^^^^^^^^^^^^^^
  File "B:\3D Generation\modly_data\dependencies\venv\Lib\site-packages\huggingface_hub\file_download.py", line 283, in _request_wrapper
    response = _request_wrapper(
               ^^^^^^^^^^^^^^^^^
  File "B:\3D Generation\modly_data\dependencies\venv\Lib\site-packages\huggingface_hub\file_download.py", line 307, in _request_wrapper
    hf_raise_for_status(response)
  File "B:\3D Generation\modly_data\dependencies\venv\Lib\site-packages\huggingface_hub\utils\_http.py", line 453, in hf_raise_for_status
    raise _format(RepositoryNotFoundError, message, response) from e
huggingface_hub.errors.RepositoryNotFoundError: 401 Client Error. (Request ID: Root=1-69c8390f-487c2abd1515c7f004e69c52;7e626f38-bbf8-4e2b-a9da-316e5932dc34)

Repository Not Found for url: https://huggingface.co/ckpts/shape_dec_next_dc_f16c32_fp16/resolve/main/.json.
Please make sure you specified the correct `repo_id` and `repo_type`.
If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication
Invalid username or password.

koloved avatar Mar 28 '26 20:03 koloved

same here

WookieLordOCG avatar Mar 30 '26 07:03 WookieLordOCG

Hello, Can you try the new release plz ? https://github.com/lightningpixel/modly/releases/tag/v0.3.0 Thx you

Lorchie avatar Apr 06 '26 19:04 Lorchie

I couldn't install the extension as well. With v.0.3.1. I receive the error: manifest.json: required field "nodes" missing or empty.

JensWinkler91 avatar Apr 08 '26 15:04 JensWinkler91

Hopefully I can add valuable bug info. I get this;

Image

iammojogo-sudo avatar Apr 08 '26 22:04 iammojogo-sudo

We're working on it

Lorchie avatar Apr 09 '26 07:04 Lorchie

We're working on it

Do you mind if I create a setup for a different model and try to load it in and play around with it? If it works, I can give you the files to add to your repo :)

iammojogo-sudo avatar Apr 10 '26 00:04 iammojogo-sudo