Contribute
Register

[TOOL] [Generate Proper Problem Reporting Files]

Status
Not open for further replies.
you can see the obvious mistake

you are copying a file called install_tools.sh to /usr/local/bin

then you are trying to execute a completely different program, gen_debug.....

maybe re read post 1
I have read and re read post 1. I have done exactly as it has instructed, as far as I can tell. You can see this from the terminal results that I posted in my very first post that you replied to.
I downloaded the script. I installed the script, and I tried to get a debug report. It did not work.
The only reason, I did the above, which I had a feeling was wrong, is because your instruction implied that this is what I had to do. You have to understand, that I am new to this, and sometimes people post instructions on here that are not that straight forward to understand.
 
Ok, so clearly, I am an idiot, and I have found that the best way to deal with instructing an idiot, is you break everything down in simple to understand steps. So that it is foolproof - idiot-proof. So the instructions in post 1 say the following:

How to generate debug report:-

It is very simple, you just have to download the attached script and run it. The script in attachment will install the tool for you and will then prompt if you want to generate the files.

1) Right, so is the script in question: "install_tools.zip" ? If it indeed is, then I don't see how I have messed up this step, because that is the file I have downloaded.

There are conveniently supplied instructions for installing the script:

How to download and run attached script :-
  • Unzip the downloaded zip file
  • Open terminal
  • Assuming your script is in Downloads folder, type the following code :-

Ok, so I did this.
2) I unzipped the file.

3) I opened the terminal.

4) The guide assumed correctly, that the script is in my download folder. Here is the script in my downloads folder:
Screen Shot 2020-07-27 at 11.22.52 AM.png

5) So because the instructions stated this fact, I assumed it was safe to copy and paste the provided "code" in the terminal. The code I pasted was the following:
chmod a+x ~/Downloads/install_tools.sh
~/Downloads/install_tools.sh

6) How am I doing so far? Did I manage to make a mistake yet? Well, something has gone wrong somewhere because this is what has happened at this point:
Screen Shot 2020-07-27 at 11.25.10 AM.png

I have numbered each step. So perhaps now you can tell me exactly where I have gone wrong?
 
Ok, so clearly, I am an idiot, and I have found that the best way to deal with instructing an idiot, is you break everything down in simple to understand steps. So that it is foolproof - idiot-proof. So the instructions in post 1 say the following:



1) Right, so is the script in question: "install_tools.zip" ? If it indeed is, then I don't see how I have messed up this step, because that is the file I have downloaded.

There are conveniently supplied instructions for installing the script:

How to download and run attached script :-
  • Unzip the downloaded zip file
  • Open terminal
  • Assuming your script is in Downloads folder, type the following code :-

Ok, so I did this.
2) I unzipped the file.

3) I opened the terminal.

4) The guide assumed correctly, that the script is in my download folder. Here is the script in my downloads folder:
View attachment 481855

5) So because the instructions stated this fact, I assumed it was safe to copy and paste the provided "code" in the terminal. The code I pasted was the following:
chmod a+x ~/Downloads/install_tools.sh
~/Downloads/install_tools.sh

6) How am I doing so far? Did I manage to make a mistake yet? Well, something has gone wrong somewhere because this is what has happened at this point:
View attachment 481856

I have numbered each step. So perhaps now you can tell me exactly where I have gone wrong?
edit the install_tools.sh file and find:
Code:
sudo cp gen_debug /usr/bin
sudo chmod a+x /usr/bin/gen_debug

and replace with:
Code:
sudo cp gen_debug /usr/local/bin
sudo chmod a+x /usr/local/bin/gen_debug
 
edit the install_tools.sh file and find:
Code:
sudo cp gen_debug /usr/bin
sudo chmod a+x /usr/bin/gen_debug

and replace with:
Code:
sudo cp gen_debug /usr/local/bin
sudo chmod a+x /usr/local/bin/gen_debug

Thank you very much. I appreciate the help.
However now, I have a new problem:
Screen Shot 2020-07-28 at 8.45.12 AM.png

But I am connected to the internet.

