Create group fails
See original GitHub issueContext
Versions:
cartodb: 4.33.0 Postgres 12 PostGIS 3 cartodb-postgresql 0.35
When trying to create a group an exception is thrown with the follow error:
{"error": {
"spiexceptions.ExternalRoutineException: spiexceptions.ExternalRoutineException: spiexceptions.ExternalRoutineException: TypeError: expected bytes-like object, not str"} }
Screenshot:
Steps to Reproduce
Please break down here below all the needed steps to reproduce the issue
Test via rails console
irb(main):005:0> group = @organization.create_group(display_name)
[pool] Creating a new connection for localhost:cartodb_user_e6d6f832-7528-4261-96f6-a28e4f78dd8a_db:5432:cartodb_user_e6d6f832-7528-4261-96f6-a28e4f78dd8a:ar (1)
ActiveRecord::StatementInvalid: PG::ExternalRoutineException: ERROR: spiexceptions.ExternalRoutineException: spiexceptions.ExternalRoutineException: spiexceptions.ExternalRoutineException: TypeError: expected bytes-like object, not str
CONTEXT: Traceback (most recent call last):
PL/Python function "_cdb_group_creategroup_api", line 7, in <module>
plpy.execute(query)
PL/Python function "_cdb_group_creategroup_api"
SQL statement "SELECT cartodb._CDB_Group_CreateGroup_API(group_name, group_role)"
PL/pgSQL function cdb_group_creategroup(text) line 7 at PERFORM
: select cartodb.CDB_Group_CreateGroup('thedudes')
from /var/lib/gems/2.4.0/gems/activerecord-4.2.11/lib/active_record/connection_adapters/postgresql/database_statements.rb:155:in `async_exec'
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Why do I always get "Group creation failed" when trying to ...
Tried a different group name and got it to work. I'm guessing this was the problem that prevented it from being created in...
Read more >Group creation fails on long name? - Google Groups
I am trying to create a group, which has a fairly long name (these groups are more for compound ... mydomain.nl, Create Failed:...
Read more >What to Do When You Can't Create a Group on Signal
Go to Signal's official Twitter account, and check if the company already acknowledged the problem. Additionally, go to DownDetector and check ...
Read more >Group Creation Failed - Zoho Cares
First the group form as included in the screenshot needs to be created without any group members (leave it blank). Then the group...
Read more >Unable to create group with error message "Retry not possible"
Hi, I was able to create group with no issue before today and below is the error message I am seeing. Please let...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, I’ll add this to our backlog to have a look when we can. Thanks!
@sabman sorry, but in carto.com it’s working fine and we are not able to reproduce it, so it’s probably an installation/configuration issue.