最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

server - Pygbag stuck on "Downloading" - Stack Overflow

programmeradmin5浏览0评论

When I run pygbag with my project on my laptop with localhost, I can play it fine in my browser. When I uploaded it to a server machine on my local network and tried to run it there and access it through my browser, it gets stuck on this screen:

On the server machine, I get this warning:

/home/administrator/cloverdle/venv/lib/python3.11/site-packages/pygbag/optimizing.py:62: UserWarning: Black not found for processing folder=PosixPath('/home/administrator/cloverdle')
  warnings.warn(f"Black not found for processing {folder=}")

It sticks on this screen with no progress on the download bar for many minutes, long enough that I'm confident it won't actually download.

What might be going on, and how might I fix?

When I run pygbag with my project on my laptop with localhost, I can play it fine in my browser. When I uploaded it to a server machine on my local network and tried to run it there and access it through my browser, it gets stuck on this screen:

On the server machine, I get this warning:

/home/administrator/cloverdle/venv/lib/python3.11/site-packages/pygbag/optimizing.py:62: UserWarning: Black not found for processing folder=PosixPath('/home/administrator/cloverdle')
  warnings.warn(f"Black not found for processing {folder=}")

It sticks on this screen with no progress on the download bar for many minutes, long enough that I'm confident it won't actually download.

What might be going on, and how might I fix?

Share Improve this question asked Mar 20 at 20:19 WillregexWillregex 215 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

I was able to solve this by having nginx host the files, rather than using pygbag's built-in development server.

发布评论

评论列表(0)

  1. 暂无评论