• Threads
  • Categories
  • Users
  • GitHub
  • Documentation
  • Discord
  • forum
  • group
  • search
  • chevron_right Threads
  • label Feedback
  • label Bugs Bug reports

profile_fields HStore field is returned as string

reza
Jan. 24, 2023
chat_bubble_outline 4
  • link
    reza
    Members 7 posts
    Jan. 24, 2023, 9:36 p.m. Jan. 24, 2023, 9:36 p.m.
    link

    'str' object has no attribute 'get'

    Screenshot (6).png

    Screenshot (6).png

    PNG, 262.0 KB, uploaded by reza on Jan. 24, 2023.

  • arrow_forward

    Thread has been moved from Misago v4.

    • By rafalp on Jan. 24, 2023, 10:40 p.m..
  • link
    rafalp
    Project Lead 1534 posts
    Jan. 24, 2023, 10:45 p.m. Jan. 24, 2023, 10:45 p.m.
    link

    This is a bug where on localhost sometimes users are created with profile fields as string instead of dict.

    Do you have a postgresql client installed locally to share a screenshot of profilefields column in misago_users table?

    You can fix the bug by resetting local database, running ./dev reset in repo’s main directory.

    reza likes this.

    favorite 1

  • link
    rafalp
    Project Lead 1534 posts
    Jan. 26, 2023, 1:22 a.m. Jan. 26, 2023, 1:22 a.m.
    link

    Github bug: github.com/rafalp/Misago/issues/1352

    reza likes this.

    favorite 1

  • link
    rafalp
    Project Lead 1534 posts
    Jan. 26, 2023, 2:11 p.m. Jan. 26, 2023, 2:11 p.m.
    link

    @reza can you please tell me memory limit your docker has configured?

    reza likes this.

    favorite 1

  • link
    rafalp
    Project Lead 1534 posts
    Jan. 28, 2023, 4:54 p.m. Jan. 28, 2023, 4:54 p.m.
    link

    I’ve unmarked best answer because I don’t think its accurate anymore. I have few theories what causes this error, but I was unable to reproduce this error myself.

    I have updated Misago to report more information about this error when it happens. Hopefully when this bug repeats to somebody in future, they will share this and it will let me fix it.

There are no more posts in this thread.

  • This site uses cookies to gather statistical data for use in traffic analysis. Header photo by Joanna Malinowska.
  • GitHub
  • Documentation
  • Discord
  • Terms of service
  • Privacy policy
powered by misago