Could the previous problem with the script and this problem be linked to the fact that my permissions seem to be screwed up since I did a clean install last month? I have had continued errors from various apps saying this I don't have permission to access a certain drive. I've tried posting about it to get some help, but no one has replied.
 
Thank you very much. I appreciate the help.
However now, I have a new problem:
View attachment 481980

But I am connected to the internet.

Could the previous problem with the script and this problem be linked to the fact that my permissions seem to be screwed up since I did a clean install last month? I have had continued errors from various apps saying this I don't have permission to access a certain drive. I've tried posting about it to get some help, but no one has replied.
this is a common issue i have seen a few times, not sure what causes it though

there is a section under Usage that may help in using the files due to internet issues:
 
this is a common issue i have seen a few times, not sure what causes it though

there is a section under Usage that may help in using the files due to internet issues:
Failed at the first hurdle again. And there are 6 different commands there and there will be a problem with every single one of them, I can tell.
Screen Shot 2020-07-29 at 10.49.21 AM.png

Can you just point me in the direction of a guide to manually creating these files, so I can get on with my life. It's been about a week now and I'm not any closer to actually reporting the problem that I need the problem reporting files for!
 
Failed at the first hurdle again. And there are 6 different commands there and there will be a problem with every single one of them, I can tell.
View attachment 482140

Can you just point me in the direction of a guide to manually creating these files, so I can get on with my life. It's been about a week now and I'm not any closer to actually reporting the problem that I need the problem reporting files for!
Read FAQ, "Problem Reporting"
 
I am having a problem running the gen-debug script (designed to generate proper problem reporting files) found here: https://github.com/black-dragon74/OSX-Debug/blob/master/gen_debug.sh

When running the script I get the following:

Dans-Hackintosh:~ dan$ chmod a+x ~/Desktop/downloads/install_tools.s
chmod: /Users/dan/Desktop/downloads/install_tools.s: No such file or directory
Dans-Hackintosh:~ dan$ ~/Desktop/downloads/install_tools.sh
Installing debug report generator....
Checking your internet connection....
Internet connectivity is all good to go.
Downloading the latest version from GitHub...
cp: /usr/bin/gen_debug: Read-only file system
chmod: /usr/bin/gen_debug: No such file or directory
Tool installed successfully.
Would you like to generate a report now?[y/n]: y
Thank You! Generating report in T-2 seconds...

/Users/dan/Desktop/downloads/install_tools.sh: line 54: gen_debug: command not found


Is there a way to make the gen-debug script work?
 
Last edited:
I'm having the same problem as dradovsky with generating report files.

something I'm doing wrong?

Terminal activity here:

The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
xxxxxx$ chmod a+x ~/Downloads/install_tools.sh
xxxxxx$ ~/Downloads/install_tools.sh
Installing debug report generator....
Checking your internet connection....
Internet connectivity is all good to go.
Downloading the latest version from GitHub...
Password:
cp: /usr/bin/gen_debug: Read-only file system
chmod: /usr/bin/gen_debug: No such file or directory
Tool installed successfully.
Would you like to generate a report now?[y/n]: y
Thank You! Generating report in T-2 seconds...


/Users/xxxxxx/Downloads/install_tools.sh: line 54: gen_debug: command not found
 
"Tool installed successfully" but running into this issue when choosing "y" to generate report:

xxxxxxx/Downloads/install_tools.sh: line 54: gen_debug: command not found


something I'm doing wrong?

Terminal activity here:

The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
xxxxxx$ chmod a+x ~/Downloads/install_tools.sh
xxxxxx$ ~/Downloads/install_tools.sh
Installing debug report generator....
Checking your internet connection....
Internet connectivity is all good to go.
Downloading the latest version from GitHub...
Password:
cp: /usr/bin/gen_debug: Read-only file system
chmod: /usr/bin/gen_debug: No such file or directory
Tool installed successfully.
Would you like to generate a report now?[y/n]: y
Thank You! Generating report in T-2 seconds...


/Users/xxxxxx/Downloads/install_tools.sh: line 54: gen_debug: command not found
run these 3 commands first and then try:
Code:
sudo spctl --master-disable
sudo mount -uw /
sudo killall Finder
 
Status
Not open for further replies.
Back
Top