[GH-ISSUE #1228] JSON Parsing error while creating new identity #998

Closed
opened 2026-02-27 11:14:39 +03:00 by kerem · 8 comments
Owner

Originally created by @ukozi on GitHub (Sep 10, 2017).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1228

Impacted versions

  • Modoboa: 1.9.0
  • installer used: Yes
  • Webserver: Nginx

Steps to reproduce

Add Identity, press "Submit"

Current behavior

Internal Server Error 500
AlreadyFinalized at /admin/accounts/new/ Context was already finalized.

Expected behavior

Add new Identity

Video/Screenshot link (optional)

Other Notes

I added three or four identities just fine, this behavior seems to have started after a reboot. I've attempted to restart nginx and uwsgi to no avail.l

Originally created by @ukozi on GitHub (Sep 10, 2017). Original GitHub issue: https://github.com/modoboa/modoboa/issues/1228 # Impacted versions * Modoboa: 1.9.0 * installer used: Yes * Webserver: Nginx # Steps to reproduce Add Identity, press "Submit" # Current behavior Internal Server Error 500 `AlreadyFinalized at /admin/accounts/new/ Context was already finalized.` # Expected behavior Add new Identity # Video/Screenshot link (optional) # Other Notes I added three or four identities just fine, this behavior seems to have started after a reboot. I've attempted to restart nginx and uwsgi to no avail.l
kerem closed this issue 2026-02-27 11:14:40 +03:00
Author
Owner

@tonioo commented on GitHub (Sep 10, 2017):

Please make sure you're using the latest version of https://github.com/modoboa/modoboa-pdfcredentials

<!-- gh-comment-id:328354189 --> @tonioo commented on GitHub (Sep 10, 2017): Please make sure you're using the latest version of https://github.com/modoboa/modoboa-pdfcredentials
Author
Owner

@ukozi commented on GitHub (Sep 11, 2017):

screen shot 2017-09-11 at 9 49 43 am

Indeed I am, and was when I opened the issue.

I'll note that checking the pdfcredentials folder, for every failed user attempt, it is creating the PDF.

<!-- gh-comment-id:328534747 --> @ukozi commented on GitHub (Sep 11, 2017): <img width="976" alt="screen shot 2017-09-11 at 9 49 43 am" src="https://user-images.githubusercontent.com/3391773/30277697-984169b6-96d6-11e7-83d7-355f7ab86eb4.png"> Indeed I am, and was when I opened the issue. I'll note that checking the pdfcredentials folder, for every failed user attempt, it is creating the PDF.
Author
Owner

@tonioo commented on GitHub (Sep 11, 2017):

@chumstick Ok. I need the full python traceback to know where the problem is located. Can you set DEBUG to True inside settings.py, reload uwsgi and send the traceback please?

<!-- gh-comment-id:328537746 --> @tonioo commented on GitHub (Sep 11, 2017): @chumstick Ok. I need the full python traceback to know where the problem is located. Can you set DEBUG to True inside settings.py, reload uwsgi and send the traceback please?
Author
Owner

@ukozi commented on GitHub (Sep 11, 2017):

No problem. I've set DEBUG=TRUE in settings.py. Which file is it outputting to?

<!-- gh-comment-id:328541286 --> @ukozi commented on GitHub (Sep 11, 2017): No problem. I've set DEBUG=TRUE in settings.py. Which file is it outputting to?
Author
Owner

@ukozi commented on GitHub (Sep 11, 2017):

Sorry for being a moron, obviously you meant the response. A bit early here, heh.

response.txt

<!-- gh-comment-id:328550233 --> @ukozi commented on GitHub (Sep 11, 2017): Sorry for being a moron, obviously you meant the response. A bit early here, heh. [response.txt](https://github.com/modoboa/modoboa/files/1292904/response.txt)
Author
Owner

@tonioo commented on GitHub (Sep 11, 2017):

Ok, looks like I forgot to fix something in the pdf-credentials plugin. I'll fix it asap.

<!-- gh-comment-id:328559141 --> @tonioo commented on GitHub (Sep 11, 2017): Ok, looks like I forgot to fix something in the pdf-credentials plugin. I'll fix it asap.
Author
Owner

@ukozi commented on GitHub (Sep 11, 2017):

Hey no problem. In the mean time, what's the simplest way that you'd recommend just having modoboa skip loading the PDFC plugin?

<!-- gh-comment-id:328563173 --> @ukozi commented on GitHub (Sep 11, 2017): Hey no problem. In the mean time, what's the simplest way that you'd recommend just having modoboa skip loading the PDFC plugin?
Author
Owner

@tonioo commented on GitHub (Sep 11, 2017):

Just comment the corresponding line in MODOBOA_APPS and reload uwsgi.

<!-- gh-comment-id:328582909 --> @tonioo commented on GitHub (Sep 11, 2017): Just comment the corresponding line in MODOBOA_APPS and reload uwsgi.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#998
No description provided.