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

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

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

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

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

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, > query_add = {}, queries = [],

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