[GH-ISSUE #879] Map Local window showing "Invalid Regex" error #873

Closed
opened 2026-03-03 19:22:37 +03:00 by kerem · 6 comments
Owner

Originally created by @kartikarora on GitHub (May 6, 2021).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/879

Originally assigned to: @NghiaTranUIT on GitHub.

Proxyman version? (Ex. Proxyman 1.4.3)

2.24.0

macOS Version? (Ex. mac 10.14)

11.3.1

Steps to reproduce

  1. Right click a url
  2. Select Tools > Map Local

Expected behavior

Map local window with response editor should be shown

Debug Log

Error Domain=NSCocoaErrorDomain Code=4 "The folder “<url>” doesn’t exist." UserInfo={NSFilePath=/Users/<>username>/Documents/Map Remote Files/<url>.json, NSUserStringVariant=Folder, NSUnderlyingError=0x7f955c362c10 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}

Screenshots (optional)

Screen Shot 2021-05-06 at 2 24 24 pm

Originally created by @kartikarora on GitHub (May 6, 2021). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/879 Originally assigned to: @NghiaTranUIT on GitHub. ### Proxyman version? (Ex. Proxyman 1.4.3) 2.24.0 ### macOS Version? (Ex. mac 10.14) 11.3.1 ### Steps to reproduce 1. Right click a url 2. Select Tools > Map Local ### Expected behavior Map local window with response editor should be shown ### Debug Log ```swift Error Domain=NSCocoaErrorDomain Code=4 "The folder “<url>” doesn’t exist." UserInfo={NSFilePath=/Users/<>username>/Documents/Map Remote Files/<url>.json, NSUserStringVariant=Folder, NSUnderlyingError=0x7f955c362c10 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} ``` ### Screenshots (optional) ![Screen Shot 2021-05-06 at 2 24 24 pm](https://user-images.githubusercontent.com/6591617/117241559-ccc88780-ae76-11eb-82dc-917254f46bd2.png)
kerem 2026-03-03 19:22:37 +03:00
Author
Owner

@NghiaTranUIT commented on GitHub (May 6, 2021):

Thanks for the bug report. I'm able reproduce it 👍

To fix it, please go to Preference -> Advance -> Map Local Folder and select a valid folder (Your Desktop).

Screen_Shot_2021-05-06_at_11_26_37

Just wondering @kartikarora: Do you folder at ~/Documents/Map Remote Files exist?

<!-- gh-comment-id:833214998 --> @NghiaTranUIT commented on GitHub (May 6, 2021): Thanks for the bug report. I'm able reproduce it 👍 To fix it, please go to Preference -> Advance -> Map Local Folder and select a valid folder (Your Desktop). <img width="702" alt="Screen_Shot_2021-05-06_at_11_26_37" src="https://user-images.githubusercontent.com/5878421/117241738-fb863400-ae5d-11eb-9076-1cb13d33d5a8.png"> Just wondering @kartikarora: Do you folder at `~/Documents/Map Remote Files` exist?
Author
Owner

@kartikarora commented on GitHub (May 6, 2021):

Quick update, I just realised I had deleted the directory where I store map local files.

Follow up, error message could be refined to show that the directory is missing, and maybe ask user to create it via Proxy Man, or open the "Select Directory" window.

<!-- gh-comment-id:833215244 --> @kartikarora commented on GitHub (May 6, 2021): Quick update, I just realised I had deleted the directory where I store map local files. Follow up, error message could be refined to show that the directory is missing, and maybe ask user to create it via Proxy Man, or open the "Select Directory" window.
Author
Owner

@NghiaTranUIT commented on GitHub (May 6, 2021):

Yup, I'm going to fix it. If the folder is invalid, it will fallback to the Desktop Folder 👍

<!-- gh-comment-id:833215476 --> @NghiaTranUIT commented on GitHub (May 6, 2021): Yup, I'm going to fix it. If the folder is invalid, it will fallback to the Desktop Folder 👍
Author
Owner

@kartikarora commented on GitHub (May 6, 2021):

Too easy! Thanks for the quick response!

<!-- gh-comment-id:833216613 --> @kartikarora commented on GitHub (May 6, 2021): Too easy! Thanks for the quick response!
Author
Owner

@NghiaTranUIT commented on GitHub (May 6, 2021):

Beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.24.0_MapLocal_Directory_Not_Found.dmg

We will ship it in the next release 👍 Thank you so much for the bug reporting @kartikarora

<!-- gh-comment-id:833369424 --> @NghiaTranUIT commented on GitHub (May 6, 2021): Beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.24.0_MapLocal_Directory_Not_Found.dmg We will ship it in the next release 👍 Thank you so much for the bug reporting @kartikarora
Author
Owner

@kartikarora commented on GitHub (May 6, 2021):

Happy to help!

<!-- gh-comment-id:833454688 --> @kartikarora commented on GitHub (May 6, 2021): Happy to help!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#873
No description provided.