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
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
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", "
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
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
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
>>>
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"
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 =
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
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
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
--
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
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
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.
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
>>
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:
>
>>
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')
--
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Sorry,
Never mind.
wtf.func_defaults
Thanks for the examples.
Rick
--
http://mail.python.org/mailman/listinfo/python-list
>> 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
[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
[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
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
[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,
>
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_
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
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
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
Is well indented ?
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
49 matches
Mail list logo