Skip to content

Default find in files pane broken in Spyder in WinPython (v3.5) #355

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

Closed
DStauffman opened this issue Jul 15, 2016 · 3 comments
Closed

Default find in files pane broken in Spyder in WinPython (v3.5) #355

DStauffman opened this issue Jul 15, 2016 · 3 comments

Comments

@DStauffman
Copy link

When I install a clean version of WinPython v3.5.1.3 on Windows 10, then within Spyder, the "Find in Files" pane doesn't work. It gives a an error of "Search cancelled (invalid regular expression)". Looking into the very lengthy expression in the "Include:" field, shows that there are invalid regular expression characters such as \u or \p. I don't know where these all come from, but it looks like a lot of them have stranded slashes that either shouldn't be there, or should be slash dots instead.

Some examples:
|\utodelegate$| ... |\pache.conf$|\pache2.conf$| ... |\gvimrc$|\imrc$|\vimrc$|

Changing this include field to the much simpler version below makes everything work as expected.
|.py$|.pyw$|.pyx$

@hiccup7
Copy link

hiccup7 commented Jul 17, 2016

Your issue may be with Spyder 3.0.0.dev0 instead of WinPython. My suggestion is to try WinPython 3.5.2.1rc, which includes Spyder 3.0.0b4. This WinPython build is documented at #309
The downloads are available at https://sourceforge.net/projects/winpython/files/WinPython_3.5/3.5.2.1/betas/

If you find an issue with Spyder 3.0.0b4, you can report it to the Spyder team at https://github.com/spyder-ide/spyder

Since WinPython 3.5.2.1rc uses Qt4, you can replace Spyder 3.0.0b4 with 2.3.9 from here http://www.lfd.uci.edu/~gohlke/pythonlibs/#spyder
using the WinPython Control Panel. It would be helpful to the Spyder team to know if your issue is a regression relative to 2.3.9.

@stonebig
Copy link
Contributor

stonebig commented Jul 18, 2016

could it be related to spyder-ide/spyder#3295 , merged 3 days ago in spyder master ? Anyway, I don't reproduce the issue in WinPython3.5.2.1rc

@DStauffman
Copy link
Author

I did just confirm with WinPython3.5.2.1rc2 that this is no longer present. It does look like exactly the issue #3295. It looks like the extra test case in test_findinfiles.py is perfect for preventing it again. I believe we can close this. Thanks!

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

3 participants