unstract icon indicating copy to clipboard operation
unstract copied to clipboard

fix: Error running in windows

Open Aleshanmaistry opened this issue 11 months ago • 6 comments

Describe the bug

I am trying to setup on a windows machine. Is there a guide for this? I have installed python 3.13 on the machine and ran the script using git bash

To reproduce

Steps to reproduce the behavior.

Expected behavior

When I login I get an error "unstract" does not exist at character 28 2025-01-31 11:53:34 2025-01-31 09:53:34.756 UTC [36] STATEMENT: CREATE TABLE IF NOT EXISTS "unstract"."x2text_audit" ("id" UUID NOT NULL PRIMARY KEY, "created_at" TIMESTAMP NOT NULL, "org_id" VARCHAR(255) NOT NULL, "file_name" VARCHAR(255) NOT NULL, "file_type" VARCHAR(255) NOT NULL, "file_size_in_k

Environment details

  • Latest code pull
  • python 3.13
  • Windows 11

Image

Aleshanmaistry avatar Jan 31 '25 12:01 Aleshanmaistry

@Aleshanmaistry could you add the steps to reproduce? Also currently we haven't tested the setup on Windows. So we have limited support for windows based machines.

But from the looks of the error it looks like something has gone wrong in the initial setup. I would encourage to start fresh and capture the steps you followed. Check if the error is happenning again

ritwik-g avatar Feb 04 '25 13:02 ritwik-g

@hari-kuriakose There is a possibility that this might not be a windows specific issue. This might be issue with our latest builds.

ritwik-g avatar Feb 05 '25 13:02 ritwik-g

@Aleshanmaistry could you please try cloning the unstract again and try once.

ritwik-g avatar Feb 05 '25 13:02 ritwik-g

Image

@ritwik-g I had the same error. The process I followed to install it on Windows was using WSL:

git clone https://github.com/Zipstack/unstract.git cd unstract/ uv venv --python 3.13 source .venv/Scripts/activate bash run-platform.sh

despues de entrar a http://frontend.unstract.localhost dispara un eror diciendo: Failed Error while getting session

After accessing http://frontend.unstract.localhost/, it throws an error saying: Failed Error while getting session

I clicked the login button, entered the credentials unstract and unstract, and right when loading http://frontend.unstract.localhost/api/v1/login, the Django error screen appears, mentioning that the relation "user" does not exist.

Pakoo-8603 avatar Feb 13 '25 19:02 Pakoo-8603

Same issue as everyone else on Windows.

econeil7 avatar Feb 15 '25 20:02 econeil7

i got the same error. is there any fix for this issue?

anticrusader avatar Apr 30 '25 06:04 anticrusader