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

Can not quick look at .cpp and .ipynb #40

Closed
GJZ0117 opened this issue Jan 10, 2024 · 3 comments
Closed

Can not quick look at .cpp and .ipynb #40

GJZ0117 opened this issue Jan 10, 2024 · 3 comments

Comments

@GJZ0117
Copy link

GJZ0117 commented Jan 10, 2024

Hello, I download the dmg file and install glance. It works on .java, .md, .py files.
However when I tried to quick look a .ipynb file, it displayed some error messages like this:

image

When I tried to quick look a .cpp file, it displayed as the Mac default style:
image

I have restarted my Mac but it still cannot work. Do you have any solution?

@chamburr
Copy link
Owner

Hey, it would be really helpful if you could upload the files that don't work. I can't reproduce the issue based on the files I have on my computer.

@GJZ0117
Copy link
Author

GJZ0117 commented Jan 10, 2024

Hey, it would be really helpful if you could upload the files that don't work. I can't reproduce the issue based on the files I have on my computer.

Sure, this is the .ipynb file and .cpp file.

I tested a new .ipynb file and find that if it only contains some easy statements like print(time.time()), it can be quick looked. So I guess maybe because I include too many third packages then it cannot be quick looked.

By the way, my environment is Macbook Pro M2Pro and the system version is 13.6.3.

files.zip

@chamburr
Copy link
Owner

chamburr commented Jan 20, 2024

Your .cpp file cannot be parsed as UTF-8. Your .ipynb file does not appear to follow specifications (missing [] for the data section). We cannot support these cases.

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