I teach a class using the Tetrix Prizm board (linked here). For the past 4 months, I have had no issues using the arduino.cc website. We use Chromebooks to write the code (which do NOT use the Create app, because it's blocked by our WiFi) and then laptops to upload it.
Starting just the other day, students began to encounter an issue. When they tried to verify their code, they would receive this error:
/tmp/084641653/Programming_Assignment_1/Programming_Assignment_1.ino:2:55: fatal error: PRIZM.h: No such file or directory
compilation terminated.
exit status 1
This error status came from the following code:
#include <PRIZM.h>
On top of this, the students that encountered this error code were unable to select the board that we've been using (Arduino/Genuino Uno). This board stopped showing up in the Board and Port drop-down menu. I browsed it, searched for it, and had absolutely zero luck.
I even observed an experience where a student had the Arduino/Genuino Uno board selected, refreshed their page, selected a different board, and then tried to go back to the Arduino/Genuino Uno board, and it didn't exist.
This problem prevents my students from verifying their code (since the library only uses that specific board) AND from uploading their code to the Prizm controller.
Any advice you could give would be extremely helpful!
I have contacted Pitsco, by the way (the company that makes the Prizm controller), but they are equally as stumped.
Hi @hgrumet. I'm sorry to hear you're having trouble with the Arduino Web Editor.
hgrumet:
Starting just the other day, students began to encounter an issue. When they tried to verify their code, they would receive this error:
/tmp/084641653/Programming_Assignment_1/Programming_Assignment_1.ino:2:55: fatal error: PRIZM.h: No such file or directory
Have they successfully used the Tetrix Prizm Arduino library in the past, or is this your first time attempting to use the library?
hgrumet:
On top of this, the students that encountered this error code were unable to select the board that we've been using (Arduino/Genuino Uno). This board stopped showing up in the Board and Port drop-down menu. I browsed it, searched for it, and had absolutely zero luck.
If you select "Select Other Board & Port" from the Board and Port menu, do you see the port of the Uno listed in the "Ports" menu?
pert:
Hi @hgrumet. I'm sorry to hear you're having trouble with the Arduino Web Editor.
Have they successfully used the Tetrix Prizm Arduino library in the past, or is this your first time attempting to use the library?
If you select "Select Other Board & Port" from the Board and Port menu, do you see the port of the Uno listed in the "Ports" menu?
We have successfully used the Tetrix Prizm Arduino library every week since September of 2019. They were successfully using the library as recently as January 24, 2020.
If you're asking if I see that the board is connected (i.e. it selects a board automatically when we plug it into the computer, and displays some Comm #), then the answer is yes. If you're asking if we can see the "Arduino/Genuino Uno" board in that menu, then the answer is no.
ballscrewbob:
This does not seem to be one of the many libraries available to the editor.
One of the errors would suggest you need to UPLOAD it first.
If you having problems uploading it then I have attached additional help for that aspect.
Also a working link to its source would be useful please ?
Bob.
The library has already been uploaded to every student's individual Arduino account. We have successfully used the library in every student's account, on multiple computers, for the past 4-5 months.
hgrumet:
We have successfully used the Tetrix Prizm Arduino library every week since September of 2019. They were successfully using the library as recently as January 24, 2020.
I wonder if some recent glitch in the Arduino Web Editor caused your imported library to be deleted? If so, you could contact Arduino support via this form to see if you could get it restored:
However, depending on how many accounts there are, it might be just as easy to simply import the library again:
From the menu on the left side of the Arduino Web Editor window, click "Libraries".
Click the upward pointing arrow button ("Import").
If you get a popup about importing your sketchbook, click "Import".
Select the downloaded file tetrix_prizm_080219.zip.
Click the "Open" button.
Wait for Arduino Web Editor to indicate the library was successfully imported.
hgrumet:
it selects a board automatically when we plug it into the computer
What is the name of the board it selects?
hgrumet:
If you're asking if we can see the "Arduino/Genuino Uno" board in that menu, then the answer is no.
Arduino is dropping the "Genuino" brand name and using "Arduino" exclusively. For this reason, they recently changed the name of the Uno's board name in Arduino Web Editor from "Arduino/Genuino Uno" to "Arduino Uno".
pert:
I wonder if some recent glitch in the Arduino Web Editor caused your imported library to be deleted? If so, you could contact Arduino support via this form to see if you could get it restored: Arduino Official Store | Boards Shields Kits Accessories
However, depending on how many accounts there are, it might be just as easy to simply import the library again:
From the menu on the left side of the Arduino Web Editor window, click "Libraries".
Click the upward pointing arrow button ("Import").
If you get a popup about importing your sketchbook, click "Import".
Select the downloaded file tetrix_prizm_080219.zip.
Click the "Open" button.
Wait for Arduino Web Editor to indicate the library was successfully imported.
What is the name of the board it selects?
Arduino is dropping the "Genuino" brand name and using "Arduino" exclusively. For this reason, they recently changed the name of the Uno's board name in Arduino Web Editor from "Arduino/Genuino Uno" to "Arduino Uno".
One of the first things I tried is deleting the library, and then reuploading it. I have uploaded the old file that I know worked, AND I have tried replacing it with a fresh download of the library. I have a lot of experience uploading those libraries, so I'm confident that I did it correctly, but it did not help.
I had no idea they were dropping the Genuino name; that makes a lot of sense. Now I can narrow the issue down a bit more.
I'm starting to wonder if this is a firewall issue? Since I work at a school site, I know we do have some strange settings for our wifi (i.e. sending DNS attacks at "foreign" devices). What confuses me about that is that the school computer I work from has no issue uploading, but all of our laptops (the ones that used to work) suddenly do have an issue...Could it also be because the Arduino/Genuino Uno board was dropped from the list? Was the Arduino Create Agent changed during this process?
Edit: Forgot to mention that the board detected is the Arduino Uno.
hgrumet:
One of the first things I tried is deleting the library, and then reuploading it. I have uploaded the old file that I know worked, AND I have tried replacing it with a fresh download of the library.
When you import it, do you see this dialog?:
Updating library?
One or more library with the same name already exists in your library collection. Do you want to replace it with a newer version?
If you click the "OK" button, do you then see this dialog?:
LIBRARIES SUCCESSFULLY IMPORTED:
TETRIX PRIZM
After that, if you select the "Libraries" option from the menu on the right side of the Arduino Web Editor window and then click the "Custom" tab, do you see "TETRIX PRIZM" in the list of custom libraries?
hgrumet:
all of our laptops (the ones that used to work) suddenly do have an issue.
By "an issue", do you just mean the "fatal error: PRIZM.h: No such file or directory" error?
hgrumet:
Forgot to mention that the board detected is the Arduino Uno.
If you select the Arduino Uno board and upload a sketch that does not contain #include <PRIZM.h>, does it successfully upload?
If you click the "OK" button, do you then see this dialog?
-Yes
After that, if you select the "Libraries" option from the menu on the right side of the Arduino Web Editor window and then click the "Custom" tab, do you see "TETRIX PRIZM" in the list of custom libraries?
-Yes
By "an issue", do you just mean the "fatal error: PRIZM.h: No such file or directory" error?
-Correct
If you select the Arduino Uno board and upload a sketch that does not contain #include <PRIZM.h>, does it successfully upload?
-Haven't tried that, until now. Here's what I did:
Here's the beginning of a working sketch, with #include <PRIZM.h> removed from the first line:
PRIZM prizm;
void setup() {
prizm.PrizmBegin();
prizm.setMotorInvert(1,1);
}
When I try to verify the code, it gives me an error that says: 'PRIZM' does not name a type; did you mean 'PRIX8'?