Re: PermissionError: [Errno 13] Permission denied: 'Abc.xlsx'

2022-02-12 Thread Peter J. Holzer
On 2022-02-11 18:20:19 -0500, Dennis Lee Bieber wrote: > On Fri, 11 Feb 2022 20:37:57 +0100, "Peter J. Holzer" > declaimed the following: > > >Interestingly, Excel did have the ability for multiple users editing the > >same file at some time (maybe early 2000s? Way before Google docs or

Re: PermissionError: [Errno 13] Permission denied: 'Abc.xlsx'

2022-02-11 Thread Dennis Lee Bieber
On Fri, 11 Feb 2022 20:37:57 +0100, "Peter J. Holzer" declaimed the following: >Interestingly, Excel did have the ability for multiple users editing the >same file at some time (maybe early 2000s? Way before Google docs or >Office 365). It had to be explicitely enabled and it didn't work very >re

Re: PermissionError: [Errno 13] Permission denied: 'Abc.xlsx'

2022-02-11 Thread Peter J. Holzer
On 2022-02-11 08:11:32 +1100, Chris Angelico wrote: > Excel doesn't have the sophistication to need or want anything more > than simple "I have this file, nobody else touch it" exclusive > locking. Interestingly, Excel did have the ability for multiple users editing the same file at some time (may

Re: PermissionError: [Errno 13] Permission denied: 'Abc.xlsx'

2022-02-10 Thread Dennis Lee Bieber
On Thu, 10 Feb 2022 21:39:05 +0100, Christian Gollwitzer declaimed the following: >Hence it is impossible to concurrently write from Python into an open >Excel file. One might ask what the real problem is the user is trying to >solve. Is Excel a requirement, can it be swapped by a database eng

Re: PermissionError: [Errno 13] Permission denied: 'Abc.xlsx'

2022-02-10 Thread Chris Angelico
On Fri, 11 Feb 2022 at 07:57, Christian Gollwitzer wrote: > > Am 10.02.22 um 20:43 schrieb Chris Angelico: > > On Fri, 11 Feb 2022 at 06:41, Dennis Lee Bieber > > wrote: > >> While not tested with Excel, I /have/ encountered cases where an > >> application has locked the file for writin

Re: PermissionError: [Errno 13] Permission denied: 'Abc.xlsx'

2022-02-10 Thread Christian Gollwitzer
Am 10.02.22 um 20:43 schrieb Chris Angelico: On Fri, 11 Feb 2022 at 06:41, Dennis Lee Bieber wrote: While not tested with Excel, I /have/ encountered cases where an application has locked the file for writing, but multiple readers are permitted. Those would fail then if one attempts to

Re: PermissionError: [Errno 13] Permission denied: 'Abc.xlsx'

2022-02-10 Thread Chris Angelico
On Fri, 11 Feb 2022 at 06:41, Dennis Lee Bieber wrote: > > On Wed, 9 Feb 2022 18:50:12 +, MRAB > declaimed the following: > > >On 2022-02-09 12:45, Christian Gollwitzer wrote: > > >> It's impossible. Excel locks the file deliberately when it is open, so > >> that you can't overwrite it from a

Re: PermissionError: [Errno 13] Permission denied: 'Abc.xlsx'

2022-02-10 Thread Dennis Lee Bieber
On Wed, 9 Feb 2022 18:50:12 +, MRAB declaimed the following: >On 2022-02-09 12:45, Christian Gollwitzer wrote: >> It's impossible. Excel locks the file deliberately when it is open, so >> that you can't overwrite it from a different program. Otherwise, the >> file could become inconsistent.

Re: PermissionError: [Errno 13] Permission denied: 'Abc.xlsx'

2022-02-09 Thread Dennis Lee Bieber
PermissionError: [Errno 13] Permission denied: 'Abc.xlsx' > >What to do to correct this error? I have already searched on google search >many times but no solution was found. Well -- at the basic level... Make sure that only ONE user/application has access to the file a

Re: PermissionError: [Errno 13] Permission denied: 'Abc.xlsx'

2022-02-09 Thread MRAB
: PermissionError: [Errno 13] Permission denied: 'Abc.xlsx' What to do to correct this error? I have already searched on google search many times but no solution was found. It's impossible. Excel locks the file deliberately when it is open, so that you can't overwrite it from

Re: PermissionError: [Errno 13] Permission denied: 'Abc.xlsx'

2022-02-09 Thread jkn
gt; > the excel is already open following error comes: > > PermissionError: [Errno 13] Permission denied: 'Abc.xlsx' > > > > > > > > What to do to correct this error? I have already searched on google search > > many times but no solution was found. &

Re: PermissionError: [Errno 13] Permission denied: 'Abc.xlsx'

2022-02-09 Thread Christian Gollwitzer
Am 09.02.22 um 08:46 schrieb NArshad: When I enter data using Tkinter form in an Excel file when the excel file is closed there is no error but when I enter data using Tkinter form when the excel is already open following error comes: PermissionError: [Errno 13] Permission denied: 'Abc

PermissionError: [Errno 13] Permission denied: 'Abc.xlsx'

2022-02-09 Thread NArshad
llowZip64=True) File "C:\Users\Dani Brothers\Anaconda3\lib\zipfile.py", line 1207, in __init__ self.fp = io.open(file, filemode) PermissionError: [Errno 13] Permission denied: 'Abc.xlsx' What to do to correct this error? I have already searched on google search many times but no solution was found. -- https://mail.python.org/mailman/listinfo/python-list

Re: sudo python PermissionError [Errno 13] Permission denied

2020-12-17 Thread Pascal
tee: /tmp/test: Permission denied test but it does not prevent its deletion ! $ sudo rm -v /tmp/test removed '/tmp/test'. which misled me : sorry for the waste of time. happy end of year 2020, lacsaP. Le jeu. 17 déc. 2020 à 13:09, <2qdxy4rzwzuui...@potatochowder.com> a écrit : &

Re: sudo python PermissionError [Errno 13] Permission denied

2020-12-17 Thread 2QdxY4RzWzUUiLuE
mp/test > > everything is ok. > now, the script fails if it is replayed as root user with the sudo command : > > $ sudo /tmp/append > [sudo] password for user: > Traceback (most recent call last): > File "/tmp/append", line 2, in > with open('/tmp/tes

sudo python PermissionError [Errno 13] Permission denied

2020-12-17 Thread Pascal
r: Traceback (most recent call last): File "/tmp/append", line 2, in with open('/tmp/test', 'a'): PermissionError: [Errno 13] Permission denied: '/tmp/test' the problem is the same if the opening mode is 'w' or if "sudo -i" or &qu

jupyter notebook permission denied

2020-04-02 Thread joseph pareti
. However, a permission denied issue prevents loading/updating the *ipynb files. Any idea why? Same happens if I do it as Administrator. -- Regards, Joseph Pareti - Artificial Intelligence consultant Joseph Pareti's AI Consulting Services https://www.joepareti54-ai.com/ cell +49 1520 1600 209 cel

Re: permission denied using python 3.8

2019-11-05 Thread Eryk Sun
On 11/5/19, robin deatherage wrote: > > MS Windows uses a UAC User Control. So it is best to not add a package > to an Admin user on Windows. The OP would have to install Python in a location that that's inaccessible to standard users and add this directory to the system PATH. It's dysfunctional

Re: permission denied using python 3.8

2019-11-05 Thread Eryk Sun
On 11/5/19, robin deatherage wrote: > > MS Windows uses a UAC User Control. So it is best to not add a package > to an Admin user on Windows. The OP would have to install Python in a location that that's inaccessible to standard users and add this directory to the system PATH. It's dysfunctional

Re: permission denied using python 3.8

2019-11-05 Thread Terry Reedy
On 11/5/2019 12:26 PM, robin deatherage wrote: Also there is no limit to how many different versions of Python you use on Windows---As long as you have a different UAC Control user logged in Windows for each one you add. I have 2.75, 3.5, 3.6, 3.7.0 and now 3.8 on my Windows now and all work

Re: permission denied using python 3.8

2019-11-05 Thread robin deatherage
On Tuesday, November 5, 2019 at 10:06:49 AM UTC+8, Francois van Lieshout wrote: > Hi, i installed python 3.8 the latest version but it doesn’t work, i get > “permission denied” when trying to acces python in the CLI and also i can’t > run my code from my python files in the command-li

Fwd: permission denied using python 3.8

2019-11-04 Thread Francois van Lieshout
Outlook voor Android downloaden<https://aka.ms/ghei36> Van: Francois van Lieshout Verstuurd: maandag 4 november 2019 18:19 Aan: python-list@python.org Onderwerp: permission denied using python 3.8 Hi, i installed python 3.8 the latest version but it d

Re: How to use Python's built-in Logging with Asyncio (Permission Error)

2018-10-08 Thread Ian Kelly
ang.python) > to ask questions about it. I already posted to stackoverflow but if anyone > could help out here or via stackoverflow I would greatly appreciate it. Here > is the link to my question: > > https://stackoverflow.com/questions/52708756/how-to-use-pythons-built-in-l

How to use Python's built-in Logging with Asyncio (Permission Error)

2018-10-08 Thread liamhanninen
overflow.com/questions/52708756/how-to-use-pythons-built-in-logging-with-asyncio-permission-error -- https://mail.python.org/mailman/listinfo/python-list

Re: permission denied when installing tensorflow on centos 7

2018-04-30 Thread dieter
5/lib/python3.5/shutil.py", line 115, in copyfile > with open(dst, 'wb') as fdst: > PermissionError: [Errno 13] Permission denied: > '/anaconda/envs/py35/lib/python3.5/site-packages/virtualenv.py' It looks as it would try to overwrite an existing (write protected)

permission denied when installing tensorflow on centos 7

2018-04-30 Thread joseph pareti
cfile, destfile) File "/anaconda/envs/py35/lib/python3.5/shutil.py", line 115, in copyfile with open(dst, 'wb') as fdst: PermissionError: [Errno 13] Permission denied: '/anaconda/envs/py35/lib/python3.5/site-packages/virtualenv.py' You are using pip version 9.0.

permission issue with zipfile

2017-09-04 Thread loial
I am getting a permission issue with the following code targetDirectory = '/data/upload' self.ZIPFileName = targetDirectory + os.sep + "MY.ZIP" zf = zipfile.ZipFile(self.ZIPFileName, mode='w') [Errno 13] Permissio

Unable to activate Python once installed, as far I am aware i have full permission. The download is in programs but does not show when i use run in windows start menu, any suggestions would be helpful

2016-01-31 Thread Haydn James
-- https://mail.python.org/mailman/listinfo/python-list

Re: Unable to activate Python once installed, as far I am aware i have full permission. The download is in programs but does not show when i use run in windows start menu, any suggestions would be hel

2016-01-31 Thread Terry Reedy
On 1/30/2016 10:32 AM, Haydn James wrote: Please repost with a short subject line, about 40 chars. Put your messages in the body of the post, with adequate detail. What version of Windows. What version of Python. Where did you get it. How did you install it. How did you try to run it. 'run in

Re: pip install mitmproxy - fails on watchdog-0.8.3.tar.gz with "Permission denied" error (Python 2.7.11 on Win XP SP3);

2016-01-26 Thread eryk sun
On Sun, Jan 24, 2016 at 7:27 PM, Terry Reedy wrote: > > More specifically, / is not accepted in paths to be executed. It seems to be > generally accepted in path arguments, as in cd path, or > > C:\Users\Terry>C:\programs\python35\python.exe C:/programs/python34/tem.py An exception that comes to

Re: pip install mitmproxy - fails on watchdog-0.8.3.tar.gz with "Permission denied" error (Python 2.7.11 on Win XP SP3);

2016-01-24 Thread Terry Reedy
On 1/24/2016 5:35 PM, Larry Hudson via Python-list wrote: If the path string is typed directly into Windows where it is parsed by (whatever is the current equivalent of) command.com, forward slashes are NOT accepted. More specifically, / is not accepted in paths to be executed. It seems to be

Re: pip install mitmproxy - fails on watchdog-0.8.3.tar.gz with "Permission denied" error (Python 2.7.11 on Win XP SP3);

2016-01-24 Thread Larry Hudson via Python-list
On 01/23/2016 11:43 AM, Steve Petrie, P.Eng. wrote: [snip] I'm not sure what your exact problem is, but I can say that it isn't this; the Unix-style forward slash is perfectly legal under Windows (and it's even legal to mix and match). ChrisA I never knew that the forward slash is legal under

Re: pip install mitmproxy - fails on watchdog-0.8.3.tar.gz with "Permission denied" error (Python 2.7.11 on Win XP SP3);

2016-01-24 Thread Steve Petrie, P.Eng.
- Original Message - From: "Chris Angelico" To: "Steve Petrie, P.Eng." Cc: Sent: Saturday, January 23, 2016 2:56 PM Subject: Re: pip install mitmproxy - fails on watchdog-0.8.3.tar.gz with "Permission denied" error (Python 2.7.11 on Win XP SP3); In

Re: pip install mitmproxy - fails on watchdog-0.8.3.tar.gz with "Permission denied" error (Python 2.7.11 on Win XP SP3);

2016-01-24 Thread Steve Petrie, P.Eng.
og-0.8.3.tar.gz with "Permission denied" error (Python 2.7.11 on Win XP SP3); On Fri, Jan 22, 2016 at 3:40 AM, Steve Petrie, P.Eng. wrote: In both failure cases, it looks to me like there is a bug in the pip logic, that is using a *nix forward slash "/" instead of a doub

Re: pip install mitmproxy - fails on watchdog-0.8.3.tar.gz with "Permission denied" error (Python 2.7.11 on Win XP SP3);

2016-01-24 Thread Chris Angelico
On Sun, Jan 24, 2016 at 8:12 PM, Steve Petrie, P.Eng. wrote: > I know what "upstream" means, in terms of: water flow in a river, or vehicle > flow on a highway, or data flow over a comms link. "upstream" is where a > moving particle was, earlier in time > > But my puzzlement is -- where is "upstre

Re: pip install mitmproxy - fails on watchdog-0.8.3.tar.gz with "Permission denied" error (Python 2.7.11 on Win XP SP3);

2016-01-23 Thread Chris Angelico
On Sun, Jan 24, 2016 at 6:43 AM, Steve Petrie, P.Eng. wrote: > In case other Windows XP "orphans" want to use mitmdump, here's what I > learned (via Google): > > I changed the bang line (wrapping the pathname in double quotes) in file > mitmdump-script.py: > > from: #!e:\a p p s\python27\python.

Re: pip install mitmproxy - fails on watchdog-0.8.3.tar.gz with "Permission denied" error (Python 2.7.11 on Win XP SP3);

2016-01-23 Thread Chris Angelico
On Fri, Jan 22, 2016 at 3:40 AM, Steve Petrie, P.Eng. wrote: > In both failure cases, it looks to me like there is a bug in the pip logic, > that is using a *nix forward slash "/" instead of a double backslash "\\" > before the file name "make.bat". I'm not sure what your exact problem is, but I

pip install mitmproxy - fails on watchdog-0.8.3.tar.gz with "Permission denied" error (Python 2.7.11 on Win XP SP3);

2016-01-23 Thread Steve Petrie, P.Eng.
tion, content_type, link) File "e:\a p p s\python27\lib\site-packages\pip\utils\__init__.py", line 645,in unpack_file flatten=not filename.endswith('.whl') File "e:\a p p s\python27\lib\site-packages\pip\utils\__init__.py", line 546,in unzip_file fp

Re: Permission denied error in download nltk_data...

2015-09-08 Thread Laura Creighton
In a message of Tue, 08 Sep 2015 18:56:15 +0800, Dwight GoldWinde writes: >import nltk >nltk.download('maxent_treebank_pos_tagger¹) > >Is now giving the error: > >[nltk_data] Error loading maxent_treebank_pos_tagger: [nltk_data] [Errno 57] Socket is not connected> > > >Any suggestions, please.

Re: Permission denied error in download nltk_data...

2015-09-08 Thread Dwight GoldWinde
import nltk nltk.download('maxent_treebank_pos_tagger¹) Is now giving the error: [nltk_data] Error loading maxent_treebank_pos_tagger: Any suggestions, please. BIG SMILE... Always, Dwight -- https://mail.python.org/mailman/listinfo/python-list

Re: Permission denied error in download nltk_data...

2015-09-04 Thread Joel Goldstick
15-August/695546.html > > Laura > -- > https://mail.python.org/mailman/listinfo/python-list Dwight, Please post in text only format. You seem to be using rich text format. Your email program can be configured not to do that. As to the error, what is the permission set for the file in

Re: Permission denied error in download nltk_data...

2015-09-04 Thread Laura Creighton
In a message of Fri, 04 Sep 2015 18:50:11 +0800, Dwight GoldWinde writes: >Please helpŠ(my apologizesŠI got a response to this before, but I CANNOT >find it now)Š https://mail.python.org/pipermail/python-list/2015-August/695546.html Laura -- https://mail.python.org/mailman/listinfo/python-list

Permission denied error in download nltk_data...

2015-09-04 Thread Dwight GoldWinde
s/Python.framework/Versions/3.4/lib/python3.4/site-packag es/nltk/downloader.py", line 604, in _download_package os.mkdir(download_dir) PermissionError: [Errno 13] Permission denied: '/Users/dwightgoldwindex/nltk_data' BIG SMILE... Always, Dwight www.3forliving.key.to (vi

Re: Python Package installation causing [Error 13] Permission Denied on Windows 7

2015-09-04 Thread moinakb
On Friday, September 4, 2015 at 3:07:19 PM UTC+5:30, moi...@gmail.com wrote: > I am running Python 3.4 on Windows 7 and is facing [Error 13] Permission > Denied while installing Python packages such as SciPy, NumPy etc; here are > the facts that I tried but failed: > 1.

Re: Python Package installation causing [Error 13] Permission Denied on Windows 7

2015-09-04 Thread Laura Creighton
Over in the physics lab we have a big sign, which (translated) says: 'For windows 7, it is not enough to _be_ an admininstrator to install packages. When opening up the command prompt you also have to select the 'run as administrator' option.' No windows system here to test, but maybe this is y

Python Package installation causing [Error 13] Permission Denied on Windows 7

2015-09-04 Thread moinakb
I am running Python 3.4 on Windows 7 and is facing [Error 13] Permission Denied while installing Python packages such as SciPy, NumPy etc; here are the facts that I tried but failed: 1. I have admin privileges in my machine 2. The folder where pip/easy_install copies contents have full

Re: Permission denied error in download nltk_data...

2015-08-19 Thread Steven D'Aprano
On Wed, 19 Aug 2015 04:57 pm, Dwight GoldWinde wrote: > Please helpŠ > > Using this code: > > import nltk > nltk.download('maxent_treebank_pos_tagger¹) > > > I get this error: [...] >os.mkdir(download_dir) > > PermissionError: [Errno 13] Perm

Permission denied error in download nltk_data...

2015-08-19 Thread Dwight GoldWinde
er.py", line 604, in _download_package os.mkdir(download_dir) PermissionError: [Errno 13] Permission denied: '/Users/dwightgoldwindex/nltk_data' BIG SMILE... Always, Dwight www.3forliving.key.to (video playlist on YouTube) www.couragebooks.key.to (all my books on Amazon) -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 3.5.0b2 - permission error after pip upgrade

2015-06-11 Thread Zachary Ware
On Thu, Jun 11, 2015 at 2:15 PM, Chris Angelico wrote: > On Fri, Jun 12, 2015 at 4:57 AM, Andreas Balogh wrote: >> I've installed a fresh copy of Python 3.5.0b2 and - as recommended - >> upgraded pip. I don't >> understand the reason for the permission err

Re: Python 3.5.0b2 - permission error after pip upgrade

2015-06-11 Thread Chris Angelico
On Fri, Jun 12, 2015 at 4:57 AM, Andreas Balogh wrote: > I've installed a fresh copy of Python 3.5.0b2 and - as recommended - upgraded > pip. I don't > understand the reason for the permission errors as I am owner and have full > control for > the temporary directory c

Python 3.5.0b2 - permission error after pip upgrade

2015-06-11 Thread Andreas Balogh
I've installed a fresh copy of Python 3.5.0b2 and - as recommended - upgraded pip. I don't understand the reason for the permission errors as I am owner and have full control for the temporary directory created. What can I do to fix this? C:\Apps\Python35>pip install --upgrad

Re: Permission to Showcase the Python Program

2015-06-10 Thread Terry Reedy
is not already. > I am writing to see if we may have permission to do so. If permission > is granted, we will have a copy of our license agreement sent over to > your company’s authorizer for review and a signature. I am not a lawyer, but am 99.990% (and I am not exaggerating) sure

Permission to Showcase the Python Program

2015-06-10 Thread Leslie Bush
Computer Science at the University of North Carolina Chapel Hill, entitled “Computer Science for Everyone: Programming Concepts and Exercises” The professor would like to use your Python program to showcase in the course. I am writing to see if we may have permission to do so. If permission is

Re: Permission denied when opening a file that was created concurrently by os.rename (Windows)

2015-04-05 Thread Terry Reedy
: f.read() break Besides anything else, I would consider adding a minimal sleep in the loop. * Then, run another process that creates a temporary file and then renames it to the name than other processes are expecting * Now, some of the reading processes occasionally fail with "Permis

Re: Permission denied when opening a file that was created concurrently by os.rename (Windows)

2015-04-05 Thread Dave Angel
: f.read() break * Then, run another process that creates a temporary file and then renames it to the name than other processes are expecting * Now, some of the reading processes occasionally fail with "Permission denied" OSError I was able to reproduce it on two Windows 7 64-bit ma

Re: Permission denied when opening a file that was created concurrently by os.rename (Windows)

2015-04-05 Thread Chris Angelico
On Mon, Apr 6, 2015 at 3:45 AM, Alexey Izbyshev wrote: > The test case is attached, the main file is test.bat. Python is expected to > be in PATH. Stderr of readers is redirected to *.log. You may need to run > several times to hit the issue. You have an interesting-looking problem, but the attac

Permission denied when opening a file that was created concurrently by os.rename (Windows)

2015-04-05 Thread Alexey Izbyshev
that creates a temporary file and then renames it to the name than other processes are expecting * Now, some of the reading processes occasionally fail with "Permission denied" OSError I was able to reproduce it on two Windows 7 64-bit machines. It seems when the file appears on t

Re: Windows permission error, 64 bit, psycopg2, python 3.4.2

2015-02-26 Thread Malik Rumi
rflow to work because installing Windows SDK 7.1 fails for me. > > > > So I stumbled across a precompiled psycopg2, and that reported that it > > worked, but then I got two permission errors. Then I read that this was a > > bug in python (issue 14252) that had been fixed, but I

Re: Windows permission error, 64 bit, psycopg2, python 3.4.2

2015-02-26 Thread Mark Lawrence
, and that reported that it worked, but then I got two permission errors. Then I read that this was a bug in python (issue 14252) that had been fixed, but I don't think this is the same error. That one specifically refers to subprocess.py and I don't have that in my traceback. I have v3.4

Windows permission error, 64 bit, psycopg2, python 3.4.2

2015-02-26 Thread Malik Rumi
then I got two permission errors. Then I read that this was a bug in python (issue 14252) that had been fixed, but I don't think this is the same error. That one specifically refers to subprocess.py and I don't have that in my traceback. I have v3.4.2. On top of everything else, despite

Re: Permission for contribution: http://bugs.python.org/issue19940

2013-12-10 Thread Terry Reedy
On 12/10/2013 6:35 AM, shankha wrote: I wish to make contribution to Python source code. I have studied the developers guide and made myself familiar with mercurial. I wish to start of with some doc bugs as this will give me insight into how the whole process(review, tests, patches) works. Is it

Re: Permission for contribution: http://bugs.python.org/issue19940

2013-12-10 Thread Tim Golden
On 10/12/2013 11:35, shankha wrote: > I wish to make contribution to Python source code. I have studied the > developers guide and made myself familiar with mercurial. I wish to > start of with some doc bugs as this will give me insight into > how the whole process(review, tests, patches) works. Is

Re: Permission for contribution: http://bugs.python.org/issue19940

2013-12-10 Thread Tim Golden
irly open organisation, so you don't need anyone's permission to start contributing: just add your comments or your patch to the issue you want to work on. The core-mentorship mailing list might be of use to you: it is specifically aimed at people wanting help with contributing to Python. It

Permission for contribution: http://bugs.python.org/issue19940

2013-12-10 Thread shankha
I wish to make contribution to Python source code. I have studied the developers guide and made myself familiar with mercurial. I wish to start of with some doc bugs as this will give me insight into how the whole process(review, tests, patches) works. Is it okay if to take: http://bugs.python.org

Grant permission for your Python bug tracker account (taewong.seo).

2013-10-12 Thread Tae Wong
(You're not subscribed!) You want to apply issue #19038. When you try to log in to Python bug tracker using your account (taewong.seo), a message says that “you don't have permission to login”. -- https://mail.python.org/mailman/listinfo/python-list

Easier to Ask Forgiveness than Permission (was: Newbie: static typing?)

2013-08-06 Thread Ben Finney
deal with the fact they've passed your function an object that doesn't support the necessary behaviour. This principle – of assuming the behaviour is supported, and having a robust infrastructure for dealing with errors – is known as Easier to Ask Forgiveness than Permission. In Python, we

Re: sockobj.connect Errno 13 Permission denied

2013-01-26 Thread Albert Hopkins
ram Client.py which has a statement of > >> sockobj.connect(), the port number 6 is used, so no problem from port > >> permission. > >> > >> I am puzzled because I can run Client.py from command line in my user > >> account or apache user account without

Re: sockobj.connect Errno 13 Permission denied

2013-01-26 Thread Joel Goldstick
On Sat, Jan 26, 2013 at 8:47 AM, Joel Goldstick wrote: > > > > On Sat, Jan 26, 2013 at 6:19 AM, nobody wrote: > >> Hi, >> >> I have a client program Client.py which has a statement of >> sockobj.connect(), the port number 60000 is used, so no problem from

Re: sockobj.connect Errno 13 Permission denied

2013-01-26 Thread Joel Goldstick
On Sat, Jan 26, 2013 at 6:19 AM, nobody wrote: > Hi, > > I have a client program Client.py which has a statement of > sockobj.connect(), the port number 6 is used, so no problem from port > permission. > > I am puzzled because I can run Client.py from command line in

sockobj.connect Errno 13 Permission denied

2013-01-26 Thread nobody
Hi, I have a client program Client.py which has a statement of sockobj.connect(), the port number 6 is used, so no problem from port permission. I am puzzled because I can run Client.py from command line in my user account or apache user account without any problems. But if I run it

Re: Python site-packages permission denied?

2012-03-08 Thread Steven D'Aprano
ersions of easy_install for the system Pythons. Perhaps so, but it seems to have the permissions messed up, or some other problem, because the OP can't write to it. His error is: copying build/lib/urllib2_file.py -> /Library/Python/2.7/site-packages error: /Library/Python/2.7/s

Re: Python site-packages permission denied?

2012-03-07 Thread Ned Deily
In article , Chris Rebert wrote: > You generally shouldn't mess with Mac OS X's system copies of Python. > Typically, one installs a separate copy using MacPorts, Fink, or > whatever, and uses that instead. I don't understand what you mean by "mess with". Certainly one should not attempt alte

Re: Python site-packages permission denied?

2012-03-07 Thread Chris Rebert
On Wed, Mar 7, 2012 at 1:02 PM, Shane Neeley wrote: > What do I need to do to successfully install a package onto python so that I > can use it as a module? > > I have tried in terminal in the correct directory "python2.7 ./setup.py > install" but it says permission d

Python site-packages permission denied?

2012-03-07 Thread Shane Neeley
What do I need to do to successfully install a package onto python so that I can use it as a module? I have tried in terminal in the correct directory "python2.7 ./setup.py install" but it says permission denied. Shanes-MacBook-Pro:seisen-urllib2_file-cf4c4c8 chimpsarehungry$ p

Re: windows 7 create directory with read write execute permission for everybody

2011-06-27 Thread Thorsten Kampe
* Gelonida (Mon, 27 Jun 2011 11:32:45 +0200) > One thing, which I would still like to know (though I don't need it > for my current task) is what to do to to setup an ACE on a directory, > such, that all entries below will inherit the directory's access > settings. Such a thing does not exist. Th

Re: windows 7 create directory with read write execute permission for everybody

2011-06-27 Thread Andrew Berg
On 2011.06.26 03:57 PM, Gelonida wrote: > The reason I am asking is, that I'd like to create a directory structure > where multiple users should be allowed to read / write / create files > and directories. This may not require pywin32 - by default there's a public directory at os.environ['public'

Re: windows 7 create directory with read write execute permission for everybody

2011-06-27 Thread Gelonida
directory, of course). :-) I thought so as well. I asume the security settings of the directory below which I created mine were setup to give no write permission to Everybody. If I changed the parent directories security settings with the explorer everything behaved fine. So if the parent

Re: windows 7 create directory with read write execute permission for everybody

2011-06-27 Thread Gelonida
Hi Tim, On 6/27/2011 9:39 AM, Tim Golden wrote: On 26/06/2011 21:57, Gelonida wrote: Hi, What do I have to do under python windows to create a directory with all permissions, such, that new files / directories created below will inherit the permissions. . . . I never used / modified Windows

Re: windows 7 create directory with read write execute permission for everybody

2011-06-27 Thread Tim Golden
On 26/06/2011 21:57, Gelonida wrote: Hi, What do I have to do under python windows to create a directory with all permissions, such, that new files / directories created below will inherit the permissions. The reason I am asking is, that I'd like to create a directory structure where multiple

Re: windows 7 create directory with read write execute permission for everybody

2011-06-26 Thread Thorsten Kampe
* Gelonida (Sun, 26 Jun 2011 23:53:15 +0200) > On this machine I used os.mkdir() / os.makedirs() and I had permission > problems , but only on Windows7. Windows file permissions haven't changed since 1995. The only addition was dynamic inheritance support back in 2000. > I ex

Re: windows 7 create directory with read write execute permission for everybody

2011-06-26 Thread Michel Claveau - MVP
Hi! +1 Gelonida confuses "Windows permissions" and "NTFS's rights". (too) Many Windows users are unfamiliar with Windows. @-salutations -- Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list

Re: windows 7 create directory with read write execute permission for everybody

2011-06-26 Thread Thorsten Kampe
ee. > > I never used / modified Windows file permissions except once or twice > via explorer. I'm thus a little shaky with Microsoft's file > permissions. Microsoft's permission handling hasn't changed in the last eleven years. So you had a lot of time to

Re: windows 7 create directory with read write execute permission for everybody

2011-06-26 Thread Irmen de Jong
On 26-6-2011 23:53, Gelonida wrote: > > Yep I'm afraid that's the way to go and where I hoped somebody would have a > few tiny > example lines or pointers to the functions in question to be used. Maybe this is a bit of a help: http://timgolden.me.uk/python/win32_how_do_i/add-security-to-a-file.h

Re: windows 7 create directory with read write execute permission for everybody

2011-06-26 Thread Gelonida
:\program files). I'd try os.mkdir first in any case and check if it does the job. Have to check when I'm back to the machine in question. On this machine I used os.mkdir() / os.makedirs() and I had permission problems , but only on Windows7. This is why I was asking the question.

Re: windows 7 create directory with read write execute permission for everybody

2011-06-26 Thread Irmen de Jong
On 26-6-2011 22:57, Gelonida wrote: > Hi, > > What do I have to do under python windows to create a directory with all > permissions, > such, that new files / directories created below will inherit the permissions. > > > The reason I am asking is, that I'd like to create a directory structure

windows 7 create directory with read write execute permission for everybody

2011-06-26 Thread Gelonida
Hi, What do I have to do under python windows to create a directory with all permissions, such, that new files / directories created below will inherit the permissions. The reason I am asking is, that I'd like to create a directory structure where multiple users should be allowed to read /

Re: Permission denied and lock issue with multiprocess logging

2011-06-13 Thread kracekumar ramaraju
In case the File System is NFTS you might get this error because of user mapping.There may be some other issues too. -- http://mail.python.org/mailman/listinfo/python-list

Re: Permission denied and lock issue with multiprocess logging

2011-06-12 Thread Vinay Sajip
On Jun 12, 8:49 am, david dani wrote: > When i am running the implementation of multiprocessloggingthrough > queue handler, i get this error. It is the same with sockethandler as > well as with pipe handler if multiprocesses are involved. I am not > getting any hint to solve this problem. Please h

Permission denied and lock issue with multiprocess logging

2011-06-12 Thread david dani
Python version:2.6.5 sem_trywait: Permission denied sem_post: Permission denied sem_destroy: Permission denied sem_wait: Permission denied Process Process-1: Traceback (most recent call last): File "/opt/freeware/lib/python2.6/multiprocessing/process.py", line 232, in _bootstrap self.run()

pip install, permission problem

2011-03-16 Thread Jabba Laci
Hi, I'm trying to install a pypi package with pip. The installation is done, but the permissions are not set correctly, thus I cannot import it as a normal user. Example: sudo pip install termcolor /usr/local/lib/python2.6/dist-packages/termcolor.py is created with permissions 600 I can post-corr

Re: open() throws permission error and I don't get why

2010-10-15 Thread Andy Theuninck
> I suspect that postfix is only setting the UID and the (primary) GID, > but not the supplementary GIDs. In which case, it doesn't matter whether > "nobody" is a member of the group. That does seem like a good explanation. I guess I'll have to re-think my approach a bit. sg sounds like it would g

Re: open() throws permission error and I don't get why

2010-10-15 Thread Nobody
grams pay attention to it. Typically, programs which perform a "login" use the UID and GID from /etc/password to set the UID and GID (via setuid() and setgid()), and the information from /etc/group to set the supplementary GIDs (via initgroups() or setgroups()). The permission checks perf

open() throws permission error and I don't get why

2010-10-15 Thread Andy Theuninck
I'm trying to write a script to read e-mail over stdin, extract attachments, and distribute them around the file system based on the incoming e-mail address. Everything works until I actually try writing interesting file system locations. I've established, through logging, that postfix runs my sc

SOLVED: Gentoo, Cygwin: Import Error time, cStringIO, Permission denied

2010-08-23 Thread Elmar Hinz
I seem to talk to myself. So for the archives: This is no python thingy. It is a windows/cygwin one. The second error message brings good search results in the web. Search for: "cygwin, dll to same address as parent, rebaseall" Al -- http://mail.python.org/mailman/listinfo/python-list

Re: Gentoo, Cygwin: Import Error time, cStringIO, Permission denied

2010-08-23 Thread Elmar Hinz
> Problem > == > > After compiling pyhton I run into errors when I start to use it in > form of emerge. It says something like this in the logger module: > > Import Error sys, os, types, time, string, cStringIO, traceback. > Permission denied. > > I researched

Gentoo, Cygwin: Import Error time, cStringIO, Permission denied

2010-08-23 Thread Elmar Hinz
traceback. Permission denied. I researched the web. One discssion told to try it on the pyhton shell. I did the same. Only "time" and "cStringIO" are not imported. Looking into the compiled sources i find cStringIO.dll and time.dll. Both have the permissions 755. Hence permission to ru

Including a remote file -- permission denied?

2010-05-14 Thread Aaron Scott
d, but when I try to access it through a browser (computer.local/cgi-bin/test.py), I get a permissions error (: [Errno 13] Permission denied: '/Volumes/code/ directory'). Is there any way to give the script permission to access the network when accessed via CGI? -- http://mail.python.org/mailman/listinfo/python-list

Re: Permission Problem

2010-03-01 Thread Victor Subervi
; f.close() > > Simple enough. Here's the permissions: > > drwxrwxrwx 31 root root 4096 Feb 23 04:57 .. > -rwxrwxrwx 1 root root390 Mar 1 05:52 preload.py > > All loaded up deliberately to try and get it to work. Here's the error: > > /var/www/html/glob

Permission Problem

2010-03-01 Thread Victor Subervi
/html/globalsolutionsgroup.vi/preload.py 21 except OSError: 22 pass 23 f = open(f, 'w') 24 f.writelines(lines) 25 f.close() f = 'width.py', builtin open = IOError: [Errno 13] Permission denied: 'width.py' args = (13, 'Permission denied

Re: Socket Error: Permission Denied

2010-02-09 Thread Stephen Hansen
On Mon, Feb 8, 2010 at 7:38 PM, W. eWatson wrote: > I'm using McAffee. I see it was pythonw.exe blocked in red. There are > several choices: Allow Access, Allow Outboubnd only > Block (current), Remove Prgrm permission, Learn More. > > Outbound only seem reasonable, but w

  1   2   3   >