Closed jalendarreddym closed 4 months ago
+1, I'm getting the same issue when using Google, when using anything else I get an Async API issue
I re installed everything 3 times there is definitly something wrong with the code rightnow we need stable docker release I will wait :)
+1, I'm getting the same issue when using Google, when using anything else I get an Async API issue
have you tried the latests commits on the main branch? This issue should be fixed by now
My error was slightly different, but it was fixed after upgrading to latest commit
mine is something like this:
Search Engine :: google Searching in Google...
Link ::
Exception in thread Thread-3 (
no idea what is the case :(
fetch the latest changes. already fixed for simple case. I guess docker file is not ready.
if it's help then resolve the issue.
I am also getting this as well:
playwright._impl._errors.Error: Protocol error (Page.navigate): Cannot navigate to invalid URL
I uninstalled and reinstalled everything, it says I am up to date when i do 'git pull' . Is there anything extra I have to do to get the code with fix for this or just wait for the docker?
I am using Ollama/Mistral and Google search and it's Ubuntu 22.04
Edit: There is no difference if I use openai3.5 or 4 turbo, same error for all 3. Also, maybe this is related, the settings and the home button on the left both seem to make it be stuck on an empty screen, only way back to the main screen is to refresh after I click those buttons.
I am also getting this as well:
playwright._impl._errors.Error: Protocol error (Page.navigate): Cannot navigate to invalid URL
I uninstalled and reinstalled everything, it says I am up to date when i do 'git pull' . Is there anything extra I have to do to get the code with fix for this or just wait for the docker?
I am using Ollama/Mistral and Google search and it's Ubuntu 22.04
Edit: There is no difference if I use openai3.5 or 4 turbo, same error for all 3. Also, maybe this is related, the settings and the home button on the left both seem to make it be stuck on an empty screen, only way back to the main screen is to refresh after I click those buttons.
I am also getting the same error, let me know how you go with it. I noticed that the URL is not even being populated when Devika searches:
@Tim-Mclennan mine started working! I noticed my google search API had a space after it so i got rid of the space and restarted the backend and frontend and now i am able to search with gpt4 and ollama/mistral. I'm surprised that the space would cause the problem, but all i did was that and restart.
I am unable to install in Fedora without having problems. Getting help on the playwright repo is frustrating and I am unable to understand why Fedora users are being laughed at like that… Please help!!!
bun
the proper way (through the instructions on website) and not through apt (generally good practice)git log -1
and add that as version, as issues like this have already been solved for certain versions.If you have tried all of that (my installs never work out of the box, so these steps usually solve most problems), I would create another issue as it would be of compatability (as latest works on a standard 22.04 Ubuntu install) between systems (in this case I would double check everything by re-installing on a clean virtual install of your os, perhaps with docker, but that's just me). If anyone is using Windows, I would personally refrain using it on a mvp (as is any open-source devin project right now) and instead use WSL or a vm, but that's just me. Please comment if I missed something.
@Tim-Mclennan mine started working! I noticed my google search API had a space after it so i got rid of the space and restarted the backend and frontend and now i am able to search with gpt4 and ollama/mistral. I'm surprised that the space would cause the problem, but all i did was that and restart.
can you tell more? where was the space?
Facing same error
fetch the latest changes. already fixed for simple case. I guess docker file is not ready.
fetched latest changes, still this error: playwright._impl._errors.Error: Protocol error (Page.navigate): Cannot navigate to invalid URL
@sockthem
The space that I got rid of was in config.toml in the api keys section, the Google Search variable. There was a space after the key that I had pasted in. I don't know why that would matter, but that was literally the only thing I changed, and then I shut down the front and backends and then restarted them.
Also, I didn't follow the instructions here in the repo, I followed Matthew Berman's new tutorial on this. I realized after I did it that his instructions were a bit different than what's on here.
i saw this video earlier, where he is facing the same issue and at the end says " its buggy at this point" , but rest of the features are working fine. DuckDuckGo browser is working, but google search ain't still. I tried removing space, restarted multiple times, still no luck.
@sockthem
The space that I got rid of was in config.toml in the api keys section, the Google Search variable. There was a space after the key that I had pasted in. I don't know why that would matter, but that was literally the only thing I changed, and then I shut down the front and backends and then restarted them.
Also, I didn't follow the instructions here in the repo, I followed Matthew Berman's new tutorial on this. I realized after I did it that his instructions were a bit different than what's on here.
is google search working for you now?
@sockthem
Google search is working for me. I haven't tried with any other search. I tested with ollama/mistral and gpt4. The web page that is browsing comes up on the right hand side, and it produces code just as expected. The code it produced needed a little tweaking, but I think that was totally unrelated to any searching or browsing.
I am unable to install in Fedora without having problems. Getting help on the playwright repo is frustrating and I am unable to understand why Fedora users are being laughed at like that… Please help!!!
I realized that it was just easier to use the docker-compose method and it seems like it did not fail while building but now I think I have other problems (unrelated to the topic since playwright is no longer an issue) I will be patient and will hope that it will be possible to have some sort of way to refresh the system state or to get better information about the possibility of degradation in the process...
Thanks for all the efforts everyone has been putting into making this possible... I hope this will become so powerful that it is maintain itself in the near future...
still getting "playwright._impl._errors.Error: Protocol error (Page.navigate): Cannot navigate to invalid URL" with the latest code too.
still getting "playwright._impl._errors.Error: Protocol error (Page.navigate): Cannot navigate to invalid URL" with the latest code too.
In the python log there a log of links like Links :: can you share the links
Hi @ARajgor, thanks for asking.
Where would I find those? I checked the "data/logs/devika_agent.log" log file and it does not contain any "Links ::" or similar.
PS: I've also tried replacing Google search with DuckDuckGo and the backend gets stuck with the message: "root: INFO : Waiting for user query..." repeating every 5 seconds..
Hi @ARajgor, thanks for asking.
Where would I find those? I checked the "data/logs/devika_agent.log" log file and it does not contain any "Links ::" or similar.
PS: I've also tried replacing Google search with DuckDuckGo and the backend gets stuck with the message: "root: INFO : Waiting for user query..." repeating every 5 seconds..
"Links ::" isn't present in log. While you running the agent it print in console.
"Waiting for user query..." is already solve I don't know why it's still a problem. For this share the "research ::" print
OK. I haven't got this in the last two runs (and I did not update the codebase since yesterday). Not sure about the reason but hopefully the issue is not coming back..
solved it. fetch the latest changes.
Description: When running the Devika agent, I encountered an error related to navigating to a URL using Playwright.
Steps to Reproduce:
Run the Devika agent. Attempt to navigate to a specific URL. See the error message. Expected Behavior: I expected the Devika agent to navigate to the URL successfully.
Error Message:
Exception in thread Thread-7 ():
Traceback (most recent call last):
File "C:\ProgramData\anaconda3\Lib\threading.py", line 1038, in _bootstrap_inner
self.run()
...
playwright._impl._errors.Error: Protocol error (Page.navigate): Cannot navigate to invalid URL
Additional Information:
Operating System: [e.g., Windows 10] Browser: [e.g., Edge Devika Version: [e.g., 1.0.0]