Closed Bug 958177 Opened 12 years ago Closed 12 years ago

DS Stores causing error

Categories

(Webmaker Graveyard :: Localization, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gvn, Assigned: alicoding)

Details

Attachments

(1 file)

If there is a .DS_Store file in the locale folder for webmaker.org the following error is thrown after running node app.js: ``` Bad locale=[.ds_STORE] missing .json files in [/Users/gsuntop/Documents/mozilla-code/webmaker-suite/webmaker.org/locale/.ds_STORE]. See locale/README (Error: ENOTDIR, not a directory '/Users/gsuntop/Documents/mozilla-code/webmaker-suite/webmaker.org/locale/.ds_STORE') /Users/gsuntop/Documents/mozilla-code/webmaker-suite/webmaker.org/node_modules/webmaker-i18n/i18n.js:317 throw msg; ^ Bad locale=[.ds_STORE] missing .json files in [/Users/gsuntop/Documents/mozilla-code/webmaker-suite/webmaker.org/locale/.ds_STORE]. See locale/README (Error: ENOTDIR, not a directory '/Users/gsuntop/Documents/mozilla-code/webmaker-suite/webmaker.org/locale/.ds_STORE') ``` This is fixable by removing the .DS_Store, but we should ensure the localization code ignores these files since they tend to get created by OSX's Finder.
Ali, can you take this please?
Assignee: nobody → ali
Status: NEW → ASSIGNED
Attachment #8361199 - Flags: review?(gavin) → review+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: