5

I'm using ubuntu 16.04, and lately i've been getting the following error in PyCharm:

PyCharm was unable to save some project files,
are you sure you want to close this project anyway?

Read-only files:
/home/adiel/PycharmProjects/spark-test/.idea/workspace.xml

When using ls -la on the specified .idea folder i get:

drwxrwxr-x 2 adiel adiel 4096 .idea

I've tried using chmod 777 on the folder, but it remains the same.

Any Ideas?

Thanks

  • See this – Rahul Dec 21 '16 at 17:28
  • @Rahul , this is for windows. how do i make this change in ubuntu? thanks – Adiel Dec 21 '16 at 17:44
  • Did you check the permissions for workspace.xml ? Post in your Q also. – Rahul Dec 21 '16 at 17:49
  • Thanks. when using sudo chmod for workspace, problem is solved. if you can post this as an answer i'll mark it as accepted :) – Adiel Dec 21 '16 at 18:03
  • I'm glad it worked. I'll write an answer. – Rahul Dec 21 '16 at 18:17
5

Error message:

PyCharm was unable to save some project files,
are you sure you want to close this project anyway?

Read-only files:
/home/adiel/PycharmProjects/spark-test/.idea/workspace.xml

According to your error message problme is with workspace.xml file. You have to provide appropriate permission to workspace.xml file using sudo chmod command.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.