PLEASE NOTE: the upgrades to this server, secure.csse.uwa.edu.au, have not yet been completed.
Hopefully the changes will be completed on THURSDAY 8th December.
Web-based programs, such as csmarks, cssubmit, and the help fora, will be unavailable at some time on Thursday 8th.
  It's UWAweek 49

help2003/help4407

This forum is provided to promote discussion amongst students enrolled in Open Source Tools and Scripting.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

How do I ask a good question?
Displaying the 6 articles in this topic
Showing 6 of 564 articles.
Currently 1 other person reading this forum.


 UWA week 17 (1st semester, week 8) ↓
SVG not supported

Login to reply

👍?
helpful
4:12pm Tue 26th Apr, Chuanhe L.

Hi Michael I am on a window environment and just download the file from the web, but i cannot open the title_case.py file when i do the command "chmod 777 title_case.py", unix shows the error "chmod: changing permissions of 'title_case.py': Operation not permitted" Best regards Chuanhe Liu


SVG not supported

Login to reply

👍?
helpful
4:17pm Tue 26th Apr, Chuanhe L.

btw i try it in python environment successfully, which is a great helper function


SVG not supported

Login to reply

👍?
helpful
4:30pm Tue 26th Apr, Michael W.

"Chuanhe Liu" <22*9*5*[email protected]*u*e*t*u*a*e*u*a*> wrote:
> Hi Michael > > I am on a window environment and just download the file from the web, but i cannot open the title_case.py file > > when i do the command "chmod 777 title_case.py", > unix shows the error "chmod: changing permissions of 'title_case.py': Operation not permitted" > > Best regards > Chuanhe Liu
Hi Chuanhe, The Window's environment won't know what to make of the file. You need to put it in the directory that maps to perm when you run docker. Then the docker instance will see it, and will be able to handle it. Cheers MichaelW


SVG not supported

Login to reply

👍?
helpful
4:42pm Tue 26th Apr, Chuanhe L.

yeah Michael, actually i download it in the mount directory "perm" directly


SVG not supported

Login to reply

👍?
helpful
9:33pm Tue 26th Apr, Michael W.

"Chuanhe Liu" <22*9*5*[email protected]*u*e*t*u*a*e*u*a*> wrote:
> yeah Michael, actually i download it in the mount directory "perm" directly
Hi Chuanhe, Then you need to start the docker app (if you've not already done so) and use the docker run command (modified for your directory structure). If all that works you will be running a Linux instance in which Python is available and the program will run. Cheers MichaelW


SVG not supported

Login to reply

👍?
helpful
9:42am Wed 27th Apr, Michael H.

Hi Michael, I am also having similar issues with the python file. The command is not being found within the docker container. I was able to get the program to work by changing python to python3 within the helper file and using that, albeit outside the docker container. If able to go through how to implement it during the lecture, it would be most beneficial. cheers

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  1:17AM Sep 14 2022
Privacy policy