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

Package not loading... #3

Open
djsnipa1 opened this issue Dec 12, 2019 · 4 comments
Open

Package not loading... #3

djsnipa1 opened this issue Dec 12, 2019 · 4 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested

Comments

@djsnipa1
Copy link

Hello,

I have had your package installed and configured for months but it hasn't actually been working for about as long as I can remember. I configured and had it working when I first installed it. I have not been able to get it working again since.

Here is my config:

[engines]
csvt = CSV_Torrent_Search https://torrents-csv.ml/#/search/torrent/{q}/1
gh = Github https://github.com/search?q={q}
gist = Github_Gist https://gist.github.com/search?utf8=✓&q={q}
mygists = MyGists https://gist.github.com/search?q=user%3Adjsnipa1+{q}
icons8 = Icons8 https://icons8.com/icons/set/{q}
noun = TheNounProject https://thenounproject.com/search/?q={q}
trakt = Trakt https://trakt.tv/search?query={q}
slant = Slant https://www.slant.co/search?page=0&filter=recs&query={q}
torrentz2 = Torrentz2 https://torrentz2.eu/search?f={q}
choco = Chocolately https://chocolatey.org/search?q={q}

Maybe I am missing something but when I try to type in the keyword for a search it doesn't load the search. I really liked this package and I want to continue using it so any help is greatly appreciated.

Thank you 🙇

@ccarlpearce
Copy link

I have just tried with your configuration with success. My config looks like this:
`[main]
private_mode = no
new_window = no

[engines]
csvt = CSV_Torrent_Search https://torrents-csv.ml/#/search/torrent/{q}/1
gh = Github https://github.com/search?q={q}
gist = Github_Gist https://gist.github.com/search?utf8=✓&q={q}
mygists = MyGists https://gist.github.com/search?q=user%3Adjsnipa1+{q}
icons8 = Icons8 https://icons8.com/icons/set/{q}
noun = TheNounProject https://thenounproject.com/search/?q={q}
trakt = Trakt https://trakt.tv/search?query={q}
slant = Slant https://www.slant.co/search?page=0&filter=recs&query={q}
torrentz2 = Torrentz2 https://torrentz2.eu/search?f={q}
choco = Chocolately https://chocolatey.org/search?q={q}`

Try putting the [main] tag at the start. It shouldn't effect anything but is worth a try?

@bantya
Copy link
Owner

bantya commented Dec 13, 2019

@djsnipa1 I used your search engines and found nothing happening offensive. Also as pointed out by @ccarlpearce, the presence of main section does not affect the desired functionality of the plugin.
The problem may have been caused by duplicate search keyword.

To diagnose the problem @djsnipa1 please do following:

  1. Open Keypirinha Console.

image

  1. Check for any Error/Warning Messages in the console.

image

As you can see above, the console shouts about duplicate entries gh and then gist (as I copied and pasted it directly without checking for duplicate keywords in my easysearch.ini config file.)

You should check for any such error/warning messages regarding EasySearch package. If you found something or anything please do post screenshot or paste those messages here. I will definitely look into it.

🙏🏼

@bantya bantya added bug Something isn't working help wanted Extra attention is needed question Further information is requested labels Dec 13, 2019
@bantya bantya self-assigned this Dec 13, 2019
@bantya bantya pinned this issue Dec 13, 2019
@bantya bantya unpinned this issue Dec 13, 2019
@bantya bantya pinned this issue Dec 13, 2019
@djsnipa1
Copy link
Author

djsnipa1 commented Dec 24, 2019

I apologize for the delayed response. I didn't really know how to see my responses in github.

Ok, so I've used the console to try to debug this problem. I'm getting this about halfway down the list when I reload config:

02:25:09.199 PackageControl.PackageControl: 18 package(s) not installed through PackageControl: ['Asky.keypirinha-package', 'ColorPicker.keypirinha-package', 'Command.keypirinha-package', 'Ditto.keypirinha-package', 'EasySearch.keypirinha-package', 'epoch.keypirinha-package', 'Fakerdata.keypirinha-package', 'Gitmoji.keypirinha-package', 'Kill.keypirinha-package', 'PackageControl.keypirinha-package', 'ShareX.keypirinha-package', 'SystemCommands.keypirinha-package', 'Updater.keypirinha-package', 'URLShortener.keypirinha-package', 'VolumeControl.keypirinha-package', 'WindowsApps.keypirinha-package', 'WinSys.keypirinha-package', 'Zealous.keypirinha-package']

The packages seem to still work though. Except Easysearch. I also tried to put [main] at the top of the file with no success.

Thank you for your time and help. I will check back often now for replys. Have a great holiday if applicable 😃

@bantya
Copy link
Owner

bantya commented Dec 27, 2019

@djsnipa1
I just removed all my keywords and links from easysearch.ini config file, uninstalled the package and reinstalled it through PackageControl. It worked flawlessly!

Also regarding [main] section, providing this [main] is not important. If not provided, the defaults in read-only easysearch.ini files will be used. If you so want to override the defaults, you may include [main], otherwise not required.

As pointed by you, the above mentioned 18 packages are not installed through PackageControl. I guess you may have downloaded it manually. Please remove this faulty EasySearch package and install it through PackageControl. You may have to Update the package repository list for it.

Have a great holiday to you also. 😄 Enjoy. 🎄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants