Closed Bug 1482067 Opened 8 years ago Closed 8 years ago

Pontoon doesn't work offline because of nltk

Categories

(Webtools Graveyard :: Pontoon, enhancement, P4)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: adrian, Assigned: adrian)

Details

Attachments

(1 file)

For our machinery, we import the caighdean package which depends on nltk, and nltk needs to download files from the network every time you import it. Currently, that means starting Pontoon locally on a computer that has no network fails, and you can't do anything. Pretty frustrating when working from a train. :-) Since support for caighdean is not a requirement for local development of Pontoon, let's make sure it can start even when there's no network connection available.
I found that while trying to do django commands on the docker container, and wondering if I could use the stdout. Could we put the nltk data into the container at build time?
Commit pushed to master at https://github.com/mozilla/pontoon https://github.com/mozilla/pontoon/commit/6ca8c536d7b3cd98a643e0d4b38197d6fb6a8bd4 Fix bug 1482067: Do not fail when loading caighdean while offline (#1052)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: