-
Notifications
You must be signed in to change notification settings - Fork 190
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
TypeError occurred while using ikos-view #303
Comments
I think this could be a problem with APIs used by pygments having changed. I think the line in question (in the current version) is: https://github.com/pygments/pygments/blob/27649ebbf5a2519725036b48ec99ef7745f100af/pygments/formatters/html.py#L979C27-L979C31 Can you try a more modern version of pygments? |
The signature of IKOS: class Formatter(HtmlFormatter):
def wrap(self, source): Pygments: class HtmlFormatter(Formatter):
def wrap(self, source): |
Yes, I tried the latest pygments and it's fine. I was installing IKOS from homebrew just today, is it caused by improper version locking? |
Sounds like it. |
While I am trying to view the output of a analyzing, I found when I click on the file to view source code and the analyzing result, the page failed to load and the following error message appears on console session:
I'm currently using Python 3.13.0 on WSL 2.
The text was updated successfully, but these errors were encountered: