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

web ui of GeneralModelScenario #436

Closed
NAMEKDSUN opened this issue Oct 17, 2024 · 15 comments · Fixed by #437 or #440
Closed

web ui of GeneralModelScenario #436

NAMEKDSUN opened this issue Oct 17, 2024 · 15 comments · Fixed by #437 or #440
Assignees
Labels
question Further information is requested

Comments

@NAMEKDSUN
Copy link

❓ Questions and Help

We sincerely suggest you to carefully read the documentation. After that, if you still feel puzzled, please describe the question clearly under this issue.
Image
运行本地可视化ui界面,选择对应的日志后,没有任何信息显示

@NAMEKDSUN NAMEKDSUN added the question Further information is requested label Oct 17, 2024
@you-n-g
Copy link
Contributor

you-n-g commented Oct 17, 2024

Hi, @XianBW Could you please help to check this issue?
Thanks

@NAMEKDSUN
Copy link
Author

Image
起因是我运行ui界面,显示这个错误,于是我便在storage.py文件的此处添加了如下代码Image,便出现了上述问题

@XianBW
Copy link
Collaborator

XianBW commented Oct 17, 2024

Hi, you can refresh or rerun the webapp after changing the code. If there is still no content, you can: toggle the debug button -> click "Single Step" button -> check the debug information at the top of the webpage. Here you can see whether the pickle object stored for displaying information is read.

@NAMEKDSUN
Copy link
Author

Image
共有24条message,但是我貌似没有看到 pickle 对象是否被读取

@XianBW
Copy link
Collaborator

XianBW commented Oct 17, 2024

The pickle object has been successfully read. Check whether there are tags such as "r.init", "d.evolving code", "ef.result" in it? The webapp displays the corresponding content according to the tag. If not, it may be that the stored content was not marked when the trace was generated.Image

@NAMEKDSUN
Copy link
Author

如何检查呢?

@NAMEKDSUN
Copy link
Author

Image
这是我产生的log文件示例

@XianBW
Copy link
Collaborator

XianBW commented Oct 17, 2024

Everything seems to be normal. Could you please provide the zip of this log folder so I can test webapp on it?

@NAMEKDSUN
Copy link
Author

这里发不了zip文件,我加您联系方式?

@NAMEKDSUN
Copy link
Author

我已放到百度网盘中,通过网盘分享的文件:2024-10-17_glm.7z
链接: https://pan.baidu.com/s/1zTETjEV1r9JAzFsGMW7k9g?pwd=cm3q 提取码: cm3q

@NAMEKDSUN
Copy link
Author

Everything seems to be normal. Could you please provide the zip of this log folder so I can test webapp on it?一切似乎都很正常。您能否提供此日志文件夹的 zip 文件,以便我可以在其上测试 webapp?
请问您,我的日志通过您测试发现有问题吗?

@XianBW
Copy link
Collaborator

XianBW commented Oct 17, 2024

Everything seems to be normal. Could you please provide the zip of this log folder so I can test webapp on it?一切似乎都很正常。您能否提供此日志文件夹的 zip 文件,以便我可以在其上测试 webapp?
请问您,我的日志通过您测试发现有问题吗?

sorry, wait a moment

@XianBW XianBW linked a pull request Oct 17, 2024 that will close this issue
5 tasks
@XianBW
Copy link
Collaborator

XianBW commented Oct 17, 2024

The content is not displayed because the delimiter of Windows system is different from that of Linux when the log file path is recognized as a tag🥲. The problem has been solved in PR#437

@NAMEKDSUN
Copy link
Author

Image
改完以后这部分还是没显示,其他的都没问题了

@XianBW XianBW linked a pull request Oct 18, 2024 that will close this issue
5 tasks
@XianBW
Copy link
Collaborator

XianBW commented Oct 18, 2024

Image 改完以后这部分还是没显示,其他的都没问题了

fixed in PR#440

@XianBW XianBW changed the title ui web ui of GeneralModelScenario Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
3 participants