File "/home/dhankar/_dc_main/_dc_bb/digitalcognition/dc_proj/dc_dash/utily.py", line 1949, in csv_to_psql csv_up_cursor.copy_from(f, str(new_table_name), sep=',') psycopg2.errors.UndefinedTable: relation "basil_1_dbtable" does not exist
There are certain instances when the same method executes and in another instance it doesnt . While testing - create a Db table with the name == basil_1_dbtable .... maybe PSQL wont accept DB table names with Underscores ? As in the Django error screen it shows the same as == basil 1 dbtable ..... notice no underscores .............psycopg2.errors.UndefinedTable: relation "basil_1_dbtable" does not exist
File "/home/dhankar/_dc_main/_dc_bb/digitalcognition/dc_proj/dc_dash/utily.py", line 1949, in csv_to_psql csv_up_cursor.copy_from(f, str(new_table_name), sep=',') psycopg2.errors.UndefinedTable: relation "basil_1_dbtable" does not exist
There are certain instances when the same method executes and in another instance it doesnt . While testing - create a Db table with the name == basil_1_dbtable .... maybe PSQL wont accept DB table names with Underscores ? As in the Django error screen it shows the same as == basil 1 dbtable ..... notice no underscores .............psycopg2.errors.UndefinedTable: relation "basil_1_dbtable" does not exist