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

Error during startup #287

Closed
akshay-ap opened this issue Oct 10, 2020 · 2 comments · Fixed by #375
Closed

Error during startup #287

akshay-ap opened this issue Oct 10, 2020 · 2 comments · Fixed by #375
Labels
Type: Enhancement New feature or request

Comments

@akshay-ap
Copy link
Collaborator

akshay-ap commented Oct 10, 2020

ENV EVENTS_ALLOW=''

File "/aquarius/aquarius/run.py", line 90, in <module>
if bool(int(os.environ.get('EVENTS_ALLOW', '0'))):
ValueError: invalid literal for int() with base 10: ''
  1. After commenting above env var, another error is thrown:
Traceback (most recent call last):
  File "./events-monitor-main.py", line 49, in <module>
    run_events_monitor()
  File "./events-monitor-main.py", line 41, in run_events_monitor
    monitor = EventsMonitor(Web3Provider.get_web3(), config_file)
  File "/aquarius/aquarius/events/events_monitor.py", line 48, in __init__
    self._updater = MetadataUpdater(self._oceandb, self._web3, ConfigProvider.get_config())
  File "/aquarius/aquarius/events/metadata_updater.py", line 35, in __init__
    assert self._checksum_ocean, \
AssertionError: Ocean token address is not found: addresses=dict_keys(['DTFactory', 'BFactory', 'FixedRateExchange', 'Metadata']).
Please add the "Ocean" token address in the address.json file or set the `OCEAN_ADDRESS` environment variable.

@ssallam
Copy link
Contributor

ssallam commented Oct 10, 2020

The first error can be avoided, will put in a fix for this. The assertion about Ocean token is telling what is the problem and how to solve it, so this is not a bug.

@trentmc trentmc modified the milestone: V3.x Nov 24, 2020
@trentmc trentmc added the Type: Bug Something isn't working label Jan 6, 2021
@alexcos20 alexcos20 added Type: Enhancement New feature or request and removed Type: Bug Something isn't working labels Jan 12, 2021
@ssallam
Copy link
Contributor

ssallam commented Feb 9, 2021

#375

@ssallam ssallam linked a pull request Feb 9, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants