Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

生成gif时,报错 #44

Open
zhudaoruyi opened this issue Feb 29, 2020 · 4 comments
Open

生成gif时,报错 #44

zhudaoruyi opened this issue Feb 29, 2020 · 4 comments

Comments

@zhudaoruyi
Copy link

Generating file ...
Traceback (most recent call last):
  File "d:\anaconda3\envs\venv37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "d:\anaconda3\envs\venv37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "D:\Anaconda3\envs\venv37\Scripts\snapshot.exe\__main__.py", line 7, in <module>
  File "d:\anaconda3\envs\venv37\lib\site-packages\pyecharts_snapshot\main.py", line 86, in main
    asyncio.get_event_loop().run_until_complete(_main())
  File "d:\anaconda3\envs\venv37\lib\asyncio\base_events.py", line 583, in run_until_complete
    return future.result()
  File "d:\anaconda3\envs\venv37\lib\site-packages\pyecharts_snapshot\main.py", line 109, in _main
    file_name, output, delay=delay, pixel_ratio=pixel_ratio
  File "d:\anaconda3\envs\venv37\lib\site-packages\pyecharts_snapshot\main.py", line 130, in make_a_snapshot
    file_name, file_type, pixel_ratio, delay
  File "d:\anaconda3\envs\venv37\lib\site-packages\pyecharts_snapshot\main.py", line 169, in async_make_snapshot
    return await get_echarts(to_file_uri(html_path), snapshot_js)
  File "d:\anaconda3\envs\venv37\lib\site-packages\pyecharts_snapshot\main.py", line 175, in get_echarts
    await page.goto(url)
  File "d:\anaconda3\envs\venv37\lib\site-packages\pyppeteer\page.py", line 862, in goto
    raise error
pyppeteer.errors.TimeoutError: Navigation Timeout Exceeded: 30000 ms exceeded.
@chfw
Copy link
Member

chfw commented Feb 29, 2020

命令行是什么?

@zhudaoruyi
Copy link
Author

snapshot index.html gif

@chfw
Copy link
Member

chfw commented Mar 6, 2020

Index.html 在当前目录吗?

@zhudaoruyi
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants