Open edutools-service opened 1 year ago
After first iteration task file was in RO mode.
I'm copy pasted solution from source, error about missing main
is gone, task is passed. But this file contain already solved task.
Reset Content
button just wiped file.
After another restoring file content from Github, setting file to read only mode, Academy plugin shows Solution can't be loaded
with Reset Content
button, which again throw exception ReadOnlyModificationException
.
After setting file to RW mode and pressing Reset Content
button content is wiped again
I think placeholders for this task need to be adjusted.
Also how to reset progress? I'm reinstalled the course, but progress for part Structs Methods Enums and Pattern Matching
is not resetted
Hi! Thanks for the feedback! A couple of clarifying questions:
Progress and submission history are stored in your JetBrains account. Try to log out from your account so your progress doesn't count. You can do it this way:
Help -> Register... -> <your user in the left bottom coner> -> Log Out...
Or you can reset progress for all your courses this way:
Help -> Find Action... -> Delete All Marketplace Submissions
Hi!
Progress and submission history are stored in your JetBrains account
Thanks. I reinstalled Academy plugin multiple times and reinstalled Rust course, all progress was gone, except the last chapter I studied. But I tried to reset only last task.
Could this be related to the fact that I started course downloaded by plugin and continued with version from JB site? Where I can see progress or it internal API only?
After reinstalling the plugin I can't download deleted course again, download button just don't work, so I manually imported course from file.
- Does the "messed up code" error and/or "read only mode" error reproduce after reinstalling the course? I.e. can you get this error again?
"messed up code"
The only reason for my confusion at the beginning is the incorrect placement of templates (like on screenshot above). Broken templates made Linter to throw error about 'main' is missing
.
"read only mode"
I think that may be related to plugin logic - allow to edit code only inside templates. Somehow it blocked Reset Content button
I think.
- "Reset Content button just wiped file." -- do you mean the file became completely empty or reverted to the "broken" look?
This need to be tested, I do it later.
Other bug:
Peek solution
button previously throw error with stack trace, but now fixed
UPD:
Technically is possible to save answer to single template and made other empty, but after "Reset Content" templates and content is restored. So it may be some corruption during plugin installation
If file got locked by user - Academy plugin throws error EA link.
I don't know how file become RO but it only one "bug" for now.
May be wiped file is related with broken peek solution
because both use some version control, but this is all for now.
Where I can see progress or it internal API only?
For now, you can see your progress only in IDE course. In the future, the ability to reset progress for one selected course from IDE will be available
Unfortunately, I can't reproduce the "messed up code" error or "read only mode" error. I suggest leaving this issue for now, in case more information appears about this error.
I encountered the same issue after installing/uninstalling different versions of Jetbrains Academy due to some incompatibility of RustRover and broken Jetbrains Academy versions.
I encountered the same issue after installing/uninstalling different versions of Jetbrains Academy due to some incompatibility of RustRover and broken Jetbrains Academy versions.
Hi, @ahollmann Thank you for your reply. Can you describe the steps to reproduce this?
After begining this task RustRover show no main function error, then TODO hint is missplaced, some content was improperly formatted. After restarting IDE task file is empty, Reset Content button throws exception. Stack trace https://ea.jetbrains.com/browser/ea_reports/19018161 https://ea.jetbrains.com/browser/ea_reports/19018161