Questions tagged [path]

The general form of a file or directory name that specifies a unique location in a file system. In many Linux and Unix-like OS the PATH (all upper case) variable specifies the directories where executable programs are searched for.

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

Is there any difference between https://example.com/path/to/url and https://example.com//path/to/url?

I encountered an interesting issue where I replaced an image file in the WordPress file manager, but when I accessed the URL, the original file was still displayed. Despite my attempts to fix the ...
Senior Coder's user avatar
0 votes
0 answers
11 views

Mapping URLs to different ports (path forwarding) in AWS alb

I have a couple of applications hosted on AWS in different ports. one specific application is hosted in 9751 and others will use 9752. I set the rule to route /acme/ to 9751 and then left the default ...
kallada's user avatar
  • 1,837
-1 votes
0 answers
13 views

Where to edit osk.exe file path in Registry Editor? [closed]

So, I'm trying to replace osk.exe or at least change its file path in the Registry Editor so I can access cmd.exe on the lock screen. I know the file path to both (On Screen Keyboard: C:/Windows/...
KaiLando's user avatar
0 votes
0 answers
14 views

My ArcSegment doesn't actualize on Xamarin.Ios

<Path x:Name="PathCircle" Stroke="Black" StrokeThickness="17" StrokeLineJoin="Round" TranslationX="125" TranslationY="530"> ...
Antoine21000's user avatar
1 vote
0 answers
16 views

Removing /#/ from Flutter Web URL stops caching using Workbox Service Worker

I am developing a PWA using Flutter. To cache assets, I am using Workbox. When I use the url_strategy package, it cleans the hash (#) from the urls. e.g. ( http://localhost:400/homepage ). But the ...
vkjinx's user avatar
  • 11
0 votes
0 answers
3 views

Directory Path Change Issue: New Directory with Permissions Still Referring to Old Directory as 'Permission-Lacking

I made two user directories, then I changed one's path. Now, the old directory can't save files because it lacks permission. I want to use the current one but it directly goes to the old one, how to ...
Mayank Dindoire's user avatar
0 votes
0 answers
5 views

file path error, many images files merge with csv files

I want to show my problems where arise and what is my code by this code I want to know code what to wright in both pd.read_csv in file path and why all files are not tracked by version control by git, ...
Shiv Bhola Bind's user avatar
2 votes
3 answers
72 views

How to produce a list of all unique key path from a given JSON

I would like to produce a list of all unique key path from a given JSON, each one in a line. For example, from this input JSON: { "results":[ { "id":306, ...
Denio Mariz's user avatar
  • 1,095
0 votes
0 answers
12 views

how to set cross-platform path in application in spring boot

As in title, I want to devlope my spring-boot project both in linux and windows. I want to set a path in application.properties which I use globally, but it can only work on either linux or windows as ...
Doutzen Chan's user avatar
0 votes
0 answers
21 views

to add path from array in the copmponent ReactJS

I try to add path to image from array. I would like to create components with different images. I decided to make an array with id and path to image for each id. But It doesnt work. I get Cannot find ...
MMaxPwD's user avatar
3 votes
2 answers
60 views

How to find the closest parent directory that distinguishes duplicated file names?

I have a list of full pathnames and I would like to return the path from the nearest parent directory that de-duplicates the file paths. Here is an example of what I have (I have grouped duplicated ...
LMc's user avatar
  • 12.9k
0 votes
1 answer
36 views

How to configure debug environment for vscode

I am struggling to debug my project. The directory structure is as follows: Root Dir ModuleA Submodule1 Submodule2 ModuleB Submodule3 Submodule4 When debugging a python script within Submodule3 (...
Austin Hallett's user avatar
1 vote
1 answer
37 views

String of java.nio.file.Path

Can explain what I'm doing wrong and/or missing here. I have java.nio.file.Path objects that work fine in my Java application. The only issue is when I try to print them out in logs, and the issue is ...
alexdlaird's user avatar
  • 1,184
-1 votes
2 answers
35 views

I cannot understand how the pathing system works

I am very confused with how the pathing is supposed to work in my project. I have two folders in my main root folder - by root I mean the one I have open in VS Code which is called backend - views ...
Eslam Salem's user avatar
-1 votes
0 answers
24 views

I need detect if any file copy to another usb or external harddisk [closed]

I need to write a program to detect copies of files from my computer to USB or external hard where three methods to move files 1- copy paste 2- send to 3- drag and drop I need c# code or idea for ...
iraqi's user avatar
  • 1
0 votes
1 answer
13 views

How to import data from .py scripts outisde of visual code?

I've been working on a script which imports data from other python scripts with the "from X.py import *" method. At the moment I am willing to compile all files to create a shortcut (...
Asylum's user avatar
  • 3
0 votes
0 answers
25 views

Shortest path to an exit going through a key (Dijkstra)

In a directed and weighted graph, there are at most V exits scattered among the vertices, denoted by exits = [v1,v2, ...]. In order to exit the graph through an exit, you will have to pass through a ...
Vince's user avatar
  • 1
0 votes
1 answer
32 views

Android URI wrong path why?

I have a file File tempFile = ....// creating the file String fPath = temFile.getPath(); //this will return - /storage/emulated/0/Pictures/A //After that I get the URI URI uuu = FileProvider....
Bisser Milanov's user avatar
1 vote
3 answers
40 views

Uvicorn can't find modules

I have a folder that has my venv with dependencies and a python file. When I run the python file with python main.py it works. When I run the python file with uvicorn main:app --reload it throws a ...
Ben Weissman's user avatar
0 votes
0 answers
14 views

How to create method Eraser in class custom ImageView?

I have created a custom imageview class. Here I use the function public void setNewImage(Bitmap alteredBitmap, Bitmap bmp, float paintSize, int paintColor) in which alteredBitmap is a bitmap that ...
Dương Phạm Thái's user avatar
0 votes
0 answers
11 views

How do I display files (.txt, .pdfs, .word, etc) in my directory program. JAVA

I am having trouble displaying the files in directories when I display it on my program and get an exception. I am using a tree structure to try to import my files and display them. Exception in ...
Fernando Romo's user avatar
0 votes
1 answer
28 views

Applescript - Pathing to a specific (non-desktop) folder location

I am currently using this line of code: set logFilePath to ((path to desktop as text) & "crash.log") as text to path to the desktop. However, I want to path to another file path, such as ...
Spruce Studios's user avatar
0 votes
0 answers
38 views

How to use current MacOS $PATH in .app created by pyinstaller

I'm very new in coding so I apologize in advance. I'm trying to create .app build of my python application. The application sends adb commands in console on buttons click. adb is in my MacOS PATH, so ...
Jet's user avatar
  • 1
0 votes
0 answers
16 views

Npm run build fails on live server with Next JS 13

I have a project in Next JS 13. My folder structure is as follows: /components /helpers /pages /public /styles jsconfig.json next.config.js In jsconfig.json I use: { "compilerOptions": { ...
Patrick Steenks's user avatar
0 votes
0 answers
23 views

TestNG MacOS Eclipse: /bin/sh: /platform-tools/adb: No such file or directory java.lang.Exception: Adb Connect Command Failed to Exe

I'm currently using TestNG xml in Eclipse on a MacOS system for a simple test script, I'm not sure why I'm getting the error: Adb Connect Command Failed /bin/sh: /platform-tools/adb: No such file or ...
Andrew Zhang's user avatar
0 votes
1 answer
46 views

.command file on macOS executes code different than manually typing the script in terminal. Why?

I am working on, Project: Multi-Clipboard Automatic Messages from Automate the Boring Stuff. I am using MacOS. The issue I am facing is when I try and execute the .command file in spotlight, I am ...
MaxHatter's user avatar
0 votes
0 answers
24 views

GitHub Actions: Use local action after checkout into different folder

I want my workflow to use a local action. Normally, one would do that like so: jobs: my_first_job: steps: - name: Check out repository uses: actions/checkout@v3 - name: Use ...
Robin's user avatar
  • 1
0 votes
0 answers
14 views

SharePoint long path not working in Python

My Organization recently rearranged their SharePoint folder and now my script is not working. I have a Python script that is reading an Excel file from SharePoint. The old path used to look like this: ...
ybloodz's user avatar
  • 167
1 vote
2 answers
23 views

How can I manage different versions of Python on Mac?

It seems there're different versions of Python installed on my Mac, as shown below. And they're installed under the same folder, EXCEPT python 3.8.1, whose folder path is bit weird to me. Does it mean ...
user22541195's user avatar
0 votes
0 answers
23 views

Drawing stroke inside of path with Android Graphics

I am using Android Graphics to draw shapes onto a view. I have some Path and what I want to achieve is to have a stroke on the inside along the edges of that path. Unfortunately, Paint.Style.STROKE ...
Pascal's user avatar
  • 1
0 votes
0 answers
9 views

Updating path for OS environment

Before you proceed, update the PATH import os os.environ['PATH'] = f"{os.environ['PATH']}:/root/.local/bin" os.environ['PATH'] = f"{os.environ['PATH']}:/opt/conda/lib/python3.6/site-...
Jaaz Douglas's user avatar
0 votes
2 answers
28 views

Unable to load image if there is '/' in name in Flutter

I am struggling to get an image from app's documents directory. The image is called '10 sept 202316/32/57'. And when I am trying to fetch it, I get this error: Cannot retrieve length of file, path = '...
Shalugin's user avatar
  • 1,102
0 votes
0 answers
33 views

How to save drawing as Project file and restore before start drawing

i am creating a drawing app in android studio, i want to save drawing as a project file in memory but i am not able to save android.graphic.path arraylist in project file, can any body help me to save ...
Arvind Kaushik's user avatar
0 votes
1 answer
39 views

Escape all backslashes from a Read-Host input string

I'm building a simple tool to compile C++ and C# code faster, and with compiling, you generally paste in the path of your file/folder when you cd into the directory. The problem with this is that the ...
Tumbleweed64's user avatar
0 votes
1 answer
15 views

Why is the first value in pathlib.Path.parts a forward slash?

if I run the code from pathlib import Path print(Path('/some/file/system/path/').parts) it will output ('/', 'some', 'file', 'system', 'path') Why is the value of the first entry a forward slash? I ...
gnarlyninja's user avatar
1 vote
2 answers
57 views

How does Rails 7 locate the Ruby executable?

I'm new to Ruby and Rails, and my rails installation cannot run in the CLI because it is looking for Ruby in the wrong place. TLDR question - How can I point rails to my ruby installation? Here is the ...
Peregrine's user avatar
0 votes
0 answers
18 views

How do I change the path where Platformio is looking for the platformio.exe file?

I am getting this error while trying to build in platformio. The terminal process failed to launch: Path to shell executable "c:\Users\aditi.DESKTOP-49PGKM5\Documents\Test1\platformio.exe" ...
aditi Deshpande's user avatar
1 vote
0 answers
23 views

Leaflet SVG overlay - make paths interactive

Is there any solution to make an svg path element which is loaded as an overlay on a leaflet map interactive? I want to change the color of the path on mouseover. my suggestion was to try it with this ...
CodingBox's user avatar
-3 votes
0 answers
29 views

What is this error and how can I solve this?

Here is the image of my cmd D:\web-dev\Tutorials\React>npx create-react-app reactapp npm ERR! code ENOENT npm ERR! syscall lstat npm ERR! path C:\Users\91901\AppData\Roaming\npm npm ERR! errno -...
Raghu nadh's user avatar
0 votes
1 answer
39 views

Path expansion in execve() [duplicate]

I followed what was said in a different thread. I have used execve() with an environment variable PATH, set it to /bin, in order to be able to call commands without using the absolute path. But the ...
modernAlchemist's user avatar
0 votes
0 answers
37 views

how to config intellij 2023.1 java.system.path

I'm using IntelliJ IDEA 2023.1.2 (Community Edition), developing some Maven testcases, calling C++ library via JNI. Now I hit a problem that IntelliJ always look for the JNI.dll in ReleaseMD folder. ...
athos's user avatar
  • 6,150
-1 votes
0 answers
36 views

How to fix Set-Location error on Powershell?

Running C code on powershell and comes out error due to filepath having automatically added "c" right after "C:/". Always get added when I run the code. Only need to remove the &...
BruddaNew's user avatar
0 votes
2 answers
34 views

How command /usr/sbin/rfkill called when /usr/sbin is not in $PATH?

The PATH environment variable: debian@debian:~$ echo $PATH /home/debian/.local/bin:/home/debian/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games We can see that /usr/sbin is not ...
showkey's user avatar
  • 552
-1 votes
0 answers
29 views

how can I insert a Windows file path through a variable

I'm trying to get input from user with an image path image_path = input("Please Enter Your Image Path: ") try : image = Image.open(image_path) except : print("...
Handsome guy's user avatar
0 votes
2 answers
60 views

Replace portion of url filepath found in HTML page text

Given some urls inside an html page, I want to replace some urls as below: Example url: https://example.com/cost-center/sub-one/article1 From that one I want to replace the text that is between /cost-...
bledi's user avatar
  • 13
0 votes
2 answers
32 views

How to find directory in realtion to Pycharm project root?

I simply created a new project in Pycharm, and added directory cfg to it. I simply want to check in my main.py if in fact, my cfg directory is where it supposed to be, just want to check if hierarhy ...
user2678074's user avatar
-1 votes
0 answers
21 views

SOLVED!! Check if file open before save and issue warning

I'm writing a Python program using PySimpleGUI and docxtpl which writes to a Word template. I need a way to check if file is currently open by the user, and issue a warning message. Currently if the ...
Evan Lee's user avatar
0 votes
0 answers
18 views

image path is incomplete django

in my-projet (django) The image path is incomplete in some api How can i fix it like when i use this api (categories) i got this Response Note that the image path is complete [ { "id": 1,...
Nawaf ALkhadidi's user avatar
0 votes
0 answers
25 views

How to bundle a graphql project that uses fileloaders? for example graphql-tools

I am trying to bundle my graphql server using esbuild. The problem Im having is when everything is bundled together graphql-tools cant find resolvers and typeDefs due to the file running in a diffrent ...
Itamar Bryl's user avatar
0 votes
2 answers
49 views

vb2022 vb.net .net6 vb complie error exit with error code error when looking for my bd

I am working in Visual Basic 2022 making a database for a doctor's office, but when I package and create a Setup the address of my computer is saved in the path of the access database and when I run ...
SanLey 's user avatar

1
2 3 4 5
389