question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error rtb.service

See original GitHub issue

New install, database sqlite.

Service wont start with error:

$ sudo systemctl status rtb
● rtb.service - Root The Box daemon
     Loaded: loaded (/etc/systemd/system/rtb.service; enabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Mon 2022-10-10 12:46:28 UTC; 5s ago
    Process: 1424 ExecStart=/opt/CTF/RootTheBox/rootthebox.py --start (code=exited, status=203/EXEC)
   Main PID: 1424 (code=exited, status=203/EXEC)

When normal starting with rootthebox.py --start I get this error:

$ python3 rootthebox.py --start
[I 221010 13:01:05 __init__:267] Checking for Database Updates...
[I 221010 13:01:05 migration:204] Context impl SQLiteImpl.
[I 221010 13:01:05 migration:207] Will assume non-transactional DDL.
[I 221010 13:01:05 GameHistory:54] Loading game history from database ...
[I 221010 13:01:05 GameHistory:71] History load complete.
[*] Starting RTB on http://localhost:8888
[W 221010 13:01:05 __init__:329] Debug mode is enabled; DO NOT USE THIS IN PRODUCTION
/home/rtb/RootTheBox/libs/Scoreboard.py:56: RuntimeWarning: coroutine 'Scoreboard._update_gamestate' was never awaited
  asyncio.ensure_future(self._update_gamestate(self, app))
RuntimeWarning: Enable tracemalloc to get the object allocation traceback

I suspect maybe the error is throwing the service, but I don’t know how to fix it.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
eljeffegcommented, Oct 10, 2022

The latest version of Python that RTB supports is 3.8.x as 3.9 / 3.10 removed features that slows us to support 2.7.x. We haven’t yet made the full conversion to depreciate the backward compatibility.

Also, just wanted to make sure you have the latest commit as I put in a try except on that warning recently.

0reactions
eljeffegcommented, Oct 14, 2022

Version 3.12.0 removes the async and will resolve the RuntimeWarning: coroutine 'Scoreboard._update_gamestate' was never awaited warning.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting deals with RTB breakout - Authorized Buyers ...
The RTB Breakout tool allows you to view detailed activity for specific deals, bid responses that are filtered, and impressions lost due to...
Read more >
RTB Troubleshooting | Buyer APIs - Google Developers
This guide covers RTB troubleshooting resources, which allow you to programmatically access real-time bidding campaign metrics that are also ...
Read more >
Unable to Auto Start RTB Service using systemd #306 - GitHub
Hello, I am currently trying to auto start the instance as prescribed in Installation Wiki and I am getting this error: root@rtb-msoc:/opt/CTF/ ...
Read more >
5.4 RTB Correction and Clarification - Renting It Right
If a decision is unclear or contains a mistake, a party can submit Residential Tenancy Branch (RTB) Form, Request for Correction or Request...
Read more >
Request Correction or Clarification
If a decision or an order of the Residential Tenancy Branch (RTB) contains obvious errors or if the arbitrator left out information she...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found