Skip to content

[Bug]: Galleries not showing in VS Code jupyter environment #336

Open
@dnth

Description

@dnth

What happened?

I tried to display the galleries in VS Code Jupyter environment and nothing is shown.

What did you expect to see?

A fastdup HTML gallery.

To solve this issue we could simply replace this line

if 'JPY_PARENT_PID' in os.environ:

with

if 'JPY_PARENT_PID' in os.environ or get_ipython().__class__.__name__ == 'ZMQInteractiveShell':

I can open a PR if it's necessary.

What version of fastdup were you runnning on?

2.5

What version of Python were you running on?

Python 3.10

Operating System

Ubuntu 22.04

Reproduction steps

No response

Relevant log output

No response

Attach a screenshot [Optional]

No response

Contact Details [Optional]

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions