weatherreport show error when execute
- Dominant language
- Erlang
- Stars
- 7k
- Forks
- 1.1k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 9
Description
[NOTE]: # ( ^^ Provide a general summary of the issue in the title above. ^^ )
## Description
Regarding to the ticket( https://github.com/apache/couchdb/issues/4747 ) I wanted to use a diagnostic tool
weatherreport
when I executed this it shows
in /opt/couchdb/bin
./weatherreport
/usr/bin/env: ‘escript’: No such file or directory
so I appended the
PATH=$PATH:/opt/couchdb/erts-12.3.2.10/bin
and it got
{"init terminating in do_boot",{'cannot get bootfile','no_dot_erlang.boot'}}
init terminating in do_boot ({cannot get bootfile,no_dot_erlang.boot})
## Expected Behaviour
1) expecting weatherrepot runs smoothly
## Your Environment
* CouchDB version used:
couchdb-3.3.2-1.el8 in RHEL8 packages
* Operating system and version:
2 * Intel(R) Xeon(R) Gold 6240 CPU @ 2.60GHz
Mem 4G
Red Hat Enterprise Linux release 8.8 (Ootpa)(4.18.0-477.10.1.el8_8.x86_64)
Contributor guide
Research direction
Start by reproducing the command from /opt/couchdb/bin/weatherreport in the stated CouchDB 3.3.2 RHEL 8 environment, then inspect how this entry point locates escript and the Erlang boot files. Done means weatherreport runs without manually modifying PATH and produces its diagnostic output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- erlang
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100