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

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
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)Š > > https://mail.python.org/pipermail/python-list/2015-August/695546.html >

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: 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: sockobj.connect Errno 13 Permission denied

2013-01-26 Thread Albert Hopkins
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. > > > >

Re: sockobj.connect Errno 13 Permission denied

2013-01-26 Thread Joel Goldstick
t;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 denied. >> >> Why it can run from command line, but cannot make connection from a web >

Re: sockobj.connect Errno 13 Permission denied

2013-01-26 Thread Joel Goldstick
my user > 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

sockobj.connect Errno 13 Permission denied

2013-01-26 Thread nobody
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. Ki

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

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: 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 why does the blocking keep

Re: Socket Error: Permission Denied

2010-02-09 Thread W. eWatson
I decided to go with outbound. Now when I run the program, I get a long of messabge about deprecations and NumpyTest will be removed in the next release. please update code to nose or unittest. -- http://mail.python.org/mailman/listinfo/python-list

Re: Socket Error: Permission Denied (Firewall)

2010-02-09 Thread W. eWatson
(corrected typos) I decided to go with outbound in McAfee. Now when I run the program, I get a long list of messages about deprecations and NumpyTest will be removed in the next release. please update code to nose or unittest. -- http://mail.python.org/mailman/listinfo/python-list

Re: Socket Error: Permission Denied

2010-02-08 Thread W. eWatson
On 2/8/2010 7:24 PM, W. eWatson wrote: I'm using IDLE with winxp. It seems every day I get into the Subject above. Usually, after 5-8 minutes I get past it. A msg appearing at the same time say, "IDLE's subprocess didn't make connect. ... possible firewall problem." A resource for this is

Socket Error: Permission Denied

2010-02-08 Thread W. eWatson
I'm using IDLE with winxp. It seems every day I get into the Subject above. Usually, after 5-8 minutes I get past it. A msg appearing at the same time say, "IDLE's subprocess didn't make connect. ... possible firewall problem." A resource for this is . There a

Re: Python multiprocessing: Permission denied

2010-01-08 Thread t0ster
On Jan 6, 1:20 am, Steven D'Aprano wrote: > On Tue, 05 Jan 2010 13:52:18 -0800,t0sterwrote: > > It looks like the user don't have permission to access shared memory. > > When executing with root privileges it works fine. > > > Is there any solution to run it as normal user(not root)? > > Then give

Re: Python multiprocessing: Permission denied

2010-01-05 Thread Steven D'Aprano
On Tue, 05 Jan 2010 13:52:18 -0800, t0ster wrote: > It looks like the user don't have permission to access shared memory. > When executing with root privileges it works fine. > > Is there any solution to run it as normal user(not root)? Then give the user permission to access shared memory. Why

Python multiprocessing: Permission denied

2010-01-05 Thread t0ster
t;, line 142, in __init__ SemLock.__init__(self, RECURSIVE_MUTEX, 1, 1) File "/usr/local/lib/python2.6/multiprocessing/synchronize.py", line 49, in __init__ sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue) OSError: [Errno 13] Permission denied It looks like the u

Re: mod_python: Permission denied

2009-08-30 Thread David
Thanks Graham. Let me contact Admin. -- http://mail.python.org/mailman/listinfo/python-list

Re: mod_python: Permission denied

2009-08-25 Thread David
On Aug 25, 4:00 pm, David wrote: > Thanks Graham. Let me contact Admin. Hi Graham: you are right. it's fixed now. Thanks again. -- http://mail.python.org/mailman/listinfo/python-list

Re: mod_python: Permission denied

2009-08-25 Thread David
disclaimer: i did not write this code. i copied it and inserted into my cgi code. it is from http://webpython.codepoint.net/mod_python_publisher_big_file_upload. -- http://mail.python.org/mailman/listinfo/python-list

Re: mod_python: Permission denied

2009-08-25 Thread David
A little more info: "Defrosting.rtf" is a file that I wanted to upload. This file was supposed to upload to folder '/var/www/keyword- query/files/'. My code runs in root. -- http://mail.python.org/mailman/listinfo/python-list

Re: mod_python: Permission denied

2009-08-25 Thread Graham Dumpleton
k) >       f.close() >       message = 'The file "%s" was uploaded successfully' % fname > > I got: > >  File "/var/www/keyword-query/upload.py", line 30, in upload >     f = open(os.path.join(dir_path, fname), 'wb', 1) > > IOError

mod_python: Permission denied

2009-08-25 Thread David
rd-query/upload.py", line 30, in upload f = open(os.path.join(dir_path, fname), 'wb', 1) IOError: [Errno 13] Permission denied: '/var/www/keyword-query/files/ Defrosting.rtf' "Defrosting.rtf" is a file on the desktop of my Windows XP computer. Anybody knows what the problem is? Thanks for your replies. -- http://mail.python.org/mailman/listinfo/python-list

Re: mod_python form upload: permission denied sometimes...

2009-04-26 Thread Lawrence D'Oliveiro
In message <0fc15bee-003a-45ca- b6b6-21ed0645b...@q2g2000vbr.googlegroups.com>, psaff...@googlemail.com wrote: > I have a mod_python application that takes a POST file upload from a > form. It works fine from my machine, other machines in my office and > my home machine. It does not work from my

mod_python form upload: permission denied sometimes...

2009-04-24 Thread psaff...@googlemail.com
I have a mod_python application that takes a POST file upload from a form. It works fine from my machine, other machines in my office and my home machine. It does not work from my bosses machine in a different city - he gets "You don't have permission to access this on this server". In the logs, i

Re: Mod_python permission denied

2008-11-07 Thread Simo D
y", > line 881, in save > self._doc.SaveToFile(self._filename, self) > > File "/usr/lib64/python2.4/site-packages/reportlab/pdfbase/pdfdoc.py", > line 218, in SaveToFile > f = open(filename, "wb") > > IOError: [Errno 13] Permi

Mod_python permission denied

2008-11-07 Thread Simo D
.py", line 881, in save self._doc.SaveToFile(self._filename, self) File "/usr/lib64/python2.4/site-packages/reportlab/pdfbase/pdfdoc.py", line 218, in SaveToFile f = open(filename, "wb") IOError: [Errno 13] Permission denied: 'wms.pdf' The dir has the rea

Re: I/O error 13 Permission denied -Cannot access file as it is used by another process.

2008-08-28 Thread Tim Golden
is being used by another program.(prog2 in this case) i/o error 13 permission denied The main stumbling block here is that you're not posting code you're running, but fragments of code which may or may not exist in your source. What is tn? What have x and y to do with anything?

I/O error 13 Permission denied -Cannot access file as it is used by another process.

2008-08-28 Thread aditya shukla
en(find_file,"rb") # find_file is the object returned after searching the file error mesage: the process cannot access the file as another process because it is being used by another program.(prog2 in this case) i/o error 13 permission denied Please help me on how can i fix this ?

Problem--IOError: [Errno 13] Permission denied

2007-10-28 Thread patrick . waldo
in open file = __builtin__.open(filename, mode, buffering) IOError: [Errno 13] Permission denied: 'C:\\text_samples\\test\ \output' The error doesn't stop the program from functioning as it should, except the last line of every document gets split with | in between the words, wh

Re: permission denied in shutil.copyfile

2007-07-13 Thread Steve Holden
'c:\mydata\data\*.mdb' >> dst = 'v:\data\all\*.mdb' >> >> shutil.copyfile(src,dst) >> >> but getting error message permission denied. > > 1) try with a local copy too, and you'll notice an error too - it's > unrelated to other us

Re: permission denied in shutil.copyfile

2007-07-13 Thread Gabriel Genellina
.mdb' > > shutil.copyfile(src,dst) > > but getting error message permission denied. 1) try with a local copy too, and you'll notice an error too - it's unrelated to other users holding the file open. 2) use either r'c:\mydata\data' or 'c:\\mydata\\data\

permission denied in shutil.copyfile

2007-07-13 Thread Ahmed, Shakir
Is there any way to copy a file from src to dst if the dst is exclusively open by other users. I am using src = 'c:\mydata\data\*.mdb' dst = 'v:\data\all\*.mdb' shutil.copyfile(src,dst) but getting error message permission denied. Any help is highly appreciated.

Re: Win98 - exceptions.IOError: (13, 'Permission denied')

2007-02-12 Thread Robert Dollinger
in98 machine and write the content in a file on the WinXP machine. > After tree times I get the error message exceptions.IOError: (13, > 'Permission denied'). > > The following things I have already tested: > > - The file on Win98 machine could be deleted, so the fi

Re: os.tmpfile() -> permission denied (Win XP)

2007-02-10 Thread John Machin
t;>> os.tmpfile() > > > Traceback (most recent call last): > > > File "", line 1, in > > > OSError: [Errno 13] Permission denied > > > > 1. Before I start checking what permissions who has to do what to > > > which, what director

Re: os.tmpfile() -> permission denied (Win XP)

2007-02-10 Thread John Machin
On Feb 11, 4:15 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Sun, 11 Feb 2007 01:57:52 -0300, John Machin <[EMAIL PROTECTED]> > escribió: > > > | >>> os.tmpfile() > > Traceback (most recent call last): > > File "", l

Re: os.tmpfile() -> permission denied (Win XP)

2007-02-10 Thread Gabriel Genellina
En Sun, 11 Feb 2007 01:57:52 -0300, John Machin <[EMAIL PROTECTED]> escribió: > | >>> os.tmpfile() > Traceback (most recent call last): > File "", line 1, in > OSError: [Errno 13] Permission denied > > 1. Before I start checking what permissions wh

os.tmpfile() -> permission denied (Win XP)

2007-02-10 Thread John Machin
k (most recent call last): File "", line 1, in OSError: [Errno 13] Permission denied but tempfile.mkstemp() works: >>> import tempfile >>> tempfile.mkstemp() (3, 'c:\\docume~1\\sjm\\locals~1\\temp\\tmpnfuk9i') This is Windows XP Pro SP2. The user with the pr

Win98 - exceptions.IOError: (13, 'Permission denied')

2007-02-08 Thread Robert Dollinger
Hi to everyone, I have a Service, that runs on a WinXP machine. The service read a file on a Win98 machine and write the content in a file on the WinXP machine. After tree times I get the error message exceptions.IOError: (13, 'Permission denied'). The following things I have alre

Re: shutil: permission denied errors on windows

2006-11-07 Thread Antoine De Groote
> > Antoine De Groote wrote: >> Google tells quite some things about it, but none of them are satisfactory. >> >> I'm on Windows, and shutil operations (e.g. move, copy) throw [Errno 13] >> Permission denied all the time, for the source files. It seems that this >>

Re: shutil: permission denied errors on windows

2006-11-07 Thread Antoine De Groote
em. I suggest that >>> you write a no brainer standalone test code and if it still fails >>> there, then you have a problem with your installation. >>> >>> Antoine De Groote wrote: >>>> Google tells quite some things about it, but none of them are s

Re: shutil: permission denied errors on windows

2006-11-07 Thread John Henry
e some things about it, but none of them are satisfactory. > >> > >> I'm on Windows, and shutil operations (e.g. move, copy) throw [Errno 13] > >> Permission denied all the time, for the source files. It seems that this > >> is the case for all my files. But

Re: shutil: permission denied errors on windows

2006-11-07 Thread [EMAIL PROTECTED]
Antoine De Groote schrieb: > Yes it's strange, I never had the problem before, either. It seems now > to be only the case for folders. A very simple > > shutil.copy('a', 'b') > > already fails with the error message. > > I reinstalled Python, but that didn't change anything... > > Regards, > anto

Re: shutil: permission denied errors on windows

2006-11-07 Thread Antoine De Groote
it, but none of them are satisfactory. >> >> I'm on Windows, and shutil operations (e.g. move, copy) throw [Errno 13] >> Permission denied all the time, for the source files. It seems that this >> is the case for all my files. But what I don't understand is that >&g

Re: shutil: permission denied errors on windows

2006-11-06 Thread John Henry
ory. > > I'm on Windows, and shutil operations (e.g. move, copy) throw [Errno 13] > Permission denied all the time, for the source files. It seems that this > is the case for all my files. But what I don't understand is that > yesterday it still worked. I didn't change a

shutil: permission denied errors on windows

2006-11-06 Thread Antoine De Groote
Google tells quite some things about it, but none of them are satisfactory. I'm on Windows, and shutil operations (e.g. move, copy) throw [Errno 13] Permission denied all the time, for the source files. It seems that this is the case for all my files. But what I don't understa

Re: Permission Denied

2006-08-23 Thread Magnus Lycka
Jorge Godoy wrote: > ;-) And think about security as well. I.e. put '.' in the end of your PATH, never in the beginning! -- http://mail.python.org/mailman/listinfo/python-list

  1   2   >