Skip to main content
GoodFirstPicks
DashboardIssuesReposLeaderboard

GoodFirstPicks by Leaveitblank © 2026

CreatorRequest a RepoPrivacy PolicyTerms of Service
"Could not find Folder: Home" error when lang is not english | GoodFirstPicks

"Could not find Folder: Home" error when lang is not english

frappe/frappe 0 comments 1mo ago
View on GitHub
mediumopenScope: somewhat clearSkill match: maybeFrappe / ERPNextPython

Why this is a good first issue

The issue involves language-specific folder naming discrepancies.

AI Summary

The issue arises when the default language is set to non-English, causing folder naming inconsistencies during app installation and file uploads. The fix likely involves ensuring folder names are correctly handled across different languages. The main blocker is understanding how folder naming logic interacts with language settings.

Issue Description

Description of the issue

If the default language is set to other than english, the function make_home_folder from Frappe version-15 (called during app installation), creates the folder with translated name but the rest of the code does not consider the translated folder name, which causes upload_file to return a HTTP 417 status with "Could not find Folder: Home" message.

Context information (for bug reports)

Output of bench version

erpnext 15.71.1
frappe 15.74.2

Steps to reproduce the issue

  1. Init bench, create site, and use bench set-config -g lang {some_language} to set default language to other than english
  2. Try to upload a image file to a Image field or add an attachment

Observed result

View the error "Could not find Folder: Home" or "Could not find Folder: Home/Attachments" on screen

Image Image

Expected result

Upload the file succe

GitHub Labels

bug

Want to work on this?

Claim this issue to let others know you're working on it. You'll earn 20 points when you complete it!

Risk Flags

  • language-specific handling
  • folder naming logic
Loading labels...

Details

Points20 pts
Difficultymedium
Scopesomewhat clear
Skill Matchmaybe
Test Focusedno
Assigneesafwansamsudeen