22,793 questions
-5
votes
0
answers
79
views
Using relative file paths in JS arrays [closed]
I am working on a side-project to improve my FE-development skills and am designing a (fictional) toilet paper shop.
As a first step, I hard-coded some mock products directly into my HTML file (...
1
vote
1
answer
112
views
How can I specify the path to my Python installation through R?
I am trying to install an R package that draws on Python in the background but having issues with R finding the installation of Python. I am working on a Windows machine and have Python 3.14 installed....
2
votes
1
answer
93
views
Launching a python script in vscode with arguments I get FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\USERNAME\\FolderName'
I am trying to debug python code in vscode using a launch config that asks for command line arguments.
My script is located here:
C:\Users\USERNAME\FolderName - With Spaces\_MyHome\Documents\Dev\...
1
vote
1
answer
69
views
asp.net tilde ~ paths not resolving on pages with a master page
I have a page Product.aspx that has a master page Main.master, both pages are in the root of the project (they don't belong to any folder). The problem is that the tilde path only works for the Main....
0
votes
0
answers
66
views
Maven WAR Plugin Unable to Find Directory
I have a maven-war-plugin configured in my pom.xml. Like this:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
&...
-1
votes
2
answers
96
views
Access the path of a file copied to clipboard in VBS [duplicate]
I need to read the path of (multiple) files that have been pasted to the clipboard (e.g. selected in Windows Explorer and copied).
When I paste this clipboard content into a command line, the path of ...
1
vote
0
answers
55
views
PreEmptive Protection Dotfuscator Can not build when not setting true for autoGenerateIfMissing
I got a problem when trying to integrate Dotfuscator into MSBuild.
<!--Dot obfuscator-->
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
<!-- import user ...
0
votes
0
answers
49
views
Zerobrane Path not finding files...how do I set it?
I'm using Zerobrane Studio (2.00; MobDebug 0.803) on Windows 11. When I try to run/debug some code, I get:
: module 'strict' not found:
no field package.preload['strict']
no file '.\strict.lua'...
0
votes
1
answer
42
views
I need to understand the path to an image in react-native
I don't know what I am doing wrong with this path in data.js. It worked in another project, but doesn't in this one with image:
require('../../assets/images/icon.png');
This is the folder structure ...
0
votes
2
answers
36
views
How to convert Windows %PATH% to cygwin $PATH in .cshrc/.bashrc?
I would like to automatically have my Windows %PATH% variable converted to $PATH when I enter a cygwin shell (either bash or tcsh), so if I make a path change in Windows, it will automatically be ...
1
vote
1
answer
269
views
handle dbt variables while using sqlfluff
I'm using VS Code on macOS. I installed sqlfluff locally using pip. I also installed it via the extensions UI.
I am trying to format my code manually via the UI. When I select my code, do a left click ...
1
vote
0
answers
45
views
Documents folder path discrepancy between Android version (9 et 15)
I'm in testing step of my MAUI application, and I have an issue when testing on a emulated Android 9 (API 28).
I was testing and correcting my code on last Android version (Android 15, API 35), and ...
0
votes
1
answer
128
views
JAR file can not access to a given directory
I made a Java application that loads image files from a directory called "images".
If I compile and build in this way it works:
javac Swing.java
java Swing
Conversely, if I compile and ...
0
votes
0
answers
36
views
Save file in folder using partial folder name [duplicate]
I created a button that is supposed to allow users to save a copy of the current file in a folder. The path changes, depending on the value of A1.
For example, if A1 is 9999, I want the file to be ...
0
votes
0
answers
37
views
Gitlab lost relative path mapping where repositories actually are located
I do a self hosted Gitlab Omnibus instance running on a bare metal server. Lately I made settings changes due to the Gitaly settings change in the 18.x version. During this time, however, mappings ...
1
vote
2
answers
150
views
How to determine if 2 instances of java.nio.file.Path are pointing to the same file?
I have a simple problem -- I have multiple threads that are doing appends to a file, based upon a file name that the user can choose.
At first, I tried to synchronize on instances of Path, but after ...
0
votes
0
answers
33
views
How do I download JNativeHook correctly in Eclipse IDE?
I wanted to utilize a global keylogger for my project and I went to https://github.com/kwhat/jnativehook/releases for downloading JNativeHook. I downloaded "jnativehook-2.2.2.jar" one and ...
1
vote
1
answer
84
views
What does the ';' at the end of the PATH (env var) mean?
I am creating a tool and the tests on Windows do not work correctly. The reason is that there is a ';' at the end of the $PATH (the environment variable). However, in the original $PATH (in the ...
1
vote
1
answer
57
views
Copying Sheet and Saving in Path of current Workbook
I am trying to create a macro that copies a sheet from my current workbook and saves that sheet as a .csv file in the same path as my current workbook. Any help is appreciated.
Current Code I'm ...
0
votes
1
answer
274
views
Issue with Path in Github Actions using Python
I have a github actions workflow where I run many different files, for which I append to the PYTHONPATH all the paths I need for the scripts to work. To do so, I created another program called ...
1
vote
1
answer
92
views
Multiple Python Paths
I have multiple Python Paths to choose from as seen in the images. I remember installing Python via brew and through the internet and Anaconda.
I don't have any idea which are redundant and what to ...
2
votes
1
answer
153
views
How to read an image from a path with Unicode characters in C++?
I am trying to load an image with unicode characters in its path.
cv::imread doesn't take a std::wstring as input, so I tried to convert the wide string to a common string first:
#pragma warning(push)
...
0
votes
4
answers
130
views
Sort array by filenames independent of path
I have a list of complete filenames stored in an array such as:
./Downloads/epo6700lnx.zip
./Downloads/epo6600lnx.zip
./Desktop/epo6800lnx.zip
./Public/epo6900lnx.zip
I tried reverse sort, but get:
./...
0
votes
1
answer
284
views
R Studio cannot find packages even though pathway is correct
R Studio cannot find my packages. During startup, I receive this warning:
Error: package or namespace load failed for ‘stats’ in inDL(x, as.logical(local), as.logical(now), ...):
unable to load ...
0
votes
0
answers
41
views
Path Path Copy (pathpathcopy) custom path in Windows for WSL
Path Path Copy (https://github.com/clechasseur/pathcopycopy ) will copy Unix or WSL paths in Windows to the clipboard.
so if a Windows path looks like this:
"C:\Users\abc\Desktop\portable\coding ...