Windows system cannot create file with long path - windows

I am installing a package with docker and apparently the file structure of this package contains large paths.
The installation fails with this file:
"C:\S\src\vendor\shopware\administration\Resources\app\administration\src\module\sw-cms\elements\product-listing\config\components\sw-cms-el-config-product-listing-config-filter-properties-grid\sw-cms-el-config-product-listing-config-filter-properties-grid.html.twig"
and the error that Windows cant find the path specified.
The path is 265 characters long and Windows cannot create it unfortunately.
I already set "LongPathsEnabled" to True in my Registry and rebooted, however the error still appears.
Do you guys know a solution to this?
Any help is appreciated :)

I solved it by running the docker file in a WSL terminal

Related

How do i execute solana-test-validator command properly?

When i try to execute "solana-test-validator" command in my terminal, i get error and it says:
"libcrypto1_1-x64.dll not found"
"libssl-1_1-x64.dll not found"
I searched everywhere and i looked every solana-test-validator related error things but i never be able to solve my problem.
Here is how I solved it. The solution is in the problem. It needs those two DLL files. Therefore, find a correct version of the both the DLL over the internet and paste in the solana active-release path or if you have zoom installed, you can copy the DLLs from there.
Zoom Location - C:\Users\Asus\AppData\Roaming\Zoom\bin
Solana Active release - C:\Users\Asus\.local\share\solana\install\active_release\bin
Once you copy paste the DLLs, just start the CMD as an admin and run
solana-test-validator
I solved my problem by reinstalling the Ubuntu terminal.

Problem in Oracle 19c installation on Windows 10

I am trying to Run setup.exe as part of Oracle 19c installation on windows 10.
I have downloaded the zip file and extracted it in a folder inside C drive.
When I try to run setup.exe by right click and run as administrator option, a command prompt just flashes for a split of a second and nothings starts after that.
I have found the solution:
After extraction, rename the extracted directory to db_home
Move the db_home directory to the root of your Hard Drive ( in my case its C:\db_home )
run setup.exe as an administrator.
You will see a cmd window pop up and then the red window with the Oracle symbol in it.
Do NOT skip step 2nd step as that is how I was finally able to get it to install.
This also worked with 19c.
I also faced the problem. After seeing this thread, in a while, I figured it out. Apparently, keeping the db_home folder inside a folder that has space in its name caused me the same issue.
I had the same problem and read something about problems with extremely long paths in packages and using the native Windows unzip utility. I unzipped the package using 7-zip instead and it solved the problem.
I was trying to install from d partition and does not work. Then I just move all the installation folder to c partition and it works fine.
I'm an Oracle DBA and I don't know when the change happened or what the source of issue is, but when installing the Oracle client you can no longer have a space " " in the path for the Oracle setup.exe file.
It doesn't matter what utility extracted the files or what drive or path is used (except there is and always has been an issue with very long path names) - it just cannot have a space in the path.
I hope this helps.
This issue has a simple solution:
When we run the Setup file we see a flash CMD in the background...
Your System Environment variable path(DB home) has Space in it.
It should be no space(db_home)
This personally works for me to install.

sass is broken "'dart.exe' is not recognized as an internal or external command, operable program or batch file."

I have received this error:
'dart.exe' is not recognized as an internal or external command, operable program > or batch file.
Sass was working one day, but the next it stopped and gave me this error, I have tried uninstalling and reinstalling. What could the issue be?
You need to install Dart. Check this out:
https://www.dartlang.org/tools/sdk#install
or this
https://katiek2.github.io/path-doc/
or this
https://sass-lang.com/dart-sass
Please Update your Package manager.
example : you use chocolatey Package manager
choco update sass
Then your Dart Dependencies will Updated
Finally it will be work...!
I just had the exact same error. I found that I had to run the Command Prompt as administrator and then it worked fine.
Going between Mac and PC, I ran into this after mistakenly downloading the .zip file for Mac when I was on PC. No .exe files in the Mac version!
I found the solution after searching a lot.
Before downloading flutter from
https://docs.flutter.dev/get-started/install
Disable your antivirus.
Then move the folder to C: and add the exception for the antivirus you are using.
Remember to add to ENV path:
and value as
C:\Windows\System32
C:\Program Files\Git
C:\flutter\bin
If you use WSL on Windows 10, don't configure flutter from WSL's command prompt. Clean the flutter repo, configure everything from PowerShell and then it will hopefully work.

pycharm swig how to? [windows]

I would require some guidance in regards to installing a module/package in pycharm (free edition). I have to mention that i have not worked with this IDE yet and wanted to try it out on a little project containing smartcards.
When i try to install "pyscard" i get the error that boils down to
error: command 'swig.exe' failed: No such file or directory
People say just install SWIG, which i guessed already ^^.
The issue i have is that i actually have no idea how to... and none of the pages i found has really enlightended me on this issue.
I downloaded the zip "swigwin-3.0.12" but i am at a loss what to do with it now. EDIT: According to the SWIG page this is an already compiled version and i have to somehow make pycharm recognize that the folder it is in contains the swig.exe it requires.
EDIT2: Adding the folder containing the swig.exe to the PATH variable also did not work ... which i thought would be the issue
EDIT3+Answer:
Ok the link in the comments from "wp78de" was correct my problem was that pycharm/pc restart were needed for it to catch the added PATH variable to the swig.exe (for pycharm that is)
Any advice is appriciated.
Envoirment:
Windows 8.1 Pro 64-bit
Pycharm 2017.2.4
Python 3.6
Basically, you just have to add the directory that contains the swig executable the PATH environment variable. You can do it via CMD or the Windows UI.
If you have added swig to your path, you should be able to call it in the command prompt from any directory: open "cmd", and type swig --help" on that prompt.
A restart of PyCharm (or whatever your IDE is) and Windows might be required.

Haskel ghci.exe error (0xc0000142)

I tried all versions of haskell from their website and installed them on my windows 10 computer but when i run ghc.exe i get the following error shown in the image:
I have tried several troubleshooting techniques but i cannot find the problem. Note that i have installed the files inside c:/ path
Run the program named "WinGHCi", not "GHCi".

Resources