Jump to content

Recommended Posts

Posted

Hi Guys

 

Thanks for setting up mt new account. I'm working on a Python script and it is crashing with a permission error with this traceback

 

Traceback (most recent call last):
File "newtest.py", line 22, in <module>
g = Goose()
File "/usr/local/python3.6/lib/python3.6/site-packages/goose3/__init__.py", line 74, in __init__
level, path = mkstemp(dir=self.config.local_storage_path)
File "/usr/local/python3.6/lib/python3.6/tempfile.py", line 342, in mkstemp
return _mkstemp_inner(dir, prefix, suffix, flags, output_type)
File "/usr/local/python3.6/lib/python3.6/tempfile.py", line 260, in _mkstemp_inner
fd = _os.open(file, flags, 0o600)
PermissionError: [Errno 13] Permission denied: '/tmp/goose/tmp6h_vbtni'

 

The line in the script is 

g = Goose()

 

I've used to code elsewhere so it works fine but it looks like I do not have permission to create a temporary file or folder called tmp6h_vbtni (this is a guess). Do I have to do anything or is this a server configuration issue.

 

username is asayers

web address asayers.heliohost.org

script is newtest.py

 

Hope you can help. Many thanks.

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...