question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exclude patterns in Find are not saved

See original GitHub issue

Issue Report Checklist

  • Searched the issues page for similar reports
  • Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
  • Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
  • Could not reproduce inside jupyter qtconsole (if console-related)
  • Tried basic troubleshooting (if a bug/error)
    • Restarted Spyder
    • Reset preferences with spyder --reset
    • Reinstalled the latest version of Anaconda
    • Tried the other applicable steps from the Troubleshooting Guide
  • Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description

“Find in files” advanced options are not saved.

What steps reproduce the problem?

  1. Open “Find in files”
  2. Do a search with for example excluding “.venv/, .git/
  3. Restart Spyder
  4. exclude “.venv/, .git/” options have disappeared

What is the expected output? What do you see instead?

The “exclude” advanced options should be saved. This is OK with Spyder v4.2.5 . This does not work with Spyder v5.0.0 . This does not work with Spyder v5.0.1 .

Paste Traceback/Error Below (if applicable)


PASTE TRACEBACK HERE

Versions

  • Spyder version: 5.0.1
  • Python version: 3.9.0
  • Qt version: unknown
  • PyQt version: unknown
  • Operating System name/version: Xubuntu 20.10 VENV

Dependencies

PASTE DEPENDENCIES HERE

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ccordoba12commented, May 18, 2021

Right now all Spyder sessions share the same settings directory, so yeah, that’s what’s causing this issue for you.

I really don’t know if direnv solves the problem, sorry.

1reaction
ccordoba12commented, Apr 25, 2021

Hey @stephane-21, thanks for reporting. I can confirm this is a bug and we’ll fix it in our next version, to be released next weekend.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I exclude a directory when using `find`? - Stack Overflow
Exclude one path, and its contents, saving time by *not* recursing down the # excluded path at all. find . -name '*.js' -not...
Read more >
Why can't I exclude 2 or more patterns from the find command ...
Because of the way the options are parsed, if the first part of an or expression evaluates to true, the second part is...
Read more >
Find command Exclude or Ignore Files (e.g. Ignore All Hidden ...
Explains how to find and ignore ( exclude) certain files while using UNIX / Linux / BSD find command such as all hidden...
Read more >
Exclude a directory or multiple directories while using find ...
I have a lot directories and how to exclude selected directories while performing the find command to save the find execution time.
Read more >
drag and drop reordering of Filters include/exclude patterns is ...
Within Settings > Filters tab, drag and drop of include/exclude patterns are not saved to the settings file. To Reproduce. In the Settings...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found