Re: import _ fails?

2007-05-13 Thread baus
On May 12, 11:36 pm, baus <[EMAIL PROTECTED]> wrote: > > _ as well as set_lang/get_lang should be imported from pylons.i18n in > > the latest Pylons. Are you using an older version, or upgrading? > > So it sounds like the version on my windows box is out of date. I'll > look into that. That was

Installing pylons on Debian Sarge

2007-05-13 Thread voltron
Anybody else having these problems? Using /usr/lib/python2.4/site-packages/Pylons-0.9.5-py2.4.egg Processing dependencies for Pylons Searching for nose>=0.9.2 Reading http://cheeseshop.python.org/pypi/nose/ Reading http://somethingaboutorange.com/mrl/projects/nose/ error: Download error: (-3, 'Te

Re: Installing pylons on Debian Sarge

2007-05-13 Thread voltron
Nevermind, I reinstalled and upgraded setuptools, then all was well. weird. voltron:/# ez_setup.py -U setuptools On May 13, 11:29 am, voltron <[EMAIL PROTECTED]> wrote: > Anybody else having these problems? > > Using /usr/lib/python2.4/site-packages/Pylons-0.9.5-py2.4.egg > Processing dependenc

Re: Using Elixir

2007-05-13 Thread Antipin Aleksei
Hi > There is a follow up somewhere on this list (sorry, too lazy to track > it down) that notes that Elixir has its own session context, and as > far as I can tell, you have to use that one instead of creating one > through pylons.database. Instead of: > > from pylons.database import session_

widgets

2007-05-13 Thread Antipin Aleksei
Hi Please, advise some widget framework to use with Pylons, I know there is in turbogears. I'd like to here some recommendations before I start learning Toscawidgets because it's only alpha stage now. Maybe there are more mature/promising widget frameworks suitable for Pylons. -- Best regard

Re: Installing pylons on Debian Sarge

2007-05-13 Thread Christoph Haas
On Sun, May 13, 2007 at 02:45:48AM -0700, voltron wrote: > Nevermind, I reinstalled and upgraded setuptools, then all was well. > weird. Why do you spoil your system with setuptools at all? All up-to-date Pylons components are available in Debian. aptitude ist your friend. Christoph --~--~---

RESTController, format=html

2007-05-13 Thread Simon Wittber
I've been playing with the restcontroller, and am trying to track down where the 'format="html"' argument is supplied for the new, show and edit methods. What is this argument used for, and is it safe to remove it? -Sw. --~--~-~--~~~---~--~~ You received this me

Re: Installing pylons on Debian Sarge

2007-05-13 Thread voltron
Thanks Christoph, Methinks thats something for the Pylons docs! Ok, since this is nowhere documented, what should I type in on the commandline? I use only APT, ahd I read somewhre that one should avoid using both. Is there a deb I can use for APT? On May 13, 2:09 pm, Christoph Haas <[EMAIL PRO

Mako preprocessor

2007-05-13 Thread Chris Perkins
I have put this in my config/environment.py, but it seems to have no effect: def makoify(s): return s.replace('http://groups.google.com/group/pylons-discuss?hl=en -~--~~~~--~~--~--~---

Re: Installing pylons on Debian Sarge

2007-05-13 Thread Christoph Haas
On Sun, May 13, 2007 at 10:44:13AM -0700, voltron wrote: > Thanks Christoph, How boring. I thought to get involed in a flamewar about "Debian packages suck and setuptools is the holy way". ;) > Methinks thats something for the Pylons docs! Ok, since this is > nowhere documented, Not really. I b

Re: Installing pylons on Debian Sarge

2007-05-13 Thread voltron
Of course I know what APT stands for and what it does... vps:~# apt-get install pylons Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut... Fertig E: Konnte Paket pylons nicht finden vps:~# aptitude install pylons Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird