VaalaCat / synology-alfred

An alfred Synology workflow build with Synology Python API
17 stars 3 forks source link

输入ss+搜索关键字,没有搜索nas,而是现实搜索搜索引擎,内有图 #4

Open munn opened 1 year ago

munn commented 1 year ago

Hi,感谢开发,已经导入,并配置了host等参数 直接输入ss可以看到有Search File in Synology NAS

image

但是输入ss+关键词后提示搜索搜索引擎,见图

image

请问这种情况怎么解决?感谢

VaalaCat commented 1 year ago

bug已经修复,麻烦重新试试新的发布版

munn commented 1 year ago

好像还是不行,能不能出一个安装使用教程?另外dsm_version是设置为7么?

VaalaCat commented 1 year ago

dsm_version和群晖系统版本相关,具体问题可以打开调试日志看看

image
Batscamp commented 1 year ago

Hi there,

Thanks for your work Vaalacat. However, I'm having the same issue. Here are my logs and a screenshot of my vars. Thank you in advance for getting back. CleanShot 2023-06-04 at 19 35 48 CleanShot 2023-06-04 at 19 37 04 untitled.txt

VaalaCat commented 1 year ago

I browsed through your log and found that the error was caused by the lack of Python's requests library. You need to type "pip install requests" in the terminal and press enter, then retry, and it should solve your problem.


发件人: Batscamp @.> 发送时间: Monday, June 5, 2023 1:38:39 AM 收件人: VaalaCat/synology-alfred @.> 抄送: Vaala Cat @.>; Comment @.> 主题: Re: [VaalaCat/synology-alfred] 输入ss+搜索关键字,没有搜索nas,而是现实搜索搜索引擎,内有图 (Issue #4)

Hi there,

Thanks for your work Vaalacat. However, I'm having the same issue. Here are my logs and a screenshot of my vars. Thank you in advance for getting back. [CleanShot 2023-06-04 at 19 35 48]https://user-images.githubusercontent.com/135540439/243197261-482dcf0b-8ce4-463a-9eac-95cbfd393c00.jpg [CleanShot 2023-06-04 at 19 37 04]https://user-images.githubusercontent.com/135540439/243197266-a9ce0534-3c8d-488c-af24-5060087fe0a3.jpg untitled.txthttps://github.com/VaalaCat/synology-alfred/files/11646279/untitled.txt

― Reply to this email directly, view it on GitHubhttps://github.com/VaalaCat/synology-alfred/issues/4#issuecomment-1575651560, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKCTSMXXRGEZN5N54SSK3ODXJTBZ7ANCNFSM6AAAAAAS2NUUSM. You are receiving this because you commented.Message ID: @.***>

Batscamp commented 1 year ago

CleanShot 2023-06-04 at 20 08 17 Thanks for the swift answer! We're on the right path. :) Now, Alfred is telling me that the DSM version is causing issues. I tried with "7.2" as input, did not help.

VaalaCat commented 1 year ago

Please try to change the DSM version to 7.


发件人: Batscamp @.> 发送时间: Monday, June 5, 2023 2:11:56 AM 收件人: VaalaCat/synology-alfred @.> 抄送: Vaala Cat @.>; Comment @.> 主题: Re: [VaalaCat/synology-alfred] 输入ss+搜索关键字,没有搜索nas,而是现实搜索搜索引擎,内有图 (Issue #4)

[CleanShot 2023-06-04 at 20 08 17]https://user-images.githubusercontent.com/135540439/243198896-9881f4ea-b81d-4d45-ba13-65319a583fba.gif Thanks for the swift answer! We're on the right path. :) Now, Alfred is telling me that the DSM version is causing issues. I tried with "7.2" as input, did not change.

― Reply to this email directly, view it on GitHubhttps://github.com/VaalaCat/synology-alfred/issues/4#issuecomment-1575661662, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKCTSMXD5QLHKPYLVNASEMTXJTFWZANCNFSM6AAAAAAS2NUUSM. You are receiving this because you commented.Message ID: @.***>

Batscamp commented 1 year ago

We're getting rid of that error message... but a new one appeared. CleanShot 2023-06-05 at 07 30 29 log.txt

VaalaCat commented 1 year ago

Sorry for the late reply. I'm not quite sure where the issue lies, but based on the log files it seems to be related to your Alfred version. Could you please let me know what version of Alfred you're using?

Batscamp commented 1 year ago

Don't worry, you're so kind to handle my problem. I'm running the v5.1.1 2138 released on May 30th with legally purchased powerpack. All the permissions have been granted.

Batscamp commented 1 year ago

FYI, I removed Alfred with AppCleaner and performed a fresh installation with the setup downloaded from official website. Same behavior. :(

VaalaCat commented 1 year ago

Since I don't have sufficient funds to purchase Alfred 5😜, I am currently using version 4. Therefore, this workflow has only been tested on that particular version. And I am preparing to switch to Raycast soon. Consequently, at the moment, I cannot investigate this issue any further. Nevertheless, I will keep it on hold until an opportunity arises for me to resolve it as quickly as possible.

Batscamp commented 1 year ago

I'm ok to pay you the upgrade if you're ready to investigate further this issue. :)

VaalaCat commented 1 year ago

I have just carefully reviewed your log. It seems that the issue can be resolved by adding a protocol to the host parameter, for example, setting host=http://192.168.1.100.

Additionally, thank you very much for your generosity. Currently, I have no plans to continue using Alfred as I believe Raycast is a more user-friendly tool, especially with its built-in plugin marketplace. If given the opportunity, I would recommend that you use it and in the future, I will focus on developing plugins for Raycast.

Batscamp commented 1 year ago

Hi there, thanks for spending time fixing this issue. :) I changed the host parameter to "https://mynasaddress" and it fixed the issue... until a new one shown up. You will find it below. BTW I removed my password from log since it was displayed in clear text. CleanShot 2023-06-07 at 18 53 18

You're most welcome, let me know if you change your mind in the future regarding the Alfred powerpack upgrade. Since you spoke about Raycast, I've been curious and downloaded it. I'm planning to give it a shot when I will have the opportunity. Thanks for sharing this with me.

log.txt

Batscamp commented 1 year ago

Actually, there's more about this issue. In the vars, I set the host to "https://nastor.local" as I configured a redirection to that address in order to generate a local SSL certificate. What you see above is the result with that parameter. But if I set the local IP address as host "https://192.168.1.100" then I'm having a different behavior! CleanShot 2023-06-07 at 19 13 38 log.txt

DivyangPDev commented 10 months ago

Looks like you have enabled 2FA authenticator on your NAS which is now allowing it to get OTP because of which this issue.

wmjlxl commented 8 months ago

Actually, there's more about this issue. In the vars, I set the host to "https://nastor.local" as I configured a redirection to that address in order to generate a local SSL certificate. What you see above is the result with that parameter. But if I set the local IP address as host "https://192.168.1.100" then I'm having a different behavior! CleanShot 2023-06-07 at 19 13 38 CleanShot 2023-06-07 at 19 13 38 log.txt

i just use http port not https and have the same issue.