Pinokio
FeedApps
Download Pinokio
Sign inCreate accountJoin
Sign inCreate accountJoin

Post

Conversation

Fails due to missing a dependency

@cocktailpeanut
4mo ago

by the way i think the launcher is missing a dependency. fails when i try to run it. I get:


Traceback (most recent call last):
  File "/Users/x/pinokio/api/HyperFrames-Studio.git/app/env/lib/python3.10/site-packages/gradio/queueing.py", line 867, in process_events
    response = await route_utils.call_process_api(
  File "/Users/x/pinokio/api/HyperFrames-Studio.git/app/env/lib/python3.10/site-packages/gradio/route_utils.py", line 386, in call_process_api
    output = await app.get_blocks().process_api(
  File "/Users/x/pinokio/api/HyperFrames-Studio.git/app/env/lib/python3.10/site-packages/gradio/blocks.py", line 2195, in process_api
    result = await self.call_function(
  File "/Users/x/pinokio/api/HyperFrames-Studio.git/app/env/lib/python3.10/site-packages/gradio/blocks.py", line 1652, in call_function
    prediction = await anyio.to_thread.run_sync(  # type: ignore
  File "/Users/x/pinokio/api/HyperFrames-Studio.git/app/env/lib/python3.10/site-packages/anyio/to_thread.py", line 63, in run_sync
    return await get_async_backend().run_sync_in_worker_thread(
  File "/Users/x/pinokio/api/HyperFrames-Studio.git/app/env/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2518, in run_sync_in_worker_thread
    return await future
  File "/Users/x/pinokio/api/HyperFrames-Studio.git/app/env/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 1002, in run
    result = context.run(func, *args)
  File "/Users/x/pinokio/api/HyperFrames-Studio.git/app/env/lib/python3.10/site-packages/gradio/utils.py", line 1061, in wrapper
    response = f(*args, **kwargs)
  File "/Users/x/pinokio/api/HyperFrames-Studio.git/app/app.py", line 311, in generate_html_with_ai
    import requests
ModuleNotFoundError: No module named 'requests'

Here's the feedback from an agent:

• The failure was a missing dependency, not a launcher startup
  problem.

  The app started successfully at http://127.0.0.1:7860, and
  start.js captured/set the URL correctly. The crash happened
  after a Gradio action called generate_html_with_ai: app.py:311
  imports requests, but requests is not installed in app/env.
  The log shows the exact error: logs/api/start.js/latest:31.

  Why it was missing: install.js:29 installs from
  requirements.txt, and requirements.txt:1 only contains:

  gradio
  devicetorch

  So requests never got installed. I also confirmed directly
  that app/env/bin/python -c "import requests" fails with
  ModuleNotFoundError.

  The Gradio CSS warning in the log is not the cause. The
  immediate fix is to add requests to requirements.txt, then
  rerun install/update so the venv gets it.

  Exit checklist: PINOKIO_HOME resolved to /Users/x/pinokio;
  destination root is /Users/x/pinokio/api/HyperFrames-
  Studio.git; logs were checked first; closest reference locked
  to /Users/x/pinokio/prototype/system/examples/mochi/start.js;
  start.js URL capture/local.set pattern is satisfied; no files
  were edited.
hyperframes-studiomanat0912/HyperFrames-Studio
#bug
1

Replies

1
Up to 10 files, 25MB each. Images are optimized; GIFs -> MP4; videos 720p (max 120s).

Post context

App used

hyperframes-studiomanat0912/HyperFrames-Studio

HyperFrames is an open-source framework for turning HTML, CSS, media, and seekable animations into deterministic MP4 videos. Use it locally with th...

View app

Published by

@cocktailpeanut4mo ago
#bug
Pinokio
PrivacyTerms
FeedApps

Post context

App used

hyperframes-studiomanat0912/HyperFrames-Studio

HyperFrames is an open-source framework for turning HTML, CSS, media, and seekable animations into deterministic MP4 videos. Use it locally with th...

View app

Published by

@cocktailpeanut4mo ago
#bug

Related posts

Comfyui: open in SAM detector cannot be found while right click on load image@nicopin · 7d agoIssue report: devika@juanbranco · 1mo agoTRELLIS.2: LINK : fatal error LNK1181: cannot open input file 'cudart.lib'@muhammad_hassain_gajjala · 1mo ago