06-12-2020, 07:39 PM
(This post was last modified: 06-12-2020, 08:26 PM by FordSubmariner.)
Hi All.
Thanks very much to everyone who's been helping me with the TACTIC install problems I'm having in an AWS EC2 instance (see other thread).
In case the problem is related to AWS, today I started installing TACTIC from RPM on my Fedora 32 desktop machine within my LAN. In doing so, I've been following instructions here: http://community.southpawtech.com/docs/s...ctic-rhel/ (Install TACTIC on Fedora 30).
When I get to this step:
Install TACTIC RPM
Download the TACTIC RPM from community site downloads page.
Probably because I'm running Fedora 32 whereas these docs were made for Fedora 30 (which may have had chkconfig installed by default), I see:
"error: Failed dependencies:
chkconfig is needed by TACTIC-4.7.0.b02-0.x86_64"
It's an easy-enough problem to fix (sudo dnf install chkconfig), but in the interest of helping improve documentation, I thought it might help if I shared this result here. If there's a better way for me to share this result (maybe an issue tracker for the documentation?), I'll happily use it. But I haven't yet found something like that, so I figured a forum post may be better than nothing.
Hope this helps, and thanks again for all the assistance here.
Kind Regards,
Kevin
I may be doing something wrong, but I also found that when I tried
Run TACTIC Bootstrap
I got some errors (I also tried doing this with sudo for prefix as I needed to do for the other steps above):
[alpha@localhost ~]$ python3 /opt/tactic/tactic/src/pyasm/search/upgrade/postgresql/bootstrap_load.py
Importing bootstrap ...
Error with query (Error): sthpw CREATE TABLE "project" (
"id" serial PRIMARY KEY,
"code" character varying(30) NOT NULL,
"title" character varying(100),
"sobject_mapping_cls" character varying(100),
"dir_naming_cls" character varying(200),
"code_naming_cls" character varying(200),
"pipeline" character varying(30),
"snapshot" text,
"type" character varying(30),
"last_db_update" timestamp ,
"description" text,
"initials" character varying(30),
"file_naming_cls" character varying(200),
"reg_hours" integer,
"node_naming_cls" character varying(200),
"s_status" character varying(30),
"status" character varying(256),
"last_version_update" character varying(256),
"palette" character varying(256),
"category" character varying(256),
"is_template" boolean,
"db_resource" text,
CONSTRAINT "project_code_idx" UNIQUE ("code")
)
Traceback (most recent call last):
File "/opt/tactic/tactic/src/pyasm/search/sql.py", line 839, in do_update
self.cursor.execute(query)
psycopg2.errors.InFailedSqlTransaction: current transaction is aborted, commands ignored until end of transaction block
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/tactic/tactic/src/pyasm/search/upgrade/postgresql/bootstrap_load.py", line 121, in <module>
import_bootstrap()
File "/opt/tactic/tactic/src/pyasm/search/upgrade/postgresql/bootstrap_load.py", line 79, in import_bootstrap
sql.do_update(cmd)
File "/opt/tactic/tactic/src/pyasm/search/sql.py", line 886, in do_update
raise SqlException(e.__str__())
pyasm.search.sql.SqlException: current transaction is aborted, commands ignored until end of transaction block
[alpha@localhost ~]$
I studied this output, but don't see anything meaningful that would help me solve this problem on my own.
I also tried running this as user postgres (which worked for me in creating the sample database described here: https://www.postgresqltutorial.com/load-...-database/ )
Any thoughts on how to fix this problem?
Thanks very much to everyone who's been helping me with the TACTIC install problems I'm having in an AWS EC2 instance (see other thread).
In case the problem is related to AWS, today I started installing TACTIC from RPM on my Fedora 32 desktop machine within my LAN. In doing so, I've been following instructions here: http://community.southpawtech.com/docs/s...ctic-rhel/ (Install TACTIC on Fedora 30).
When I get to this step:
Install TACTIC RPM
Download the TACTIC RPM from community site downloads page.
Code:
rpm -Uhv <TACTIC-RPM-file>
Probably because I'm running Fedora 32 whereas these docs were made for Fedora 30 (which may have had chkconfig installed by default), I see:
"error: Failed dependencies:
chkconfig is needed by TACTIC-4.7.0.b02-0.x86_64"
It's an easy-enough problem to fix (sudo dnf install chkconfig), but in the interest of helping improve documentation, I thought it might help if I shared this result here. If there's a better way for me to share this result (maybe an issue tracker for the documentation?), I'll happily use it. But I haven't yet found something like that, so I figured a forum post may be better than nothing.
Hope this helps, and thanks again for all the assistance here.
Kind Regards,
Kevin
I may be doing something wrong, but I also found that when I tried
Run TACTIC Bootstrap
Code:
python3 /opt/tactic/tactic/src/pyasm/search/upgrade/postgresql/bootstrap_load.py
I got some errors (I also tried doing this with sudo for prefix as I needed to do for the other steps above):
[alpha@localhost ~]$ python3 /opt/tactic/tactic/src/pyasm/search/upgrade/postgresql/bootstrap_load.py
Importing bootstrap ...
Error with query (Error): sthpw CREATE TABLE "project" (
"id" serial PRIMARY KEY,
"code" character varying(30) NOT NULL,
"title" character varying(100),
"sobject_mapping_cls" character varying(100),
"dir_naming_cls" character varying(200),
"code_naming_cls" character varying(200),
"pipeline" character varying(30),
"snapshot" text,
"type" character varying(30),
"last_db_update" timestamp ,
"description" text,
"initials" character varying(30),
"file_naming_cls" character varying(200),
"reg_hours" integer,
"node_naming_cls" character varying(200),
"s_status" character varying(30),
"status" character varying(256),
"last_version_update" character varying(256),
"palette" character varying(256),
"category" character varying(256),
"is_template" boolean,
"db_resource" text,
CONSTRAINT "project_code_idx" UNIQUE ("code")
)
Traceback (most recent call last):
File "/opt/tactic/tactic/src/pyasm/search/sql.py", line 839, in do_update
self.cursor.execute(query)
psycopg2.errors.InFailedSqlTransaction: current transaction is aborted, commands ignored until end of transaction block
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/tactic/tactic/src/pyasm/search/upgrade/postgresql/bootstrap_load.py", line 121, in <module>
import_bootstrap()
File "/opt/tactic/tactic/src/pyasm/search/upgrade/postgresql/bootstrap_load.py", line 79, in import_bootstrap
sql.do_update(cmd)
File "/opt/tactic/tactic/src/pyasm/search/sql.py", line 886, in do_update
raise SqlException(e.__str__())
pyasm.search.sql.SqlException: current transaction is aborted, commands ignored until end of transaction block
[alpha@localhost ~]$
I studied this output, but don't see anything meaningful that would help me solve this problem on my own.
I also tried running this as user postgres (which worked for me in creating the sample database described here: https://www.postgresqltutorial.com/load-...-database/ )
Any thoughts on how to fix this problem?