You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When using the b2aiprep dashboard on Windows, users may encounter "file not found" errors. This is likely due to Windows' default limitation on file path length.
Steps to Reproduce
Install b2aiprep on a Windows system
Some pages on the dashboard cannot load and run because of the file not found issue. Even though the file still exits in the location.
PS: Adding an image for reference for the issue.. on the dashboard
Expected Behavior
The dashboard should be able to load and run all the pages and process files regardless of path length.
Actual Behavior
Files with long paths are not found or accessed, causing errors in the dashboard functionality.
Possible Solution
Enable long path support in Windows. This can be done through:
Group Policy Editor (for Pro/Enterprise editions)
Registry Edit (for all editions, including Home)
Detailed steps for Registry Edit methods (On windows home):
_1. Open the Registry Editor:
Press Win + R to open the Run dialog
Type "regedit" and press Enter
If prompted by User Account Control, click "Yes"
In the Registry Editor, navigate to this key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
You can do this by expanding each folder in the left pane, or by copying and pasting the above path into the address bar at the top of the Registry Editor window.
In the right pane, look for a value named "LongPathsEnabled"
If it exists, double-click it
If it doesn't exist, right-click in the right pane, select New > DWORD (32-bit) Value, and name it "LongPathsEnabled"
Set the value:
Double-click "LongPathsEnabled"
In the "Value data" field, enter "1"
Click "OK"
Close the Registry Editor
Restart your computer for the changes to take effect_
Environment
OS: Windows 10/11
Python version: 3.12
Additional Context
This issue is specific to Windows due to its default limitations on file path length. Linux and macOS users are unlikely to encounter this problem.
The text was updated successfully, but these errors were encountered:
Description
When using the b2aiprep dashboard on Windows, users may encounter "file not found" errors. This is likely due to Windows' default limitation on file path length.
Steps to Reproduce
PS: Adding an image for reference for the issue.. on the dashboard
Expected Behavior
The dashboard should be able to load and run all the pages and process files regardless of path length.
Actual Behavior
Files with long paths are not found or accessed, causing errors in the dashboard functionality.
Possible Solution
Enable long path support in Windows. This can be done through:
Detailed steps for Registry Edit methods (On windows home):
_1. Open the Registry Editor:
Press Win + R to open the Run dialog
Type "regedit" and press Enter
If prompted by User Account Control, click "Yes"
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
You can do this by expanding each folder in the left pane, or by copying and pasting the above path into the address bar at the top of the Registry Editor window.
If it exists, double-click it
If it doesn't exist, right-click in the right pane, select New > DWORD (32-bit) Value, and name it "LongPathsEnabled"
Double-click "LongPathsEnabled"
In the "Value data" field, enter "1"
Click "OK"
Environment
Additional Context
This issue is specific to Windows due to its default limitations on file path length. Linux and macOS users are unlikely to encounter this problem.
The text was updated successfully, but these errors were encountered: