Coder Social home page Coder Social logo

Comments (16)

egorpugin avatar egorpugin commented on July 1, 2024

Try to remove C:\Users\MyUser\ .sw\storage\etc\sw\database\1\remote and re-run.
Sometimes sw cannot update remote db.

from sw.

Moldoteck avatar Moldoteck commented on July 1, 2024

Not working

from sw.

egorpugin avatar egorpugin commented on July 1, 2024

Try to remove C:\Users\MyUser\AppData\Local\Temp\sw also.
Does sw setup require admin privileges from you?

from sw.

Moldoteck avatar Moldoteck commented on July 1, 2024

Not working too
I think not. Anyway my cmd always runs as admin

from sw.

egorpugin avatar egorpugin commented on July 1, 2024
copy_file: The system cannot find the path specified.: "C:\Users\MyUser\AppData\Local\Temp\sw\9987-739f-9422-7233\database-master\schema.version", "C:\Users\MyUser\ .sw\storage\etc\sw\database\1\remote\origin\repository\schema.version"

Do you have both of these files?
What is your username? Maybe it has spaces in it? Unicode symbols?

I do not have good versions for now, need to think what's the problem.

from sw.

Moldoteck avatar Moldoteck commented on July 1, 2024

Temp has all the files, but C:\Users\MyUser.sw\storage\etc\sw\database\1\remote\origin has only packages.db and packages.db.lock. repository directory doesn't exist.
User name does not have spaces/unicode symbols

from sw.

egorpugin avatar egorpugin commented on July 1, 2024

Try to run sw -trace setup and post log here.

from sw.

Moldoteck avatar Moldoteck commented on July 1, 2024

Starting sw...
command line:
sw -trace setup
Packages database was not found
Downloading database from origin remote
copy_file: The system cannot find the path specified.: "C:\Users\AFCJEJK\AppData\Local\Temp\sw\e5fc-7553-4c60-8e68\database-master\schema.version", "C:\Users\AFCJEJK.sw\storage\etc\sw\database\1\remote\origin\repository\schema.version"

from sw.

egorpugin avatar egorpugin commented on July 1, 2024

"C:\Users\AFCJEJK.sw\s...
Do you fix your username somehow or is it really no backslash before .sw?

from sw.

Moldoteck avatar Moldoteck commented on July 1, 2024

there is backslash, but github is masking it

from sw.

Moldoteck avatar Moldoteck commented on July 1, 2024

The strange thing is that yesterday it worked, but i re-installed sw and now it doesn't work

from sw.

Moldoteck avatar Moldoteck commented on July 1, 2024
----------------------------------------
Starting sw...
command line:
sw -trace setup
Packages database was not found
Downloading database from origin remote
copy_file: The system cannot find the path specified.: "C:\Users\AFCJEJK\AppData\Local\Temp\sw\e5fc-7553-4c60-8e68\database-master\schema.version", "C:\Users\AFCJEJK\.sw\storage\etc\sw\database\1\remote\origin\repository\schema.version"

from sw.

egorpugin avatar egorpugin commented on July 1, 2024

Ok, what if you remove .sw\storage\etc\sw\database?
(This will cause to re-download all packages, but we need to check it.)

Next step is to remove .sw\storage completely.
Next - remove whole .sw with settings.

You could backup your db and storage before these actions.

from sw.

egorpugin avatar egorpugin commented on July 1, 2024

Looks like bad rights on files/dirs.

from sw.

Moldoteck avatar Moldoteck commented on July 1, 2024

Hmm. So strange. I logged-out and logged-in back and command magically started to work. Anyway, thank you for help

from sw.

egorpugin avatar egorpugin commented on July 1, 2024

Feel free to reopen.

from sw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.