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

weblate loaddata,meet problem. #8522

Closed
2 tasks done
yueshanzhang opened this issue Dec 23, 2022 · 9 comments
Closed
2 tasks done

weblate loaddata,meet problem. #8522

yueshanzhang opened this issue Dec 23, 2022 · 9 comments
Labels
documentation Improvements or additions to the documentation. question This is more a question for the support than an issue.
Milestone

Comments

@yueshanzhang
Copy link

Describe the issue

https://docs.weblate.org/en/latest/admin/install.html

Export current data

weblate dumpdata > /tmp/weblate.dump

Import dump

weblate loaddata /tmp/weblate.dump

weblate@e3cceeb109e6:/$ weblate loaddata /tmp/weblate.dump
CommandError: Problem installing fixture '/tmp/weblate': dump is not a known serialization format.
weblate@e3cceeb109e6:/$ weblate version
4.1.4

I already tried

  • I've read and searched the documentation.
  • I've searched for similar issues in this repository.

Steps to reproduce the behavior

  1. Go to '...'
  2. Scroll down to '...'
  3. Click on '...'
  4. See error

Expected behavior

No response

Screenshots

No response

Exception traceback

No response

How do you run Weblate?

Docker container

Weblate versions

weblate version
4.1.4

Weblate deploy checks

No response

Additional context

No response

@yueshanzhang
Copy link
Author

image

@nijel
Copy link
Member

nijel commented Dec 23, 2022

What is content of the file?

@nijel nijel added the question This is more a question for the support than an issue. label Dec 23, 2022
@github-actions
Copy link

This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger.

In case your question is already answered, making a donation is the right way to say thank you!

@yueshanzhang
Copy link
Author

yueshanzhang commented Dec 23, 2022 via email

@yueshanzhang
Copy link
Author

What is content of the file?

[{"model": "addons.addon", "pk": 136, "fields": {"component": 40, "name": "weblate.cleanup.blank", "configuration": "{}", "state": "{}", "project_scope": false, "repo_scope": false}}, {"model": "addons.addon", "pk": 137, "fields": {"component": 40, "name": "weblate.generate.prefill", "configuration": "{}", "state": "{}", "project_scope": false, "repo_scope": false}}, {"model": "addons.addon", "pk": 138, "fields": {"component": 40, "name": "weblate.discovery.discovery", "configuration": "{"match": "(?P.)/src/main/res/values[-](?P[^/])/strings.xml", "file_format": "aresource", "name_template": "Android-git: {{ component }}", "base_file_template": "{{ component }}/src/main/res/values/strings.xml", "new_base_template": "", "intermediate_template": "", "language_regex": "^(.)$", "copy_addons": true, "remove": false, "confirm": true, "preview": true}", "state": "{}", "project_scope": false, "repo_scope": true}}, {"model": "addons.addon", "pk": 140, "fields": {"component": 43, "name": "weblate.cleanup.blank", "configuration": "{}", "state": "{}", "project_scope": false, "repo_scope": false}}, {"model": "addons.addon", "pk": 141, "fields": {"component": 43, "name": "weblate.generate.prefill", "configuration": "{}", "state": "{}", "project_scope": false, "repo_scope": false}}, {"model": "addons.addon", "pk": 143, "fields": {"component": 41, "name": "weblate.cleanup.blank", "configuration": "{}", "state": "{}", "project_scope": false, "repo_scope": false}}, {"model": "addons.addon", "pk": 144, "fields": {"component": 44, "name": "weblate.cleanup.blank", "configuration": "{}", "state": "{}", "project_scope": false, "repo_scope": false}}, {"model": "addons.addon", "pk": 145, "fields": {"component": 46, "name": "weblate.cleanup.blank", "configuration": "{}", "state": "{}", "project_scope": false, "repo_scope": false}}, {"model": "addons.addon", "pk": 146, "fields": {"component": 41, "name": "weblate.generate.prefill", "configuration": "{}", "state": "{}", "project_scope": false, "repo_scope": false}}, {"model": "addons.addon", "pk": 147, "fields": {"component": 45, "name": "weblate.cleanup.blank", "configuration": "{}", "state": "{}", "project_scope": false, "repo_scope": false}}, {"model": "addons.addon", "pk": 148, "fields": {"component": 44, "name": "weblate.generate.prefill", "configuration": "{}", "state": "{}", "project_scope": false, "repo_scope": false}}, {"model": "addons.addon", "pk": 149, "fields": {"component": 47, "name": "weblate.cleanup.blank", "configuration": "{}", "state": "{}", "project_scope": false, "repo_scope": false}}, {"model": "addons.addon", "pk": 150, "fields": {"component": 45, "name": "weblate.generate.prefill", "configuration": "{}", "state": "{}", "project_scope": false, "repo_scope": false}}, {"model": "addons.addon", "pk": 151, "fields": {"component": 48, "name": "weblate.cleanup.blank", "configuration": "{}", "state": "{}", "project_scope": false, "repo_scope": false}}, {"model": "addons.addon", "pk": 152, "fields": {"component": 46, "name": "weblate.generate.prefill", "configuration": "{}", "state": "{}", "project_scope": false, "repo_scope": false}}, {"model": "addons.addon", "pk": 153, "fields": {"component": 47, "name": "weblate.generate.prefill", "configuration": "{}", "state": "{}", "project_scope": false, "repo_scope": false}}, {"model": "addons.addon", "pk": 154, "fields": {"component": 48, "name": "weblate.generate.prefill", "configuration": "{}", "state": "{}", "project_scope": false, "repo_scope": false}}, {"model": "addons.addon", "pk": 155, "fields": {"component": 49, "name": "weblate.cleanup.blank", "configuration": "{}", "state": "{}", "project_scope": false, "....

Sir, Can you help me?

@github-actions
Copy link

The issue you have reported is now resolved. If you don’t feel it’s right, please follow its labels to get a clue for further steps.

  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.

@github-actions
Copy link

Thank you for your report; the issue you have reported has just been fixed.

  • In case you see a problem with the fix, please comment on this issue.
  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.

@yueshanzhang
Copy link
Author

solved

@nijel
Copy link
Member

nijel commented Dec 29, 2022

Maybe you could share what was the issue? That would be helpful in case somebody else runs into the same issue...

@nijel nijel added this to the 4.15.1 milestone Dec 29, 2022
nijel added a commit that referenced this issue Dec 29, 2022
Using database dumps is way faster and there are better approaches for
migration to PostgreSQL.

Fixes #8522
@nijel nijel added the documentation Improvements or additions to the documentation. label Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to the documentation. question This is more a question for the support than an issue.
Projects
None yet
Development

No branches or pull requests

2 participants