[GrandComicsDatabase/gcd-django] UnicodeDecodeError when opening vote with non-ASCII title (#426)

7 views
Skip to first unread message

Alexandros Diamantidis

unread,
Sep 21, 2019, 4:10:42 PM9/21/19
to GrandComicsDatabase/gcd-django, Subscribed

When trying to open for voting a vote whose title contains a non-ASCII character, the following errors occur:

UnicodeDecodeError at /admin/voting/topic/add/
... and also:
UnicodeDecodeError at /admin/voting/topic/358/change/
'ascii' codec can't decode byte 0xe2 in position 76: ordinal not in range(128)
[...]
File "/var/deployment/gcd-django/apps/voting/models.py" in topic_post_save
384. topic.deadline.strftime('%d %B %Y %H:%M:%S ') + settings.TIME_ZONE)

(but the error probably isn't directly related to this line)


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

JochenGCD

unread,
Apr 27, 2024, 9:45:54 AMApr 27
to GrandComicsDatabase/gcd-django, Subscribed

Closed #426 as completed.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <GrandComicsDatabase/gcd-django/issue/426/issue_event/12632207904@github.com>

JochenGCD

unread,
Apr 27, 2024, 9:45:58 AMApr 27
to GrandComicsDatabase/gcd-django, Subscribed

not any more, likely fixed in some python/django upgrades


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <GrandComicsDatabase/gcd-django/issues/426/2080698006@github.com>

jacl...@gmail.com

unread,
May 1, 2024, 2:20:21 PMMay 1
to gcd-...@googlegroups.com

Hi all,

 

Would like to ask if its not possible to create a way to add the group or groups relation in the character creation/edit page.

As you know the actual process can be slow.

 

  • Create character.
  • Wait sometimes a few hours for approval.
  • If group does not exist, create group.
  • Wait a few hours for approval.
  • Create the group relation.
  • Wait again a few hours for approval.

 

Maybe some of these tasks/records could be in some kind of pre-approved state, so one could go on with the index without to have to wait hours for the final approval stamp of the editors.

 

Just a thought,

 

Best Regards, João

Jochen G.

unread,
May 2, 2024, 3:33:09 PMMay 2
to gcd-...@googlegroups.com
Like many things we would like to have it is theoretically possible, but
not practically. It would involve a major overhaul on how we do the
change editing.

The only thing that might be possible with the current setup is to add
group relations to existing characters when adding a group (maybe even
add new characters when adding a group). As in, we likely wouldn't need
a major overhaul, just a small overhaul...
But then, the need for adding groups and characters will get less over
time, so not sure if it has higher priority then other needed changes.

Jochen

Am 01.05.24 um 20:20 schrieb jacl...@gmail.com:
> Hi all,
>
> Would like to ask if its not possible to create a way to add the group
> or groups relation in the character creation/edit page.
>
> As you know the actual process can be slow.
>
> * Create character.
> * Wait sometimes a few hours for approval.
> * If group does not exist, create group.
> * Wait a few hours for approval.
> * Create the group relation.
> * Wait again a few hours for approval.
>
> Maybe some of these tasks/records could be in some kind of pre-approved
> state, so one could go on with the index without to have to wait hours
> for the final approval stamp of the editors.
>
> Just a thought,
>
> Best Regards, João
>
> --
> You received this message because you are subscribed to the Google
> Groups "gcd-tech" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to gcd-tech+u...@googlegroups.com
> <mailto:gcd-tech+u...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/gcd-tech/044601da9bf4%243853c330%24a8fb4990%24%40gmail.com <https://groups.google.com/d/msgid/gcd-tech/044601da9bf4%243853c330%24a8fb4990%24%40gmail.com?utm_medium=email&utm_source=footer>.

Reply all
Reply to author
Forward
0 new messages