Project

General

Profile

How To Report Issues » History » Version 25

Dan Smith, 01/30/2023 09:03 PM

1 17 Dan Smith
# How To Report Issues
2 1 Dan Smith
3 17 Dan Smith
## First things first!
4 1 Dan Smith
5 17 Dan Smith
Before you file a bug, *please test the latest Development Version of CHIRP to see if your issue has been fixed*. These builds are generated automatically every night when there is a change, and they are available from the bottom of the [download page](/projects/chirp/wiki/download).
6 7 Dan Smith
7 25 Dan Smith
Please *DO NOT* attach the manufacturer's software or documentation to the issue. Even if you think the file is freely available via download elsewhere, that does not mean you can legally distribute it yourself. Posting it here also opens up the CHIRP website and community to potential action by owners of those materials. If it is downloadable somewhere, feel free to post a link but *DO NOT* attach it to the issue.
8 16 Dan Smith
9 17 Dan Smith
## Effective Bug Reporting
10 2 Dan Smith
11 1 Dan Smith
Effective reporting of a bug or feature is critical to getting the issue resolved in a timely manner. If bug descriptions are difficult to understand or reproduce, they are less likely to receive attention. When you are crafting your bug report, try to answer the following questions:
12
13
1. What is the behavior you are seeing?
14
2. What is the behavior you were expecting?
15
3. Can you reproduce the problem all the time?
16
4. What are the steps required to reproduce the problem?
17
5. Is this specific to a certain radio model (driver) or something that you can reproduce with another radio?
18
19 13 Jens Jensen
In most cases, *it is important to attach an image of your radio to the bug* so that a developer can look at the exact state and determine what the problem is. It is often helpful describe what you expect to see in a given memory location, as well as what you actually see. If relevant or difficult to describe what you are seeing, attaching a screenshot of the behavior may also be helpful.
20 5 Dan Smith
21 18 Dan Smith
For more information about how to file an effective bug report, please see Eric S. Raymond's [How to ask questions the smart way](http://catb.org/esr/faqs/smart-questions.html)
22 10 Dan Smith
23 17 Dan Smith
## Getting your debug log
24 5 Dan Smith
25 13 Jens Jensen
If you are expecting something to happen (such as importing from a file, or setting a memory) and CHIRP appears to ignore the request, *you probably should include your debug.log*. If you are getting an error message, you should definitely include the log.
26 1 Dan Smith
27 9 Dan Smith
The debug log is cleared every time you start chirp, so the procedure for getting a usable log is:
28
29 1 Dan Smith
1. Start chirp
30 9 Dan Smith
2. Reproduce the failure or bug
31 24 Dan Smith
3. Copy and send the debug log before starting chirp again
32 9 Dan Smith
33 24 Dan Smith
**If you are running CHIRP-next:** You can access a copy of your debug log from the *Help* menu. Do this just after you reproduce the problem.
34
35
Here are some tips for getting the legacy CHIRP `debug.log` on the various platforms:
36 9 Dan Smith
37 17 Dan Smith
### Windows
38 8 Dan Smith
39 20 Dan Smith
Go to Start->Run and type `%APPDATA%\CHIRP` (exactly as it is, including the percent signs). Your `debug.log` file will be in the folder that opens.
40 1 Dan Smith
41 17 Dan Smith
### Linux and MacOS
42 6 Dan Smith
43 21 Dan Smith
Your debug log should be in your home directory, in `.chirp/debug.log`.
44 1 Dan Smith
If you don't know how to find this, open up a terminal window.
45 17 Dan Smith
(Mac: click on spotlight (the magnifying glass icon at top right corner), and type `terminal`)
46 11 Jens Jensen
47 15 Jens Jensen
Run the following command at the prompt:
48 11 Jens Jensen
49 17 Dan Smith
```
50
cp ~/.chirp/debug.log ~/Desktop
51
```
52 9 Dan Smith
53 21 Dan Smith
Then close the terminal window. The `debug.log` file will be on your desktop.
54 7 Dan Smith
55 17 Dan Smith
## Filing your report
56 7 Dan Smith
57 17 Dan Smith
In order to file a new bug report or feature request, you must first create (or sign into) an account. Click the [Register](http://chirp.danplanet.com/account/register) or [Sign in](http://chirp.danplanet.com/login) link at the top right of this page to do that. Once you are logged in, click the [New issue](http://chirp.danplanet.com/projects/chirp/issues/new) link on the menu bar above to get started.