Re: Problem installing Python 2.5

2007-04-03 Thread Jaroslaw Zabiello
and uncomment the following line: #zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz Then continue with normal make; make install. -- Jaroslaw Zabiello http://blog.zabiello.com -- http://mail.python.org/mailman/listinfo/python-list

Re: ZSI, SOAP and .NET web services - problem

2007-03-26 Thread Jaroslaw Zabiello
Dnia Mon, 26 Mar 2007 20:06:28 + (UTC), David E. Konerding DSD staff napisał(a): Try fixing your WSDL, then try again. The problem is I see no errors in my WSDL. Pythonic implementation of SOAP is just crapy. -- Jaroslaw Zabiello http://blog.zabiello.com -- http://mail.python.org/mailman

ZSI, SOAP and .NET web services - problem

2007-03-22 Thread Jaroslaw Zabiello
I try to connect to web services (written in C#/.NET) with latest ZSI 2.0rc3 library. It just does not work. from ZSI.ServiceProxy import ServiceProxy wsdl = 'http://192.168.0.103/NewWebServices/TemplateInsert.asmx?wsdl' print ServiceProxy(wsdl, tracefile=sys.stdout)

Re: ZSI, SOAP and .NET web services - problem

2007-03-22 Thread Jaroslaw Zabiello
. :-( I agree. The problem is, I have to live with this stupid, poor implemented M$ technology. Ruby and with its standard SOAP library is able to live. Why Python cannnot? -- Jaroslaw Zabiello http://blog.zabiello.com -- http://mail.python.org/mailman/listinfo/python-list

Re: ZSI, SOAP and .NET web services - problem

2007-03-22 Thread Jaroslaw Zabiello
Dnia Thu, 22 Mar 2007 22:48:26 +0100, Jarek Zgoda napisał(a): If you really must write client for this service, go and do it in Ruby, if it works. I cannot. I am using Pylons framework so I have to use Python. Ruby solves this problem but not others, like its low speed. -- Jaroslaw Zabiello

Re: What happened to SPE?

2007-02-02 Thread Jaroslaw Zabiello
Dnia 11 Jan 2007 17:02:49 +0100, Neil Cerutti napisał(a): SPE lost its web host, and last I heard is looking for a new home. For now you can get it here: http://sourceforge.net/projects/spe/ That is old addres. Never is http://developer.berlios.de/projects/python/ -- Jaroslaw Zabiello

Re: Pros/Cons of Turbogears/Rails?

2006-08-31 Thread Jaroslaw Zabiello
, unstable and buggy CherryPy server. We had huge problems with CherryPy. I think that Django or Pylons are much better frameworks. IMO TG is no competition for Rails at all. The only real competition is Django or Pylons. -- Jaroslaw Zabiello http://blog.zabiello.com -- http://mail.python.org

Re: Pros/Cons of Turbogears/Rails?

2006-08-31 Thread Jaroslaw Zabiello
On Thu, 31 Aug 2006 11:42:47 -0300, Jorge Godoy wrote: TG supports SQL Alchemy as well. With SQL Alchemy I believe you'll have a better experience than with Rails' ORM. I would not be so sure. I have tried to work with SQL Alchemy (using Pylons) and I have been disappointed. :( It's syntax

Re: Pros/Cons of Turbogears/Rails?

2006-08-31 Thread Jaroslaw Zabiello
On 31 Aug 2006 08:24:29 -0700, Adam Jones wrote: In moving to SQLAlchemy it would pick up not only a migration system but also a much more flexible abstraction system due to the use of a Data Mapper pattern instead of the Active Record pattern. What is the advantage of Data Mapper? I cannot

Re: Need a compelling argument to use Django instead of Rails

2006-07-26 Thread Jaroslaw Zabiello
On Mon, 24 Jul 2006 12:23:12 +0100, Steve Holden wrote: The impression I get is that Rails is relatively inflexible on database schemas, Django has the same problem. E.g. both Django ORM and ActiveRecord cannot work with complex primary keys. But for Rails there is a solution for even very

Re: Need a compelling argument to use Django instead of Rails

2006-07-26 Thread Jaroslaw Zabiello
On Mon, 24 Jul 2006 13:22:33 +0200, Sybren Stuvel wrote: Nah, we're not interested in Python. Ask them why. I know why. In general Java guys can recognize Ruby as more friendly language than Python, more secured (there is almost no security in Python). There is also much more hype about Ruby

Re: Need a compelling argument to use Django instead of Rails

2006-07-26 Thread Jaroslaw Zabiello
On Mon, 24 Jul 2006 14:23:21 +0200, Sybren Stuvel wrote: Another reason for me not to use Ruby, is that there is no distinction between those two lines of code: x = somefunc x = somefunc() It has no meaning. Just use always () if you like. But sometimes it is better to avoid them to have

Re: Need a compelling argument to use Django instead of Rails

2006-07-26 Thread Jaroslaw Zabiello
On Wed, 26 Jul 2006 16:25:48 +0200, Bruno Desthuilliers wrote: I have difficulty imagining how a language could be more dynamic than Python... E.g. try to extends or redefine builtin Python classes on fly. Ruby is so flexible that it can be used to create Domain-specific Programming Languages.

Re: Need a compelling argument to use Django instead of Rails

2006-07-26 Thread Jaroslaw Zabiello
On 26 Jul 2006 08:16:21 -0700, [EMAIL PROTECTED] wrote: E.g. try to extends or redefine builtin Python classes on fly. Ruby is so flexible that it can be used to create Domain-specific Programming Languages. This, of course, is really cool if you are working all by yourself on a

Re: Need a compelling argument to use Django instead of Rails

2006-07-26 Thread Jaroslaw Zabiello
On Wed, 26 Jul 2006 18:01:50 +0200, Bruno Desthuilliers wrote: I have difficulty imagining how a language could be more dynamic than Python... E.g. try to extends or redefine builtin Python classes on fly. Ok, this is one of the few restrictions - builtin types. Yeah. Have something more

Re: Need a compelling argument to use Django instead of Rails

2006-07-26 Thread Jaroslaw Zabiello
application, but it does not mean that PHP is great language. :) Python has no security at all. I has only convention and mangling. Of course somebode can say, it is enough, and maybe it is. But I think, that this might be another reason why Java guys prefer Ruby to Python. -- Jaroslaw Zabiello http

Re: Need a compelling argument to use Django instead of Rails

2006-07-26 Thread Jaroslaw Zabiello
On Wed, 26 Jul 2006 18:23:22 +0200, Bruno Desthuilliers wrote: Care to write an external DSL in Ruby ? ? I mean : write a parser and interpreter for a DSL. In Ruby. I see. Nope. I do not like code generators. In this sense every template system is DSL. E.g. Smarty Templates for PHP. You can

Re: What editor shall I use?

2006-02-10 Thread Jaroslaw Zabiello
On 8 Feb 2006 06:48:30 -0800, Lad wrote: What editor shall I use if my Python script must contain utf-8 characters? I use XP The best (and free) are: Eclipse http://www.eclipse.org/ with pydev http://pydev.sourceforge.net/ SPE http://pythonide.stani.be/ Eric3

Re: IDE recommendation please

2005-10-23 Thread Jaroslaw Zabiello
Dnia 23 Oct 2005 00:33:41 -0700, kery napisał(a): Any suggestions for Linux, specifically SuSE or perhaps Red Hat? Eric3 http://www.die-offenbachs.de/detlev/eric3.html Eclipse http://www.eclipse.org/ + pydev plugin http://pydev.sourceforge.net/ SPE http://pythonide.stani.be/ -- JZ --

Re: IDE recommendation please

2005-10-23 Thread Jaroslaw Zabiello
Dnia Sun, 23 Oct 2005 14:54:38 +1000, microsnot napisał(a): Eclipse don't seem to support Python out of the box. It is very easy to add excelent python plugin http://pydev.sourceforge.net/ Fast install: just go to the update manager (inside the help menu) and add update site:

Re: ZPT and incompatible version None error :(

2005-09-13 Thread Jaroslaw Zabiello
Dnia Mon, 12 Sep 2005 16:51:48 +0200, Jaroslaw Zabiello napisał(a): Another ZPT file try to fill one slot: div metal:use-macro=context/base div metal:fill-slot=goraSearch|Read|Compare|History/div /div When I try to open it, I get the error mentioned above. Any idea? Solution

Zope, ZPT and slots

2005-09-13 Thread Jaroslaw Zabiello
I would like to lauch macro from another zpt file. It is easy, of course, but the problem is I would like the macro could has access to title_or_id attribute of its caller. I read API, tried template/id, context/id and container/id but without results. span tal:content=template/id/ displays only

ZPT and incompatible version None error :(

2005-09-12 Thread Jaroslaw Zabiello
I got strange errors in Zope 2.7. METALError macro 'context/base' has incompatible version None, at line 1, column 1 One ZPT file (named 'base') defines some simply slots: html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en-US lang=en-US i18n:domain=plone

Re: Django Vs Rails

2005-09-06 Thread Jaroslaw Zabiello
Dnia 5 Sep 2005 19:06:51 -0700, flamesrock napisał(a): Firstly, this topic is NOT intended for trolling or starting any flame wars. I want to know if anyone has experience with these frameworks, and if so, how do they compare? Which one do you prefer? Django's ORM does not work with SQL