Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Unknown Error occur when searching in project #1070

Closed
1 task done
XingyuJin opened this issue Feb 1, 2019 · 7 comments
Closed
1 task done

Unknown Error occur when searching in project #1070

XingyuJin opened this issue Feb 1, 2019 · 7 comments

Comments

@XingyuJin
Copy link

Prerequisites

Description

When I trying to use the feature search in project to find the files that certain content is in. But there is a window saying UNKNOWN: unknown error, open '............(my path to directories in the project I am searching in)'. The error window blocked all search result and cannot be closed.

Steps to Reproduce

  1. Ctrl+Shift+F to search in project
  2. type content I want to find

Expected behavior: show me the files which contains the content I want.

Actual behavior: The window saying UNKNOWN: unknown error blocked the searching result

Reproduces how often: 100%

Versions

Atom : 1.34.0
Electron: 2.0.16
Chrome : 61.0.3163.100
Node : 8.9.3

@rsese
Copy link

rsese commented Feb 1, 2019

Thanks for the report! Can you confirm if the error is reproducible in safe mode?

Also, is this only an issue with a specific project and there's no error with other projects?

The window saying UNKNOWN: unknown error blocked the searching result

Can you share a screenshot?

@XingyuJin
Copy link
Author

Yes, I have tried it in safe mode, and the same thing happened.

This issue only happen with this one specific project, which is a private github directory.

image

@rsese
Copy link

rsese commented Feb 5, 2019

This issue only happen with this one specific project, which is a private github directory.

Oh interesting - do you remember if you always had trouble with this project and search or did it start recently?

Do you have any similar project that happen to be public that we can test?

Also, based on the path it looks like this is just a local project on your computer?

@XingyuJin
Copy link
Author

This is actually my first time working with a project like this and use the function of searching in project, so I am not sure if it has been like for a long time.

I don’t really know what is this project different from other folders and directories that I have on my laptop. Do you have any idea what kind of directory maybe a good test?

Yes, it is a local project on my computer. But I cloned it from github.

Also, I’m not sure if this is helpful, but I tried the searching in project function of some other text editors. Interestingly, Sublime Text reports the same errors like Atom, but it does not block the search result window. Additionally, if I use IntelliJ and use the option [import a project], this error does not occur.

Thank you for answering my question! Hope this clues help!

@rsese
Copy link

rsese commented Feb 8, 2019

Thanks for the extra details - since you're seeing similar errors in Sublime, it at least sounds like this isn't an issue specific to Atom? And it also sounds like it's specific to this one project so I'm assuming you've cloned other Git repositories and had no problems?

Are there any permissions issues with the files mentioned in the output? For example, can you edit and save them with no problem?

@sjg10
Copy link

sjg10 commented Feb 8, 2019

I had exactly the same issue as reported above.
(Atom 1.34.0 x64
Electron 2.0.16
Chrome 61.0.3163.100
Node v8.9.3)

The files throwing the Unknown error were found to all be 0 bytes, apparently a common on Windows 10.
Deleting those files and checking out again resolved the issue for me. This may have been due to file system corruption after SSD cloning.

@no-response
Copy link

no-response bot commented Mar 8, 2019

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

@no-response no-response bot closed this as completed Mar 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants