acook0011 / AP-Computer-Science-A

For AP Comp-Sci Class
0 stars 0 forks source link

BlueJ won't update to github from school computer #1

Closed acook0011 closed 5 years ago

acook0011 commented 6 years ago

On school computer after checking out from github, changes made to a class in BlueJ will be set as ready to commit, but when commit is selected, the updates won't be committed and therefore can't be pushed to github. Also occasionally requires to checkout from github again for unknown reasons, but it has so far been inevitable.

Unknown cause: happened after new check out from github, but problem hasn't appeared before.

Temporary solution: Manually upload and update files, but I would prefer to be able to update straight from BlueJ.

Hopefully it still works on other computers or when more drastic changes are made.

acook0011 commented 6 years ago

Attempted the same process on my personal laptop with the same class. This time, it worked! One thing I noted was that when asking me to commit and push, the class name also included the package directory beforehand ( [Chapter4.Ch4Prog3] Power2V3.java ) while my failed attempt on the school computer only displayed ' Power2V3.java ' without the packaging description.

I am now treating these discrepancies as linked. Something on the school computer version of my files must mess with the packaging and cause for it to be unreadable when committing and pushing. At the very least, I am glad I don't need to resort to manual uploads.

acook0011 commented 6 years ago

Today, BlueJ was able to update from github on the school computer. Although I have yet to see if it is able to commit and push updates, it is a better sign than pretending there is no repository.

acook0011 commented 6 years ago

Sadly, the school computer was still incapable of committing and pushing updates to github. While other computers are able to commit and push without issue, I will need to continue manually updating github whenever I am working on my computer in the computer lab.

acook0011 commented 6 years ago

Worked completely fine using a different repository (or at least offered valid reasons when it didn't work), and it was being used by multiple people at the same time. Maybe this one is just cursed.

acook0011 commented 5 years ago

Apparently, the problem all along was that BlueJ was outdated. Now it works fine. Took a few months but we did iiiittt