You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's taken some time (months) to isolate this problem and figure out what the exact cause is/was, but I now have it thanks to a level-headed student. We've had reports of students trying to download code in SimpleIDE before and getting the error: failed to open 'cmm/Test Encoder Connections.elf'
It turns out that in these situations the student does not have write access on their school computer, most likely due to their group policy. Once the teacher opened the application "As an Admin" then it worked.
The reason I am reporting this as a bug/issue is that the reason it took so long to figure out is that there should have been an error writing the file as SimpleIDE was not allowed to create the file within the cmm folder. Instead the error comes up later when the file that was supposed to be created is attempted to be read and is not found.
This had us thinking there were missing library files or some other issue. It would help if SimpleIDE would generate an error when it is not capable of writing to the target location. The Build Error Rescue from the student is pasted below. The switch to LMM in an attempt to see if it that would work, but that wasn't related to the issue.
It's taken some time (months) to isolate this problem and figure out what the exact cause is/was, but I now have it thanks to a level-headed student. We've had reports of students trying to download code in SimpleIDE before and getting the error: failed to open 'cmm/Test Encoder Connections.elf'
It turns out that in these situations the student does not have write access on their school computer, most likely due to their group policy. Once the teacher opened the application "As an Admin" then it worked.
The reason I am reporting this as a bug/issue is that the reason it took so long to figure out is that there should have been an error writing the file as SimpleIDE was not allowed to create the file within the cmm folder. Instead the error comes up later when the file that was supposed to be created is attempted to be read and is not found.
This had us thinking there were missing library files or some other issue. It would help if SimpleIDE would generate an error when it is not capable of writing to the target location. The Build Error Rescue from the student is pasted below. The switch to LMM in an attempt to see if it that would work, but that wasn't related to the issue.
SimpleIDE Version 1.0.2
C:/Users/jrichens/Documents/SimpleIDE/Learn/Simple Libraries/
C:/Users/jrichens/Documents/SimpleIDE/ Updated on: 2016-12-06
propeller-elf-gcc.exe -v
propeller-elf-gcc.exe error ... (0)
propeller-elf-gcc.exe -I . -L . -o lmm/Test Encoder Connections.elf -Os -mlmm -m32bit-doubles -fno-exceptions -std=c99 Test Encoder Connections.c -lm
propeller-elf-gcc.exe error ... (0)
propeller-load -s lmm/Test Encoder Connections.elf
propeller-load error ... (0)
propeller-elf-objdump -h lmm/Test Encoder Connections.elf
propeller-elf-objdump error ... (0)
Done. Build Succeeded!
propeller-load.exe -S2 -Dreset=dtr -I C:/Program Files (x86)/SimpleIDE/bin/../propeller-gcc/propeller-load/ -b ACTIVITYBOARD lmm/Test Encoder Connections.elf -r -p COM4Propeller Version 1 on COM4
error: failed to open 'lmm/Test Encoder Connections.elf'
error: load failed
Propeller Version 1 on COM4
error: failed to open 'lmm/Test Encoder Connections.elf'
error: load failed
The text was updated successfully, but these errors were encountered: