Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usage on read-only filesystem #10

Open
meehow opened this issue Nov 5, 2011 · 5 comments
Open

usage on read-only filesystem #10

meehow opened this issue Nov 5, 2011 · 5 comments

Comments

@meehow
Copy link

meehow commented Nov 5, 2011

when rosetta (v. 0.6.2 with django 1.3.1) is used on read-only filesystem, it doesn't store data in session, so downloading updated .po file is impossible and translated phrases disappears after swiching to another page. checked with current version, 0.6.2 and 0.6.0

@Paul424
Copy link

Paul424 commented Jun 29, 2017

I'm seeing the same behavior with version 0.7.13. Documentation suggests that you can still edit the file, save to tmp storage and then download but instead the changes are not stored? O rdo i need to change the storage type? Currnetly using the default...

@mbi
Copy link
Owner

mbi commented Jun 29, 2017

@Paul424 Rosetta should still save the data into Django's session storage, and you should still be able to download a zip with the translated catalogs.

If that's not the case this is definitely a proper issue that I should address.

@Paul424
Copy link

Paul424 commented Jun 29, 2017

I tried to change the storage to session based but that gives me: <polib.POEntry object at 0x7f9e2c65cbd0> is not JSON serializable.... (and changing the serializer to pickle is not an acceptable solution for me, sorry...).
Would it also need to work with the default cache storage backend?

@mbi
Copy link
Owner

mbi commented Jun 29, 2017

I'll have to try and reproduce this, could you please paste your ROSETTA_*, as well as your CACHES and SESSION_ENGINE settings?

@BarnabasSzabolcs
Copy link

Sure, I have the same issue, the downloaded zip is just the original.
My rosetta settings are:
ROSETTA_MESSAGES_PER_PAGE = 50
ROSETTA_SHOW_AT_ADMIN_PANEL = True
I have not set any CACHES or SESSION_ENGINE.
django==2.0.7
django-rosetta==0.8.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants