How to Install From Nightly egg builds

3 views
Skip to first unread message

Michael Schneider

unread,
Nov 29, 2005, 12:17:25 PM11/29/05
to TurboGears
Sorry to as such a stupid question.

I am new to eggs, how do I install turbogears from the
nightly build eggs on:

http://www.opensource4you.com/nightly_tarballs.shtml


???

Thanks,

Mike

N. C. Deepak Ramesh

unread,
Nov 29, 2005, 12:41:04 PM11/29/05
to turbo...@googlegroups.com
Hi,
Don't worry. We all learn one day. First you move it to any directory of
your convenience (replacing any previously downloaded nightly egg -
obviously you do this from the next time onwards).

I am on windows and I usually move it to a folder called 'eggs' on the d
drive.

Then I do,

easy_install -f d:\eggs\ TurboGears

That does the job for me.

HTH,

Deepak

Kevin Dangoor

unread,
Nov 29, 2005, 12:41:25 PM11/29/05
to turbo...@googlegroups.com
I'll admit to not going out of my way to make this easy, given that
the 0.9 features are still very much in development...

You could try:

easy_install -f http://www.opensource4you.com/nightly_tarballs.shtml TurboGears

Kevin
--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: k...@blazingthings.com
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com

Elvelind Grandin

unread,
Nov 29, 2005, 1:07:41 PM11/29/05
to turbo...@googlegroups.com
Btw Kevin. Wouldn't it be nice to enable svn checkouts from
easy_install, as setuptools do with easy_install setuptools==dev ?
--
cheers
elvelind grandin

Kevin Dangoor

unread,
Nov 29, 2005, 2:59:44 PM11/29/05
to turbo...@googlegroups.com
That's precisely how I haven't gone out of my way to make it easy :)

Phillip told me the magic incantations to make that work, but I'm much
more interested in getting TG 0.9 baked than being able to
easy_install the svn version...

Kevin

Gábor Farkas

unread,
Nov 30, 2005, 10:21:04 AM11/30/05
to turbo...@googlegroups.com
Kevin Dangoor wrote:
> That's precisely how I haven't gone out of my way to make it easy :)
>
> Phillip told me the magic incantations to make that work, but I'm much
> more interested in getting TG 0.9 baked than being able to
> easy_install the svn version...

hi,

are there any estimates on when will tg0.9 be released?
when ready? :)
in a week?
in a month?
in a year?

thanks,
gabor

Kevin Dangoor

unread,
Nov 30, 2005, 10:27:33 AM11/30/05
to turbo...@googlegroups.com
On 11/30/05, Gábor Farkas <ga...@nekomancer.net> wrote:
> are there any estimates on when will tg0.9 be released?
> when ready? :)
> in a week?
> in a month?
> in a year?

"when ready" is a good answer :). I'd like to put a stake in the
ground and say "before the end of the year". It's time to start
sealing it up.

Kevin

Gábor Farkas

unread,
Nov 30, 2005, 10:32:19 AM11/30/05
to turbo...@googlegroups.com
Kevin Dangoor wrote:
> On 11/30/05, Gábor Farkas <ga...@nekomancer.net> wrote:
>
>>are there any estimates on when will tg0.9 be released?
>>when ready? :)
>>in a week?
>>in a month?
>>in a year?
>
>
> "when ready" is a good answer :). I'd like to put a stake in the
> ground and say "before the end of the year". It's time to start
> sealing it up.

:)

what would you recommend for a simple project that will start now and be
finished around end of january - end of february?

use tg0.8?
use tg0.8 and later upgrade to tg0.9?
use svn version until tg0.9 is released?

thanks,
gabor

Kevin Dangoor

unread,
Nov 30, 2005, 10:46:10 AM11/30/05
to turbo...@googlegroups.com
It depends on a couple of things:

1) how much you need the new APIs
2) how much you'd like to influence their development
3) how much you're willing to rework in your app as API changes

Having people working on real apps using the new APIs is actually a
good thing. But, there is *zero* guarantee of backwards compatibility
with the new APIs that are in svn. So, depending on how you feel about
those three questions, you can decide which way is the right way to
go.

After identity, widgets, expose and i18n have stabilized, that would
be a good time to update the download page to provide some
instructions for people that want to test the work in progress...

Gábor Farkas

unread,
Nov 30, 2005, 1:17:54 PM11/30/05
to turbo...@googlegroups.com
Kevin Dangoor wrote:
> On 11/30/05, Gábor Farkas <ga...@nekomancer.net> wrote:
>> what would you recommend for a simple project that will start now and be
>> finished around end of january - end of february?
>>
>> use tg0.8?
>> use tg0.8 and later upgrade to tg0.9?
>> use svn version until tg0.9 is released?
>
> It depends on a couple of things:
>
> 1) how much you need the new APIs
> 2) how much you'd like to influence their development
> 3) how much you're willing to rework in your app as API changes
>
> Having people working on real apps using the new APIs is actually a
> good thing. But, there is *zero* guarantee of backwards compatibility
> with the new APIs that are in svn. So, depending on how you feel about
> those three questions, you can decide which way is the right way to
> go.

i have no problems with API changes...if i know about them...
so my only worry is that maybe i will not spot when an API has changed...

i hope following this mailinglist is enough to know about those bigger
changes.

gabor

Jorge Godoy

unread,
Nov 30, 2005, 1:24:47 PM11/30/05
to turbo...@googlegroups.com
Gábor Farkas <ga...@nekomancer.net> writes:

> i have no problems with API changes...if i know about them...
> so my only worry is that maybe i will not spot when an API has changed...
>
> i hope following this mailinglist is enough to know about those bigger changes.

Gábor,


What I'm doing is to update my SVN checkout from time to time. I always know
the version it is running, so I can downgrade if something goes wrong. Right
now I'm running version 250 from the trunk, and since I have all what I need
here, I've stopped upgrading to finish the application and only then I'll move
to a newer version before starting another project. (In a day or two ;-))


Be seeing you,
--
Jorge Godoy <jgo...@gmail.com>

slugg...@gmail.com

unread,
Nov 30, 2005, 4:31:26 PM11/30/05
to TurboGears
Hi all. I'm trying TurboGears out for a demo app. My background is
Quixote and Cheetah. I installed TG 0.8a4 and got the wiki demo
working. Now I'm trying to upgrade to the SVN tarball with Kevin's
command:

But easy_install doth say:

Installed
/usr/local/stow/python-2.4.2/lib/python2.4/site-packages/TurboGears-0.9a0dev_r252-py2.4.egg
Processing dependencies for TurboGears
Searching for RuleDispatch
Reading http://www.python.org/pypi/RuleDispatch/
Couldn't find index page for 'RuleDispatch' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://www.python.org/pypi/
No local packages or download links found for RuleDispatch
error: Could not find distribution for
Requirement.parse('RuleDispatch')

Is this another package I need to install?

I tried this both before and after moving the 0.8a4 egg to a
non-discoverable directory.

-- Mike Orr <slugg...@gmail.com>

Michael Schneider

unread,
Nov 30, 2005, 4:57:20 PM11/30/05
to TurboGears
Mike

Try explictly updating rules dispatch, then doing the TurboGear

easy_install -f http://peak.telecommunity.com/snapshots/ RuleDispatch

Mike Orr

unread,
Nov 30, 2005, 5:38:11 PM11/30/05
to turbo...@googlegroups.com
OK, that works. I had to make one change in the wiki demo due to this error:

2005/11/30 14:30:52 HTTP INFO 127.0.0.1 - GET /pagelist?tg_format=json
...
File "/usr/local/stow/python-2.4.2/lib/python2.4/site-packages/TurboGears-0.9a0dev_r252-py2.4.egg/turbogears/controllers.py",
line 166, in newfunc
raise BadFormatError("JSON output is not allowed for that method")
BadFormatError: JSON output is not allowed for that method

Changed:

@turbogears.expose(html="wiki20.templates.pagelist")

to:

@turbogears.expose(html="wiki20.templates.pagelist", allow_json=True)

--
Mike Orr <slugg...@gmail.com>
(m...@oz.net address is semi-reliable)

Kevin Dangoor

unread,
Dec 1, 2005, 8:46:56 AM12/1/05
to turbo...@googlegroups.com
On 11/30/05, Mike Orr <slugg...@gmail.com> wrote:
> OK, that works. I had to make one change in the wiki demo due to this error:
>
> 2005/11/30 14:30:52 HTTP INFO 127.0.0.1 - GET /pagelist?tg_format=json
> ...
> File "/usr/local/stow/python-2.4.2/lib/python2.4/site-packages/TurboGears-0.9a0dev_r252-py2.4.egg/turbogears/controllers.py",
> line 166, in newfunc
> raise BadFormatError("JSON output is not allowed for that method")
> BadFormatError: JSON output is not allowed for that method

Yep. That's a documented change in 0.9.

Kevin
Reply all
Reply to author
Forward
0 new messages