Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with Temboard-Agent configuration #1496

Open
MickaelTheCat opened this issue Sep 10, 2024 · 1 comment
Open

problem with Temboard-Agent configuration #1496

MickaelTheCat opened this issue Sep 10, 2024 · 1 comment

Comments

@MickaelTheCat
Copy link

Hello
I have problem with PyPI :

temboard-agent --version
temBoard agent 8.2.1 (/usr/local/bin/temboard-agent)
System Ubuntu 24.04 LTS (Noble Numbat)
Python 3.12.3 (/usr/bin/python3)
bottle 0.12.25
cryptography 41.0.7
libpq 16.0
psycopg2 2.9.9 (dt dec pq3 ext lo64)

/usr/local/share/temboard-agent/auto_configure.sh https://xxx.local:8888
Using hostname xxx.local.
Configuring for PostgreSQL user postgres.
Configuring for cluster on port 5432.
Configuring for cluster at /data/postgresql.
Using /usr/lib/postgresql/16/bin/pg_ctl.
Cluster name is 16/main.
Configuring temboard-agent in /etc/temboard-agent/16/main/temboard-agent.conf .
Using snake-oil SSL certificate.
Configuring temboard-agent to run on port 2345.
Failure. See /var/log/temboard-agent-auto-configure.log for details.

-->

  • type -p temboard-agent
  • sudo -Eu postgres /usr/local/bin/temboard-agent -c /etc/temboard-agent/16/main/temboard-agent.conf discover
    INFO: app: Using config file /etc/temboard-agent/16/main/temboard-agent.conf.
    ERROR: app: Unhandled error:
    Traceback (most recent call last):
    File "/usr/local/lib/python3.12/dist-packages/temboardagent/toolkit/app.py", line 351, in entrypoint
    retcode = self.main(argv, environ)
    ^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.12/dist-packages/temboardagent/cli/app.py", line 93, in main
    self.bootstrap(args=args, environ=environ, service=command.is_service)
    File "/usr/local/lib/python3.12/dist-packages/temboardagent/toolkit/app.py", line 105, in bootstrap
    self.read_file(parser, configfile)
    File "/usr/local/lib/python3.12/dist-packages/temboardagent/toolkit/app.py", line 242, in read_file
    parser.readfp(fp)
    ^^^^^^^^^^^^^
    AttributeError: 'RawConfigParser' object has no attribute 'readfp'. Did you mean: 'read'?
    ERROR: app: temboardagent version is 8.2.1.
    ERROR: app: This is a bug!
    ERROR: app: Please report traceback to https://github.com/dalibo/temboard/issues/new! Thanks!
@daamien
Copy link
Member

daamien commented Sep 12, 2024

Hi @MickaelTheCat

Temboard 8 is not supported on Ubuntu 24.04 LTS.

In this case, Ubuntu 24.04 LTS ships Python 3.12 which introduce a few backward incompatible changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants