Re: Strange Error with pip install.

2014-07-25 Thread dieter
Bruce Whealton writes: > I am using Windows 8.1 (I do have a linux box setup with virtualbox > also) and I've used python previously but now it is giving me problems > whenever I try to install anything from PyPI using pip. The error I get from > the command line is > "Cannot fetch ind

Strange Error with pip install.

2014-07-25 Thread Bruce Whealton
Hello, I am using Windows 8.1 (I do have a linux box setup with virtualbox also) and I've used python previously but now it is giving me problems whenever I try to install anything from PyPI using pip. The error I get from the command line is "Cannot fetch index base URL http://pypi.pyth

Re: md5 strange error

2009-12-14 Thread Mel
Rami Chowdhury wrote: > On Mon, Dec 14, 2009 at 09:33, catalinf...@gmail.com > wrote: >> now i have Fedora 12 >> Now when i try to use md5 , python say : >> python >> Python 2.6.2 (r262:71600, Aug 21 2009, 12:22:21) >> [GCC 4.4.1 20090818 (Red Hat 4.4.1-6)] on linux2 >> Type "help", "copyright", "

Re: md5 strange error

2009-12-14 Thread Rami Chowdhury
On Mon, Dec 14, 2009 at 09:33, catalinf...@gmail.com wrote: > now i have Fedora 12 > Now when i try to use md5 , python say : >  python > Python 2.6.2 (r262:71600, Aug 21 2009, 12:22:21) > [GCC 4.4.1 20090818 (Red Hat 4.4.1-6)] on linux2 > Type "help", "copyright", "credits" or "license" for more

Re: md5 strange error

2009-12-14 Thread catalinf...@gmail.com
now i have Fedora 12 Now when i try to use md5 , python say : python Python 2.6.2 (r262:71600, Aug 21 2009, 12:22:21) [GCC 4.4.1 20090818 (Red Hat 4.4.1-6)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import md5 __main__:1: DeprecationWarning: the md5 modul

Re: md5 strange error

2009-10-21 Thread Steven D'Aprano
On Wed, 21 Oct 2009 01:11:29 -0700, catalinf...@gmail.com wrote: > I have this error , what happen ? > > Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38) [GCC 4.3.2 20080917 > (Red Hat 4.3.2-4)] on linux2 Type "help", "copyright", "credits" or > "license" for more information. import md5 >>>

Re: md5 strange error

2009-10-21 Thread Rhodri James
On Wed, 21 Oct 2009 23:28:24 +0100, Stephen Fairchild wrote: Tim Golden wrote: catalinf...@gmail.com wrote: I have this error , what happen ? Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38) [GCC 4.3.2 20080917 (Red Hat 4.3.2-4)] on linux2 Type "help", "copyright", "credits" or "license"

Re: md5 strange error

2009-10-21 Thread Stephen Fairchild
Tim Golden wrote: > catalinf...@gmail.com wrote: >> I have this error , what happen ? >> >> Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38) >> [GCC 4.3.2 20080917 (Red Hat 4.3.2-4)] on linux2 >> Type "help", "copyright", "credits" or "license" for more information. > import md5 > pass =

Re: md5 strange error

2009-10-21 Thread Kushal Kumaran
On Wed, Oct 21, 2009 at 1:41 PM, catalinf...@gmail.com wrote: > I have this error , what happen ? > > Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38) > [GCC 4.3.2 20080917 (Red Hat 4.3.2-4)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. import md5 pa

Re: md5 strange error

2009-10-21 Thread Tim Golden
catalinf...@gmail.com wrote: I have this error , what happen ? Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38) [GCC 4.3.2 20080917 (Red Hat 4.3.2-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. import md5 pass = md5.new() File "", line 1 pass = md5.n

Re: md5 strange error

2009-10-21 Thread Xavier Ho
On Wed, Oct 21, 2009 at 6:11 PM, catalinf...@gmail.com < catalinf...@gmail.com> wrote: > >>> pass = md5.new() > File "", line 1 >pass = md5.new() > ^ > SyntaxError: invalid syntax > pass is a keyword in Python, you can't use it as an identifier. Try password instead. Cheers, Xav --

Re: md5 strange error

2009-10-21 Thread Super Zyper
On 21 oct, 10:11, "catalinf...@gmail.com" wrote: > I have this error , what happen ? > > Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38) > [GCC 4.3.2 20080917 (Red Hat 4.3.2-4)] on linux2 > Type "help", "copyright", "credits" or "license" for more information.>>> > import md5 > >>> pass = md5.ne

md5 strange error

2009-10-21 Thread catalinf...@gmail.com
I have this error , what happen ? Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38) [GCC 4.3.2 20080917 (Red Hat 4.3.2-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import md5 >>> pass = md5.new() File "", line 1 pass = md5.new() ^ SyntaxErr

Re: strange error when trying to log something

2009-07-26 Thread Peter Otten
Aahz wrote: > In article , > Peter Otten <__pete...@web.de> wrote: >> >>I have a hunch that you are triggering a reload() somewhere. Example: >> >>Python 2.6.2 (release26-maint, Apr 19 2009, 01:58:18) >>[GCC 4.3.3] on linux2 >>Type "help", "copyright", "credits" or "license" for more information.

Re: strange error when trying to log something

2009-07-25 Thread Aahz
In article , Peter Otten <__pete...@web.de> wrote: > >I have a hunch that you are triggering a reload() somewhere. Example: > >Python 2.6.2 (release26-maint, Apr 19 2009, 01:58:18) >[GCC 4.3.3] on linux2 >Type "help", "copyright", "credits" or "license" for more information. import weakref >>

Re: strange error when trying to log something

2009-07-23 Thread Peter Otten
Ryszard Szopa wrote: > Hi, > > I've recently reinstalled Python 2.6 (from DMG) on my Mac, and I am > running into very strage errors. Namely, logging seems to be badly > broken. When I open the interpreter through Django's manage.py shell > and try to use logging, I get the following error: > >>

strange error when trying to log something

2009-07-23 Thread Ryszard Szopa
Hi, I've recently reinstalled Python 2.6 (from DMG) on my Mac, and I am running into very strage errors. Namely, logging seems to be badly broken. When I open the interpreter through Django's manage.py shell and try to use logging, I get the following error: >>> logging.critical('ala') --

Re: strange error whilst porting to 2.6

2009-01-26 Thread Robin Becker
Robin Becker wrote: I found that this error Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in ignored occurs when attempting to copy (copy.copy(inst)) an instance of a class that looks like this class LazyParagraph(_LazyMixin,TTParagraph): SUPER=TTPar

Re: strange error whilst porting to 2.6

2009-01-26 Thread Robin Becker
I found that this error Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in ignored occurs when attempting to copy (copy.copy(inst)) an instance of a class that looks like this class LazyParagraph(_LazyMixin,TTParagraph): SUPER=TTParagraph _CL

Re: strange error whilst porting to 2.6

2009-01-24 Thread Robin Becker
Steve Holden wrote: Benjamin Peterson wrote: Robin Becker NOSPAMreportlab.com> writes: Well that's not really acceptable as a solution is it? :) This doesn't happen in Python 3.0, so you could port to that. :) my initial attempts in this direction were even less successful :( Pe

Re: strange error whilst porting to 2.6

2009-01-24 Thread Steve Holden
Benjamin Peterson wrote: > Robin Becker NOSPAMreportlab.com> writes: >> Well that's not really acceptable as a solution is it? :) > > This doesn't happen in Python 3.0, > so you could port to that. :) > > In 2.7, the better recursion depth > handling > in Py3k may be backported,but the > best yo

Re: strange error whilst porting to 2.6

2009-01-23 Thread Benjamin Peterson
Robin Becker NOSPAMreportlab.com> writes: > > > Well that's not really acceptable as a solution is it? :) This doesn't happen in Python 3.0, so you could port to that. :) In 2.7, the better recursion depth handling in Py3k may be backported,but the best you can do for now is not touch the recur

Re: strange error whilst porting to 2.6

2009-01-23 Thread Robin Becker
Benjamin Peterson wrote: Robin Becker NOSPAMreportlab.com> writes: python 2.6 indicates this error whilst running a script that works fine under Python 2.5. Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in ignored I suppose this must be related to some k

Re: strange error whilst porting to 2.6

2009-01-23 Thread Benjamin Peterson
Robin Becker NOSPAMreportlab.com> writes: > > python 2.6 indicates this error whilst running a script that works fine > under Python 2.5. > > Exception RuntimeError: 'maximum recursion depth exceeded in > __subclasscheck__' in ignored > > I suppose this must be related to some kind of isins

strange error whilst porting to 2.6

2009-01-23 Thread Robin Becker
python 2.6 indicates this error whilst running a script that works fine under Python 2.5. Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in ignored I suppose this must be related to some kind of isinstance or issubclass check, but how can I locate the prob

py2exe setup strange error

2007-01-04 Thread Croteam
Hello, I was trying to install my script (.py) to (.exe) and when I run setup script with cmd I get the error: python mysetup.py py2exe error: COREDLL.dll: No such file or directory Thanks!!! -- http://mail.python.org/mailman/listinfo/python-list

Re: Strange error with getattr() function

2006-12-19 Thread Hole
Gabriel Genellina ha scritto: > At Monday 18/12/2006 13:25, Hole wrote: > > > > At this point, I got the error: attribute name must be string > > > >I'm wondering if the exception is raised in a hidden function and not > >in the explicit call to getattr(). How can I view the traceback in a > >scr

Re: Strange error with getattr() function

2006-12-18 Thread Gabriel Genellina
At Monday 18/12/2006 13:25, Hole wrote: > At this point, I got the error: attribute name must be string I'm wondering if the exception is raised in a hidden function and not in the explicit call to getattr(). How can I view the traceback in a script running in zope?? (Which Zope version?) If

Re: Strange error with getattr() function

2006-12-18 Thread Gabriel Genellina
At Monday 18/12/2006 12:33, Hole wrote: I'm trying to use Zope and the product OpenFlow. Try posting in the Zope list, you surely will have more responses. I got the following error while I was using the built-in function getattr() to retrieve an OpenFlow object: attribute name must be stri

Re: Strange error with getattr() function

2006-12-18 Thread Hole
Hole ha scritto: > Hi There! > > I'm trying to use Zope and the product OpenFlow. > > I got the following error while I was using the built-in function > getattr() to retrieve an OpenFlow object: > > attribute name must be string > > > Actually, I surely pass a string as attribute name to getattr

Strange error with getattr() function

2006-12-18 Thread Hole
Hi There! I'm trying to use Zope and the product OpenFlow. I got the following error while I was using the built-in function getattr() to retrieve an OpenFlow object: attribute name must be string Actually, I surely pass a string as attribute name to getattr() The code: #following instructio

Re: NNTPLIB STRANGE ERROR

2006-08-13 Thread Bryan Olson
2Good4You-Veki(Cro) wrote: > when I want use python nntplib: [...] > error: (10053, 'Software caused connection abort') That's not such a strange error; various network problems can cause it. It means something went wrong with the TCP connection, so your system aborte

NNTPLIB STRANGE ERROR

2006-08-13 Thread 2Good4You-Veki(Cro)
HI, when I want use python nntplib: >>> import nntplib >>> s=nntplib.NNTP('news.t-com.hr') >>> s.group('hr.mag.bug') THEN ERROR IS: Traceback (most recent call last): File "", line 1, in -toplevel- s.group('hr.mag.bug') File "C:\Python24\lib\nntplib.py", line 346, in group resp = sel

Re: strange error when importing a module

2006-07-20 Thread Robin Becker
Robin Becker wrote: > I'm trying to understand the following strangeness > > C:\code\rlextra\ers>python > Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on win32 > Type "help", "copyright", "credits" or "license" for more information. > >>> from rlextra.utils.SimpleXMLRPCSe

strange error when importing a module

2006-07-20 Thread Robin Becker
I'm trying to understand the following strangeness C:\code\rlextra\ers>python Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> from rlextra.utils.SimpleXMLRPCServer import SimpleXMLRPCServer T

Re: Strange error

2006-05-18 Thread BartlebyScrivener
Sorry, Never mind. wtf.func_defaults Thanks for the examples. Rick -- http://mail.python.org/mailman/listinfo/python-list

Re: Strange error

2006-05-18 Thread BartlebyScrivener
>> This type of bug commonly bites neophyte programmers. That IS weird. I'm new. I read it, I see how it works, but how come in between calls of the function, you can't access the values being stored? Or I guess you can, but I don't see the way. How come you can't do something like : >>>wtf.args

Re: Strange error

2006-05-18 Thread bruno at modulix
[EMAIL PROTECTED] wrote: > Evaluation of default values seems to have nothing to do with the case > I described. It does. Please *read* the faq: http://pyfaq.infogami.com/why-are-default-values-shared-between-objects > The default values are both tags = {}, and still inside mysearch() I > sometim

Re: Strange error

2006-05-18 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > The default values are both tags = {}, and still inside mysearch() I > sometimes get some value from previous call inside tags, when the tags > keyword argument is not specified. which is exactly what happens if you *update* the default argument. did you even bother t

Re: Strange error

2006-05-18 Thread WSobczuk
Evaluation of default values seems to have nothing to do with the case I described. The default values are both tags = {}, and still inside mysearch() I sometimes get some value from previous call inside tags, when the tags keyword argument is not specified. -- http://mail.python.org/mailman/list

Re: Strange error

2006-05-18 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > I have encountered a very strange error and I'm hoping that some Python > hackers here could give me insight on this. > > searchview.py file contains two functions: > def mysearch(indexname, request, c, page = 0, searchdburl = INDEX_URL, >

Strange error

2006-05-18 Thread WSobczuk
I have encountered a very strange error and I'm hoping that some Python hackers here could give me insight on this. searchview.py file contains two functions: def mysearch(indexname, request, c, page = 0, searchdburl = INDEX_URL, query_add = {}, queries = [], form = True, limit = DEFAULT_

Re: strange error I can't figure out...

2006-02-18 Thread Brian Beck
John Zenger wrote: > Also, get rid of the comma at the end of that last print statement. This would break the progress bar functionality I think, which is meant to update a single line. -- Brian Beck Adventurer of the First Order -- http://mail.python.org/mailman/listinfo/python-list

Re: strange error I can't figure out...

2006-02-18 Thread Brian Blais
John Zenger wrote: > It works fine for me. You must be having an indentation problem. > > Also, get rid of the comma at the end of that last print statement. > > Brian Blais wrote: >> Hello, >> >> I have an odd kind of Heisenbug in what looks like a pretty simple >> >> If you uncomment the one

Re: strange error I can't figure out...

2006-02-18 Thread John Zenger
It works fine for me. You must be having an indentation problem. Also, get rid of the comma at the end of that last print statement. Brian Blais wrote: > Hello, > > I have an odd kind of Heisenbug in what looks like a pretty simple > program. The program is a progress bar code I got at the Py

Re: strange error I can't figure out...

2006-02-18 Thread Fabrizio Milo
Is well indented ? -- http://mail.python.org/mailman/listinfo/python-list

strange error I can't figure out...

2006-02-18 Thread Brian Blais
Hello, I have an odd kind of Heisenbug in what looks like a pretty simple program. The program is a progress bar code I got at the Python Cookbook: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/168639 (including the code below) If you uncomment the one print statement I added in t

pylab strange error message

2005-04-22 Thread [EMAIL PROTECTED]
I found this error message when I import pylab. from pylab import * Error message: Microsoft Visual C++ Runtime Library Assertion failed! Program:c\python24\python.exe File:CXX/cxx_extentions.cxx Line:1031 Expression: ob_refcnt == 0 For information on how your program can cause an assertion fail

strange error in socket.py

2005-04-18 Thread nw_moriarty
Folks I'm getting a very strange error when I'm using the SocketServer. Has anybody got any ideas? Nigel File "/scratch1/nigel/c6/phenix-1.08a/build/intel-linux/python/lib/python2.4/SocketServer.py", line 468, in process_request_thread File "/scratch1/nigel/c6