From 002752490211ec61512888c02ae8c840fd9a1e4b Mon Sep 17 00:00:00 2001 From: Ehsan Iran-Nejad Date: Wed, 22 Nov 2023 05:15:37 -0800 Subject: [PATCH 1/2] updated issue template --- .github/ISSUE_TEMPLATE/BUG_REPORT.md | 32 +++++++++++++++++++--------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/BUG_REPORT.md b/.github/ISSUE_TEMPLATE/BUG_REPORT.md index 95a481cab..ca8c4d11a 100644 --- a/.github/ISSUE_TEMPLATE/BUG_REPORT.md +++ b/.github/ISSUE_TEMPLATE/BUG_REPORT.md @@ -3,35 +3,47 @@ name: Bug report about: Create a report to help us improve --- +--- + +**🚧 If you have SentinelOne installed as an antivirus, look no further. You will need to create exceptions for Revit and pyRevit, both on the software and the %appdata% folders.** + +--- + +**🙏 PLease use the search in the issue section before filing a new issue** + +--- + +# 🐞 Describe the bug -**Describe the bug** Replace these lines with your description. Be as specific as possible and list steps to reproduce the issue. If you have any suggestions for the solution please list that as well. -If you have installed pyRevit, and the installation completed with no errors but pyRevit doesn't load, please run the command below in terminal. This should fix the issue on your machine, however, please continue filing the issue with instructions below. +If you have installed pyRevit, and the installation completed with no errors but pyRevit doesn't load, please run the command below in terminal / command line. This should fix the issue on your machine, however, please continue filing the issue with instructions below. + +👉 `pyrevit attach master 2711 --installed` -`pyrevit attach master 277 --installed` +If it does not work, try to disable your revit addins, all of them. Then, one at a time, reactivate them and restart Revit to figure out which one is interacting badly with pyRevit and Report. -**To Reproduce** +# ♻️ To Reproduce Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error -**Expected behavior** +# ⏲️ Expected behavior A clear and concise description of what you expected to happen. -**Screenshots** +# 🖼 Screenshots of the issue If applicable, add screenshots to help explain your problem. -**Desktop (please complete the following information):** +# 🖥️ Hardware and Software Setup (please complete the following information): - OS: [e.g. iOS] - pyRevit Version [e.g. 22] - - pyRevit Environment: Open a command prompt and run the command below. Replace these lines with the results. Take a look at this markdown guide and wrap the command results in ``` when pasting here for correct formatting. + - pyRevit Environment: Open a command prompt 🖥 and run the command below. Replace these lines with the results. Take a look at this markdown guide and wrap the command results in ``` when pasting here for correct formatting. -`pyrevit env` +👉 `pyrevit env` -**Additional context** +# Additional context Add any other context about the problem here. From cd1aa9a08765de10d7f2da865ab48934006ec417 Mon Sep 17 00:00:00 2001 From: fabihatasneem <1805072@ugrad.cse.buet.ac.bd> Date: Fri, 1 Dec 2023 20:39:40 +0600 Subject: [PATCH 2/2] Fixed Inappropriate Logical Expression --- pyrevitlib/rpw/ui/forms/console.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pyrevitlib/rpw/ui/forms/console.py b/pyrevitlib/rpw/ui/forms/console.py index b96184273..e7db0575e 100644 --- a/pyrevitlib/rpw/ui/forms/console.py +++ b/pyrevitlib/rpw/ui/forms/console.py @@ -346,8 +346,6 @@ def history_iter(self): except IndexError: if len(lines) == 0: return None - if len(lines) < 0: - self.history_index += len(lines) if len(lines) > 0: self.history_index -= len(lines) line = lines[0]