Closed
Bug 958177
Opened 12 years ago
Closed 12 years ago
DS Stores causing error
Categories
(Webmaker Graveyard :: Localization, defect)
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.
| Assignee | ||
Comment 2•12 years ago
|
||
Attachment #8361199 -
Flags: review?(gavin)
| Reporter | ||
Comment 3•12 years ago
|
||
Comment on attachment 8361199 [details] [review]
https://github.com/mozilla/node-webmaker-i18n/pull/37
Looks good!
Attachment #8361199 -
Flags: review?(gavin) → review+
| Assignee | ||
Updated•12 years ago
|
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.
Description
•