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: 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

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

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

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

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

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 at any give

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 a different program

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

2022-02-09 Thread jkn
> > 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. > It's i

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.xlsx

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

2022-02-09 Thread NArshad
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

[issue36313] error: [Errno 13] Permission denied: '/usr/local/lib/python3.7/lib2to3/Grammar3.7.2.final.0.pickle'

2021-10-20 Thread Gregory P. Smith
Change by Gregory P. Smith : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Source installation sets incorrect permissions for Grammar3.2.3.final.0.pickle ___ Python tracker

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 : > On 202

Re: sudo python PermissionError [Errno 13] Permission denied

2020-12-17 Thread 2QdxY4RzWzUUiLuE
hing 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/test', 'a'): > PermissionErr

sudo python PermissionError [Errno 13] Permission denied

2020-12-17 Thread Pascal
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 "su -" are used. why can't root user under python manipulate t

[issue41005] Permission denied: 'xdg-settings' when executing 'jupyter notebook' from command line

2020-06-24 Thread Ronald Oussoren
Ronald Oussoren added the comment: New changeset d518ed0baaa31ca25cd88ac8996c7a7d563b2a1f by Miss Islington (bot) in branch '3.9': bpo-41005: Fixed perrmission error (GH-20936) (GH-21051) https://github.com/python/cpython/commit/d518ed0baaa31ca25cd88ac8996c7a7d563b2a1f --

[issue41005] Permission denied: 'xdg-settings' when executing 'jupyter notebook' from command line

2020-06-24 Thread Ronald Oussoren
Ronald Oussoren added the comment: New changeset adf8708c44945bfa68db8b02c6a1f560f05a5151 by Miss Islington (bot) in branch '3.8': bpo-41005: Fixed perrmission error (GH-20936) (GH-21052) https://github.com/python/cpython/commit/adf8708c44945bfa68db8b02c6a1f560f05a5151 --

[issue41005] Permission denied: 'xdg-settings' when executing 'jupyter notebook' from command line

2020-06-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +20223 pull_request: https://github.com/python/cpython/pull/21052 ___ Python tracker ___

[issue41005] Permission denied: 'xdg-settings' when executing 'jupyter notebook' from command line

2020-06-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: New changeset 9e27bc0c1efc7478872f98729f87886e9333548f by Krishna Chivukula in branch 'master': bpo-41005: Fixed perrmission error (GH-20936) https://github.com/python/cpython/commit/9e27bc0c1efc7478872f98729f87886e9333548f --

[issue41005] Permission denied: 'xdg-settings' when executing 'jupyter notebook' from command line

2020-06-22 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +20222 pull_request: https://github.com/python/cpython/pull/21051 ___ Python tracker

[issue41005] Permission denied: 'xdg-settings' when executing 'jupyter notebook' from command line

2020-06-21 Thread SBC King
SBC King added the comment: yeah I've updated the pr please review -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41005] Permission denied: 'xdg-settings' when executing 'jupyter notebook' from command line

2020-06-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've commented on the attached PR. IMHO a correct fix is to catch and ignore PermissionError when calling xdg-settings (on all platforms). An xdg-settings executable that cannot be started due to permission problems is similar to that executable not being

[issue41005] Permission denied: 'xdg-settings' when executing 'jupyter notebook' from command line

2020-06-21 Thread SilentGhost
Change by SilentGhost : -- nosy: +ned.deily, ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41005] Permission denied: 'xdg-settings' when executing 'jupyter notebook' from command line

2020-06-21 Thread SBC King
SBC King added the comment: yeah there is a bug as web browsers won't open when you launch them from python code please have a look at this issue posted on jupyternotebook github : https://github.com/jupyter/notebook/issues/3746 It was posted on the wrong place as it was not an issue with

[issue41005] Permission denied: 'xdg-settings' when executing 'jupyter notebook' from command line

2020-06-20 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Can you give more information about your issue here. This part of the code was written like this on purpose as the comment says: # OS X can use below Unix support (but we prefer using the OS X # specific stuff) We have to be sure that there

[issue41005] Permission denied: 'xdg-settings' when executing 'jupyter notebook' from command line

2020-06-17 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 1.0 -> 2.0 pull_requests: +20115 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20936 ___ Python tracker

[issue41005] Permission denied: 'xdg-settings' when executing 'jupyter notebook' from command line

2020-06-17 Thread SBC King
SBC King added the comment: error was caused by the permission problem with 'xdg-settings'. I checked that Google Chrome is my default browser. I tried the following command by changing the c.NotebookApp.allow_root to True in the jupyter_notebook_config.py file, and it can successfully open

[issue41005] Permission denied: 'xdg-settings' when executing 'jupyter notebook' from command line

2020-06-17 Thread SBC King
open jupyter notebook in the browser Safari: sudo jupyter notebook -- messages: 371739 nosy: SBC King priority: normal severity: normal status: open title: Permission denied: 'xdg-settings' when executing 'jupyter notebook' from command line type: behavior versions: Python 3.7

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 cell +39

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

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

[issue36313] error: [Errno 13] Permission denied: '/usr/local/lib/python3.7/lib2to3/Grammar3.7.2.final.0.pickle'

2019-03-16 Thread Bun Hin
Bun Hin added the comment: is there any better way to configure other than as root? because this python3.7 may be used by other user too in a more strict environment, compile it other than root (sudo) may not be allowed also. using a user may have permission issue as well right? i am

[issue36313] error: [Errno 13] Permission denied: '/usr/local/lib/python3.7/lib2to3/Grammar3.7.2.final.0.pickle'

2019-03-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: configure and make run as root might cause this. See also issue15317 that is a similar report for source install. -- nosy: +xtreak ___ Python tracker

[issue36313] error: [Errno 13] Permission denied: '/usr/local/lib/python3.7/lib2to3/Grammar3.7.2.final.0.pickle'

2019-03-16 Thread Bun Hin
p-egg-info/pyusb.egg-info/SOURCES.txt' error: [Errno 13] Permission denied: '/usr/local/lib/python3.7/lib2to3/Grammar3.7.2.final.0.pickle' please help how to solve this -- components: 2to3 (2.x to 3.x conversion tool) messages: 338069 nosy: bunhin priority: normal severity: normal st

[issue35633] test_eintr: test_lockf() fails with "PermissionError: [Errno 13] Permission denied" on AIX

2019-01-05 Thread Michael Felt
t; -- > title: test_eintr fails on AIX since fcntl functions were modified -> > test_eintr: test_lockf() fails with "PermissionError: [Errno 13] Permission > denied" on AIX > > ___ > P

[issue35633] test_eintr: test_lockf() fails with "PermissionError: [Errno 13] Permission denied" on AIX

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: Previous discussion at: https://bugs.python.org/issue35189#msg332580 -- ___ Python tracker ___

[issue35633] test_eintr: test_lockf() fails with "PermissionError: [Errno 13] Permission denied" on AIX

2019-01-04 Thread STINNER Victor
Change by STINNER Victor : -- title: test_eintr fails on AIX since fcntl functions were modified -> test_eintr: test_lockf() fails with "PermissionError: [Errno 13] Permission denied" on AIX ___ Python tracker <https://bugs.pytho

Re: permission denied when installing tensorflow on centos 7

2018-05-01 Thread dieter
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' It looks as it would try to overwrite an existing (write p

permission denied when installing tensorflow on centos 7

2018-04-30 Thread joseph pareti
e(srcfile, 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.1, however version 1

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

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

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

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.
day, January 23, 2016 10:14 AM 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); On Fri, Jan 22, 2016 at 3:40 AM, Steve Petrie, P.Eng. <apet...@aspetrie.net> wrote: In both failure cases, it looks to m

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" <ros...@gmail.com> To: "Steve Petrie, P.Eng." <apet...@aspetrie.net> Cc: <python-list@python.org> Sent: Saturday, January 23, 2016 2:56 PM Subject: Re: pip install mitmproxy - fails on watchdog-0.8.3.

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-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

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.
t_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 = open(fn, 'wb') IOErr

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

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-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.

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: 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

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
ork/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 (video playlist on YouTub

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: Permission denied error in download nltk_data...

2015-09-04 Thread Joel Goldstick
On Fri, Sep 4, 2015 at 8:11 AM, Laura Creighton wrote: > 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)Š > >

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] Permission denied: '/Users/dwightgoldwindex/nltk_data

Permission denied error in download nltk_data...

2015-08-19 Thread Dwight GoldWinde
(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: Permission denied when opening a file that was created concurrently by os.rename (Windows)

2015-04-05 Thread Dave Angel
() 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 machines. It seems when

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

2015-04-05 Thread Alexey Izbyshev
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 the filesystem it is still

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 izbys...@ispras.ru 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

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

2015-04-05 Thread Terry Reedy
() 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 Permission denied OSError

[issue1425127] os.remove OSError: [Errno 13] Permission denied

2014-12-08 Thread Josh Rosenberg
Josh Rosenberg added the comment: I think you're overinterpreting. The bug probably still exists on Windows if you're using a poorly designed anti-virus or indexing tool; nothing fundamental has changed in how files are deleted on Windows since this was opened. --

[issue1425127] os.remove OSError: [Errno 13] Permission denied

2014-12-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I sometimes have problems deleting files in Windows Explorer. Sometimes I have to wait for reboot, sometimes I have to login as admin. None of this is a bug in Python. The original post, nearly 9 years ago, was not obviously a Python bug report but appears

[issue1425127] os.remove OSError: [Errno 13] Permission denied

2014-12-07 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- resolution: - out of date stage: test needed - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1425127 ___

[issue1425127] os.remove OSError: [Errno 13] Permission denied

2014-08-30 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- nosy: -brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1425127 ___ ___ Python-bugs-list

[issue1425127] os.remove OSError: [Errno 13] Permission denied

2014-08-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Unless someone claims and can show that there is a bug in current cpython on current Windows (not xp), I think this should be closed. Josh, I interpret your post(s) as suggesting that there is not, or am I over-interpreting. -- nosy: +terry.reedy

[issue1425127] os.remove OSError: [Errno 13] Permission denied

2014-07-03 Thread Josh Rosenberg
Josh Rosenberg added the comment: Similar reference regarding the same basic behavior: http://blogs.msdn.com/b/oldnewthing/archive/2012/09/07/10347136.aspx Short version: Indexing and anti-virus tools prevent deletion from occurring. Longer version: DeleteFile (and all the stuff that

[issue1425127] os.remove OSError: [Errno 13] Permission denied

2014-07-03 Thread Josh Rosenberg
Josh Rosenberg added the comment: Please pretend I didn't leave off the actual os.remove call at the end of my second example that bypasses the issue. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1425127

[issue1425127] os.remove OSError: [Errno 13] Permission denied

2014-07-02 Thread Joram Agten
Joram Agten added the comment: I think this c win32 issue describes a similar problem http://stackoverflow.com/questions/3764072/c-win32-how-to-wait-for-a-pending-delete-to-complete -- ___ Python tracker rep...@bugs.python.org

[issue1425127] os.remove OSError: [Errno 13] Permission denied

2014-02-03 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: -BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1425127 ___ ___

[issue19752] os.openpty() failure on Solaris 10: PermissionError: [Errno 13] Permission denied

2013-11-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 63c1fbc4de4b by Victor Stinner in branch 'default': Issue #19752: Fix HAVE_DEV_PTMX implementation of os.openpty() http://hg.python.org/cpython/rev/63c1fbc4de4b -- nosy: +python-dev ___ Python tracker

[issue19752] os.openpty() failure on Solaris 10: PermissionError: [Errno 13] Permission denied

2013-11-25 Thread STINNER Victor
STINNER Victor added the comment: Thanks to the Snakebite, I was able to connect to Solaris 10 to reproduce and fix the issue. Thank you Trent! -- nosy: +trent resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org

[issue19752] os.openpty() failure on Solaris 10: PermissionError: [Errno 13] Permission denied

2013-11-24 Thread STINNER Victor
/cpython/buildslave/cc-32/3.x.snakebite-sol10-sparc-cc-32/build/Lib/test/test_os.py, line 2455, in test_openpty master_fd, slave_fd = os.openpty() PermissionError: [Errno 13] Permission denied -- title: test_os failure on Solaris 10 - os.openpty() failure on Solaris 10: PermissionError

[issue17967] urllib2.open failed to access a url when a perent directory of the url is permission denied

2013-06-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset e9d0fb934b46 by Senthil Kumaran in branch '2.7': Fix #17967 - Fix related to regression on Windows. http://hg.python.org/cpython/rev/e9d0fb934b46 New changeset f5906026a7e9 by Senthil Kumaran in branch '3.3': Fix #17967 - Fix related to regression

[issue17967] urllib2.open failed to access a url when a perent directory of the url is permission denied

2013-06-02 Thread Senthil Kumaran
Changes by Senthil Kumaran sent...@uthcode.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17967 ___ ___

[issue17967] urllib2.open failed to access a url when a perent directory of the url is permission denied

2013-06-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0a544bb539e6 by Senthil Kumaran in branch '2.7': Fix #17967: For ftp urls CWD to target instead of hopping to each directory http://hg.python.org/cpython/rev/0a544bb539e6 New changeset dbfbdf2b5c19 by Senthil Kumaran in branch '3.3': Fix #17967:

[issue17967] urllib2.open failed to access a url when a perent directory of the url is permission denied

2013-06-01 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks Zhaoqifa for steps to configure the ftp with acl. I could reproduce it manually and fix it by changes to the urllib.request code. Unfortunately, we dont have rigorous tests for ftp handling in urllib module. That's noted in test_urllib2net module too.

[issue17967] urllib2.open failed to access a url when a perent directory of the url is permission denied

2013-06-01 Thread Senthil Kumaran
Senthil Kumaran added the comment: Reopening: This change is seeing problems with Windows Buildbot http://buildbot.python.org/all/builders/x86%20XP-4%203.x/builds/8643/steps/test/logs/stdio -- status: closed - open ___ Python tracker

[issue17967] urllib2.open failed to access a url when a perent directory of the url is permission denied

2013-05-30 Thread zhaoqifa
zhaoqifa added the comment: Sorry for replying so late. 1) Will the above change have any security implications. ---It does not seem to me either. 2) On Ubuntu, I am unable to setup a directory based (ACL'ed) anonymous ftp server. The option is either anonymous from ftp root (/) which will map

[issue17967] urllib2.open failed to access a url when a perent directory of the url is permission denied

2013-05-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hello zhaoqifa, Your suggestion for the solution looks good to me. Instead of cd-ing to each dir, you cd to target dir when ftp url is accessed. Two things to consider. 1) Will the above change have any security implications. It does not seem to me. But I

[issue18008] python33-3.3.2 Parser/pgen: Permission denied

2013-05-20 Thread William Moreno
William Moreno added the comment: Thank's a lot by answered me, I am now at FreeBSD team in order to fix this issue. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18008 ___

[issue18008] python33-3.3.2 Parser/pgen: Permission denied

2013-05-20 Thread William Moreno
William Moreno added the comment: [SOLVED on FreeBSD 9.1] if anyone need to see http://www.freshports.org/lang/python33/ thank's again to alls specyally to Marcus von Appen (marcusva) -- ___ Python tracker rep...@bugs.python.org

[issue18008] python33-3.3.2 Parser/pgen: Permission denied

2013-05-18 Thread William Moreno
: Permission denied *** [Include/graminit.h] Error code 126 cc -c -DNDEBUG -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing-I. -IInclude -I./../Include -DPy_BUILD_CORE -o Objects/typeobject.o ./../Objects/typeobject.c /usr/lib/crt1.o

[issue18008] python33-3.3.2 Parser/pgen: Permission denied

2013-05-18 Thread Ned Deily
Include/graminit.h ($(GRAMMAR_H): around Makefile.pre.in:669) gets a permission denied error trying to execute the pgen executable (Parser/pgen) created in the previously executed rule ($(PGEN): Makefile.pre.in:677). Most likely the executable lacks executable permission. Check the permissions

[issue18008] python33-3.3.2 Parser/pgen: Permission denied

2013-05-18 Thread Marcus von Appen
Marcus von Appen added the comment: This is a FreeBSD-specific problem with the Python 3.3 port. Using pmake (BSD's make implementation) leads to random errors on either generating pgen or executing pgen. This seems to happen since Python 3.3.1 randomly and is quite hard to reproduce.

[issue18008] python33-3.3.2 Parser/pgen: Permission denied

2013-05-18 Thread Ned Deily
Ned Deily added the comment: I don't know of an intention to break use of other makes but I don't know of any specific effort to test with various makes. As you may have noticed, there were some significant changes to the Makefile rules for pgen-related targets by changeset 52597f888e7a

[issue18008] python33-3.3.2 Parser/pgen: Permission denied

2013-05-18 Thread Georg Brandl
Georg Brandl added the comment: Indeed, the new hg touch facility should have been integrated in the release script. I've done that now, in the future all necessary files should have the correct timestamps in the release tarballs. -- resolution: works for me - fixed status: open -

[issue17967] urllib2.open failed to access a url when a perent directory of the url is permission denied

2013-05-17 Thread zhaoqifa
zhaoqifa added the comment: I had run test by python ./urllib.py -t, test steps for accessing /etc/passwd, file:/etc/passwd, file://localhost/etc/passwd passed, steps for ftp://ftp.gnu.org/pub/README not tested because my work env is not free for internet accessing. And, I have not tried

[issue17967] urllib2.open failed to access a url when a perent directory of the url is permission denied

2013-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Did you run the urllib test module after your code change? Have you tried 3.3? -- nosy: +orsenthil, terry.reedy stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17967

[issue17967] urllib2.open failed to access a url when a perent directory of the url is permission denied

2013-05-12 Thread zhaoqifa
New submission from zhaoqifa: urllib2.open failed to access a url when a perent directory of the url is permission denied. I had a file in a ftp, the address is like ftp://host/home/work/123.txt which can be access by wget. When I urllib2.open to access the file, it always tell me

[issue17967] urllib2.open failed to access a url when a perent directory of the url is permission denied

2013-05-12 Thread zhaoqifa
Changes by zhaoqifa qifa.z...@gmail.com: -- components: +Library (Lib) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17967 ___ ___

sockobj.connect Errno 13 Permission denied

2013-01-26 Thread nobody
it from a web page http://localhost/client.php, the client.php called exec(Client.py), then it got an exception of sockobj.connect Errno 13 Permission denied. Why it can run from command line, but cannot make connection from a web file? Appreciate any tips and clues. Thank you. Kind regards

Re: sockobj.connect Errno 13 Permission denied

2013-01-26 Thread Joel Goldstick
account or apache user account without any problems. But if I run it from a web page http://localhost/client.php, the client.php called exec(Client.py), Check the arguments to exec. I think it has to be an open file object. then it got an exception of sockobj.connect Errno 13 Permission

Re: sockobj.connect Errno 13 Permission denied

2013-01-26 Thread Joel Goldstick
to be an open file object. then it got an exception of sockobj.connect Errno 13 Permission denied. Why it can run from command line, but cannot make connection from a web file? Appreciate any tips and clues. Thank you. Kind regards. Maybe I spoke too soon. You should probably be asking in a php

  1   2   3   >