devika icon indicating copy to clipboard operation
devika copied to clipboard

INSTALLED EVERYTHING BUT IT IS NOT CREATING A PROJECT

Open bajwa4200 opened this issue 10 months ago • 6 comments

When i select create new project it just does not do anything at all and when i type in the chat it says "Select a project" , is there something i missed during my installation how to fix this.

bajwa4200 avatar Mar 24 '24 10:03 bajwa4200

Hello @bajwa4200 ,

Have two terminal Open.

  1. Terminal One : Exec these cmd to start ui server.
cd ui/
bun install
bun run dev
  1. Terminal Two : Exec these cmd to start flask backend.
python devika.py 

ketangangal avatar Mar 24 '24 13:03 ketangangal

I executed the commands mentioned for terminal one they worked fine but in terminal 2 : python3 devika.py Traceback (most recent call last): File "/home/dev/Documents/devika/devika.py", line 24, in logger = Logger() File "/home/dev/Documents/devika/src/logger.py", line 12, in init self.logger = LogInit(pathName=logs_dir + "/devika_agent.log", console=True, colors=True) File "/home/dev/.local/lib/python3.10/site-packages/fastlogging/fastlogging.py", line 540, in LogInit logger = GetLogger(domain, level, pathName, maxSize, backupCnt, console, indent, server, connect) File "/home/dev/.local/lib/python3.10/site-packages/fastlogging/fastlogging.py", line 520, in GetLogger logger = domains[domain] = Logger(domain, level, pathName, maxSize, backupCnt, console, indent, server, connect) File "/home/dev/.local/lib/python3.10/site-packages/fastlogging/fastlogging.py", line 176, in init self.F = open(pathName, "a", encoding=Logger.encoding) PermissionError: [Errno 13] Permission denied: '/var/log/devika_agent.log'

bajwa4200 avatar Mar 24 '24 14:03 bajwa4200

I used one Terminal, starting the Backend with "python devika.py &", sends this process to the background and releases the Terminal for executing the commands to start the UI (those in your Termine One).

Yet, I encountered the same issue: I cannot Create a project. Some of the items on the UI work either, such as entering a prompt, except that Devika cannot execute a prompt without a project defined.

angeloluidens avatar Mar 24 '24 18:03 angeloluidens

I used one Terminal, starting the Backend with "python devika.py &", sends this process to the background and releases the Terminal for executing the commands to start the UI (those in your Termine One).

Yet, I encountered the same issue: I cannot Create a project. Some of the items on the UI work either, such as entering a prompt, except that Devika cannot execute a prompt without a project defined.

Same on here.

kimsama avatar Mar 25 '24 02:03 kimsama

Hello @kimsama , @angeloluidens ,

UI is buggy but you can try invoking api from postman.works for me

ketangangal avatar Mar 25 '24 11:03 ketangangal

Just thought i'd add - running into the same issue ...

codevladdo avatar Mar 26 '24 19:03 codevladdo

fetch the latest changes.

ARajgor avatar Apr 03 '24 18:04 ARajgor

Latest version installed and i have the same error

Ollama running Backend running and frontend

but cant create a new project still

visaeon avatar Apr 04 '24 07:04 visaeon

share logs

Latest version installed and i have the same error

Ollama running Backend running and frontend

but cant create a new project still

ARajgor avatar Apr 04 '24 16:04 ARajgor