Re: Problem installing Python 2.5

2007-04-03 Thread Jaroslaw Zabiello
(based on Debian). After executing ./configure you have to edito Modules/Setup file 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.

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

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

2007-03-22 Thread Jaroslaw Zabiello
rvices using SOAP. We have enough problems with > the existing ones. :-( 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

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) "C:\opt\Python25\lib\site-

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/

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 canno

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 f

Re: Pros/Cons of Turbogears/Rails?

2006-08-31 Thread Jaroslaw Zabiello
r javascript and AJAX). And last but not least, TG is based on poor, 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. --

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

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

2006-07-26 Thread Jaroslaw Zabiello
maybe it is. But I think, that this might be another reason why Java guys prefer Ruby to Python. -- Jaroslaw Zabiello http://blog.zabiello.com -- http://mail.python.org/mailman/listinfo/python-list

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

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 di

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

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

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: 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 http://www.die-offenbachs.d

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: http://pydev.sf.

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

Re: Django Vs Rails

2005-09-25 Thread Jaroslaw Zabiello
Dnia 24 Sep 2005 22:48:40 -0700, [EMAIL PROTECTED] napisał(a): > You should give TurboGears a try. http://www.turbogears.org/about/status.html "TurboGears should be considered *alpha* software. This means that there can be *breaking API* changes between now and 1.0." It uses CherryPy (beta!), SQ

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. displays only own id, not its caller :( di

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: > > > Search|Read|Compare|History > > > When I try to open it, I get the error mentioned above. Any idea? Solution was trivial Search|Read|Compare|His

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: http://www.w3.org/1999/xhtml"; xml:lang="en-US" lang="en-US" i18n:domain="plone" metal:use-macro="he

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 SQ