[TurboGears] [OT] ForeignKeys in SQLObject
I realize this belongs to the SQLObject mailing list, but I'm throwing it out here in case anyone knows an answer. Does SQLObject constrain the column name used for a ForeignKey depending on the table it references? An example (from SQLObject documentation): class Address(SQLObject): ... ... street = StringCol() ... city = StringCol() ... state = StringCol(length=2) ... zip = StringCol(length=9) ... person = ForeignKey('Person') Can I instead have: owner = ForeignKey('Person') The last time I tried, I got an error saying column owner_id does not exist in table Person. For MultipleJoins this isn't a problem though. Thanks, Diwaker -- Web/Blog/Gallery: http://floatingsun.net/blog --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group. To post to this group, send email to turbogears@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~--~~~~--~~--~--~---
[TurboGears] Re: [OT] ForeignKeys in SQLObject
It doesn't. I use it all the time. When I' doing some auditing I have changedBy = ForeignKey('User', notNone = True) It still doesn't work for me. The table gets generated alright, but when I try to query something, it breaks. Right now I have something like: class Expense(SQLObject): date = DateCol() description = StringCol() amount = CurrencyCol() sharedBy = MultipleJoin(Share) class Share(SQLObject): eid = ForeignKey(Expense) I add an Expense, and then try to do e.sharedBy from the shell, I get this (the unknown column expense_id is towards the end): 1/QueryAll: SELECT id FROM share WHERE expense_id = 1 --- _mysql_exceptions.OperationalError Traceback (most recent call last) /var/www/group-expenses/ipython console /var/www/group-expenses/string in lambda(self) /home/diwaker/local/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1457-py2.4.egg/sqlobject/joins.py in performJoin(self, inst) 129 self.otherClass, 130 self.joinColumn, -- 131 inst.id) 132 if inst.sqlmeta._perConnection: 133 conn = inst._connection /home/diwaker/local/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1457-py2.4.egg/sqlobject/dbconnection.py in _SO_selectJoin(self, soClass, column, value) 596 597 def _SO_selectJoin(self, soClass, column, value): -- 598 return self.queryAll(SELECT %s FROM %s WHERE %s = %s % 599 (soClass.sqlmeta.idName, 600 soClass.sqlmeta.table, /home/diwaker/local/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1457-py2.4.egg/sqlobject/dbconnection.py in queryAll(self, s) 742 def queryAll(self, s): 743 self.assertActive() -- 744 return self._dbConnection._queryAll(self._connection, s) 745 746 def queryOne(self, s): /home/diwaker/local/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1457-py2.4.egg/sqlobject/dbconnection.py in _queryAll(self, conn, s) 307 self.printDebug(conn, s, 'QueryAll') 308 c = conn.cursor() -- 309 self._executeRetry(conn, c, s) 310 value = c.fetchall() 311 if self.debugOutput: /home/diwaker/local/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1457-py2.4.egg/sqlobject/mysql/mysqlconnection.py in _executeRetry(self, conn, cursor, query) 58 while 1: 59 try: --- 60 return cursor.execute(query) 61 except MySQLdb.OperationalError, e: 62 if e.args[0] == 2013: # SERVER_LOST error /usr/lib/python2.4/site-packages/MySQLdb/cursors.py in execute(self, query, args) 135 del tb 136 self.messages.append((exc, value)) -- 137 self.errorhandler(self, exc, value) 138 self._executed = query 139 self._warning_check() /usr/lib/python2.4/site-packages/MySQLdb/connections.py in defaulterrorhandler(connection, cursor, errorclass, errorvalue) 31 else: 32 connection.messages.append(error) --- 33 raise errorclass, errorvalue 34 35 OperationalError: (1054, Unknown column 'expense_id' in 'where clause') Here's my tg-admin info output: TurboGears 0.9a1dev-r893 nose 0.8.6 RuleDispatch 0.5a0.dev-r2100 setuptools 0.6a10 FormEncode 0.4 cElementTree 1.0.5-20051216 PasteScript 0.4.2 elementtree 1.2.6 simplejson 1.1 SQLObject 0.7.1dev-r1457 CherryPy 2.2.0beta TurboKid 0.9.1dev-r871 PyProtocols 1.0a0 Cheetah 1.0 PasteDeploy 0.4 Paste 0.4.1 FormEncode 0.4 kid 0.8 elementtree 1.2.6 Diwaker -- Web/Blog/Gallery: http://floatingsun.net/blog --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group. To post to this group, send email to turbogears@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~--~~~~--~~--~--~---
[TurboGears] Re: [OT] ForeignKeys in SQLObject
Scratch my earlier mail. I wasn't using the joinColumn attribute. Thats why they say RTFM. cheers, Diwaker On 3/5/06, Diwaker Gupta [EMAIL PROTECTED] wrote: It doesn't. I use it all the time. When I' doing some auditing I have changedBy = ForeignKey('User', notNone = True) It still doesn't work for me. The table gets generated alright, but when I try to query something, it breaks. Right now I have something like: class Expense(SQLObject): date = DateCol() description = StringCol() amount = CurrencyCol() sharedBy = MultipleJoin(Share) class Share(SQLObject): eid = ForeignKey(Expense) I add an Expense, and then try to do e.sharedBy from the shell, I get this (the unknown column expense_id is towards the end): 1/QueryAll: SELECT id FROM share WHERE expense_id = 1 -- Web/Blog/Gallery: http://floatingsun.net/blog --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group. To post to this group, send email to turbogears@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~--~~~~--~~--~--~---
[TurboGears] Re: nice little tab library
I came across this library via Ajaxian: http://www.barelyfitz.com/projects/tabber/index.php Just to throw out another alternative: http://webfx.eae.net/dhtml/tabpane/tabpane.html Diwaker -- Web/Blog/Gallery: http://floatingsun.net/blog --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group. To post to this group, send email to turbogears@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~--~~~~--~~--~--~---
[TurboGears] Re: nice little tab library
Actually I see that both these libraries haven't been updated in a couple of years now. Since we already use Mochikit, wouldn't it make more sense to simply write up our own little tab widget javascript? Diwaker -- Web/Blog/Gallery: http://floatingsun.net/blog --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group. To post to this group, send email to turbogears@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~--~~~~--~~--~--~---
[TurboGears] Re: Kid vim syntax file
It is *so* good to know that there are people doing web apps (whether its RoR or Django or TG) who are NOT using a Mac and Textmate :-) Vim ROCKS! On 2/28/06, Michele Cella [EMAIL PROTECTED] wrote: Karl Guertin wrote: I've been sitting on this for about a week and it seems to be working. David Stanek encouraged me to release it, and I figure this is the simplest way. Hey, you are my hero Karl, this rocks!! ;-) Maybe you can also put it on vim.org? Ciao Michele -- Web/Blog/Gallery: http://floatingsun.net/blog --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group. To post to this group, send email to turbogears@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~--~~~~--~~--~--~---
[TurboGears] Re: Kid vim syntax file
On 2/28/06, Ronald Jaramillo [EMAIL PROTECTED] wrote: What? Are there other editors beside vim?? Thanks for it Karl! I'm looking forward to version 7 and intellisense support, it will be sweet to have a dropdown list of available widgets, validators and what not. Kind of having a TG cheat sheet while you type. This is slightly OT, but you can see some Vim7 screenshots here: o http://floatingsun.net/blog/2006/02/09/537/ o http://floatingsun.net/blog/2006/02/23/575/ Enjoy! Diwaker -- Web/Blog/Gallery: http://floatingsun.net/blog --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group. To post to this group, send email to turbogears@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~--~~~~--~~--~--~---
[TurboGears] Re: global login? + LDAP
On 2/26/06, Timothy Freund [EMAIL PROTECTED] wrote: Here is a quick update on my IdentityProvider progress -- since Sergio no longer immediately needs the CASIdentityProvider I started work on an LdapIdentityProvider this weekend. LDAP authentication is a little more conventional compared to CAS, so I thought it would be a better place to jump in and learn. It is starting to take shape, but I have some rough edges to smooth out before releasing the code into the wild. I think that the LdapIdentityProvider will be a great resource for people in corporate environments since most businesses big enough to write internal applications have all of their users stored in a directory of some sort (Active Directory, Sun One, OpenLDAP, etc). The idea is to authenticate users against an LDAP directory and to pull most of their basic user information (name, email, phone number and more) from the directory as well. There is still a tg_user table in the database but it only contains an id and a username. The table's primary purpose is to provide referential integrity against the visit records and other business objects. I'd enjoy hearing any comments or criticism about the idea. +1. I think its a great idea, since I'll be needing such a provider myself in a little while :-) Diwaker -- Web/Blog/Gallery: http://floatingsun.net/blog --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group. To post to this group, send email to turbogears@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~--~~~~--~~--~--~---
[TurboGears] Identity protection on mounted controllers
Lets say I'm mounting catwalk in my project thus: class Root(controllers.RootController): catwalk = CatWalk(model) Now I want to restrict access to catwalk to some group of users. How do I enable identity protection for it? Giving identity.require before mounting catwalk (expectedly) fails. Suggestions? Diwaker -- Web/Blog/Gallery: http://floatingsun.net/blog --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group. To post to this group, send email to turbogears@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~--~~~~--~~--~--~---
[TurboGears] Re: Identity protection on mounted controllers
On 2/23/06, Nyenyec N [EMAIL PROTECTED] wrote: I think this should work: class Root(controllers.RootController): # Mount catwalk for admins only catwalk = CatWalk(model) catwalk = identity.SecureObject(catwalk, identity.in_group(admin)) Right on! Thanks a lot, nyenyec. Diwaker On 2/23/06, Diwaker Gupta [EMAIL PROTECTED] wrote: Lets say I'm mounting catwalk in my project thus: class Root(controllers.RootController): catwalk = CatWalk(model) Now I want to restrict access to catwalk to some group of users. How do I enable identity protection for it? Giving identity.require before mounting catwalk (expectedly) fails. Suggestions? -- Web/Blog/Gallery: http://floatingsun.net/blog --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group. To post to this group, send email to turbogears@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~--~~~~--~~--~--~---
[TurboGears] Re: Attention to folks using identity with encrypted passwords
On 2/22/06, Kevin Dangoor [EMAIL PROTECTED] wrote: I have just committed Patrick Lewis' patch for ticket 593: http://trac.turbogears.org/turbogears/ticket/593 That means that you no longer (and should not!) encrypt the password yourself on the way in to the database. When you set the password on the user, it will be encrypted for you. Fabulous! Diwaker -- Web/Blog/Gallery: http://floatingsun.net/blog --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group. To post to this group, send email to turbogears@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~--~~~~--~~--~--~---
[TurboGears] Re: Attention to folks using identity with encrypted passwords
Never mind my earlier email. It seems like both these things have nothing to do with this particular patch. My bad. Diwaker -- Web/Blog/Gallery: http://floatingsun.net/blog --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group. To post to this group, send email to turbogears@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~--~~~~--~~--~--~---
[TurboGears] Re: Attention to folks using identity with encrypted passwords
On 2/22/06, Kevin Dangoor [EMAIL PROTECTED] wrote: On 2/22/06, Diwaker Gupta [EMAIL PROTECTED] wrote: Some weird things have started happening since this patch: o I have my own User class which derives from TG_User, and some other classes -- none of these show up in Catwalk anymore. It was working just fine this morning. I can't readily explain that. My bad, actually. I was importing my own model in model.py and the trick was to do from mymodel import * rather than import mymodel -- now Catwalk works fine. Diwaker -- Web/Blog/Gallery: http://floatingsun.net/blog --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group. To post to this group, send email to turbogears@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~--~~~~--~~--~--~---
[TurboGears] Positional parameters in index method for mounted controllers
Hi, I'm trying to resolve a URL of the form '/user/username'. This works: class Root(controllers.RootController): @tg.expose() def user(self, *args): print args # prints username correctly But this doesn't: class User: @tg.expose() def index(self, *args): print args class Root(controllers.RootController): user = User() I get a object not found exception when I try to access /user/username However, using default() instead of index() in User works again. Is this expected behavior? Diwaker -- Web/Blog/Gallery: http://floatingsun.net/blog --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group. To post to this group, send email to turbogears@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~--~~~~--~~--~--~---
[TurboGears] Re: Positional parameters in index method for mounted controllers
On 2/22/06, Kevin Dangoor [EMAIL PROTECTED] wrote: On 2/22/06, Diwaker Gupta [EMAIL PROTECTED] wrote: I'm trying to resolve a URL of the form '/user/username'. But this doesn't: class User: @tg.expose() def index(self, *args): print args class Root(controllers.RootController): user = User() I get a object not found exception when I try to access /user/username However, using default() instead of index() in User works again. Is this expected behavior? Yes. Positional parameters do not apply to the index method. Thats weird. I remember reading somewhere that CherryPy 2.2 allows positional parameters on all methods. So I guess index is the one exception to that? Diwaker -- Web/Blog/Gallery: http://floatingsun.net/blog --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group. To post to this group, send email to turbogears@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~--~~~~--~~--~--~---
[TurboGears] Re: Want to help with the new website?
All honest comments are welcome. Take a look at it without CSS too, I would very much appreciate critique on accessibility, usability, and standards-compliance. (heres looking at you nerkles!) +1 Comments: o Fonts look too crispy. We need better Fonts (the current turbogears.org fonts render much better on my browser than this preview) o Too many colors. The violet/magenta specially looks out of place. o Corners. Can we do rounded corners? They look more smooth. o Tested in elinks, lynx and w3m as well. Looks good, specially the fact that the content appears before the menu links in text mode. o On my firefox, the se in release in the download box are hidden behind the big gear. Renders ok in Konqueror. o I don't like the slanting-stripes background. I think the background setup of the original preview was much better -- it blended in with the rest of the page very well. This one is distracting. Looking good! Diwaker -- Web/Blog/Gallery: http://floatingsun.net/blog --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group. To post to this group, send email to turbogears@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~--~~~~--~~--~--~---
[TurboGears] Catwalk doesn't honor encryption_algorithm?
I have the following set in my config.py: identity.soprovider.encryption_algorithm='sha1' However, when I try to add users using Catwalk, the passwords are stored in clear text. I had to manually enter the sha1 digest to make it work through Catwalk. Is this is a known issue? I'm running r791. Couldn't find a corresponding ticket on Trac. Diwaker -- Web/Blog/Gallery: http://floatingsun.net/blog --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group. To post to this group, send email to turbogears@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~--~~~~--~~--~--~---
[TurboGears] Re: Fwd: [mochikit] Port of script.aculo.us
For those of you not on the MochiKit list, I wanted to bring this up: Thomas Hervé has ported Script.aculo.us to MochiKit! I took a quick look through, and it's a good start. This is fabulous! TG and friends need a lot more visibility at this stage and this will help tremendously. Blog away! :) Diwaker -- Web/Blog/Gallery: http://floatingsun.net
[TurboGears] Re: Fwd: [mochikit] Port of script.aculo.us
This is fabulous! TG and friends need a lot more visibility at this stage and this will help tremendously. Blog away! :) I'd wait until it lands in SVN to blog about it. This will be a MochiKit 1.3 feature. Sure. I'm just trying to build up the buzz around here, so that when it is time, there's a visible splash in blogosphere :) -- Web/Blog/Gallery: http://floatingsun.net
[TurboGears] Re: problem with kid py:match
On 11/30/05, Dan Jacob [EMAIL PROTECTED] wrote: Remove xmlns=http://www.w3.org/1999/xhtml; from the html tag. Great. That works. But why? -- Web/Blog/Gallery: http://floatingsun.net
[TurboGears] diggdot.us third most popular mashup!
I think we should take this opportunity to popularize turbogears a bit more! Folks, please talk about this and link on your blogs! http://www.readwriteweb.com/archives/top_mashups.php -- Web/Blog/Gallery: http://floatingsun.net
[TurboGears] Thoughts on a Python ORM
I reached this from Planet Python: Another word on the Relational Model and Python http://betur.net/blog/?p=6 Very nicely written, and sums up my occasional confusion when working with SQLObject. IIUC, SQLObject tries to be a pure ORM, and might not always fit well with the relational model. I really wanted to know how people thought about it -- especially Ian and other SQLObject developers. This mail probably belongs on their mailing list, I'm just being lazy. I'm happy to repost there if needed :) Diwaker -- Web/Blog/Gallery: http://floatingsun.net
[TurboGears] Re: Problem getting identity working
I think you need to run a more current version of Turbogears (read SVN). You seem to be running 0.8a3 -- I don't think identity module was even available back then. On 11/23/05, Steve Bergman [EMAIL PROTECTED] wrote: I'm running through Jeff's howto on using the identity code using svn revision 242. ( http://trac.turbogears.org/turbogears/wiki/IdentityManagement ) When I try to create the model, I get the error below. My sqlobject.txt file looks like: db_module=idtest.model, turbogears.identity.model.somodel history_dir=$base/idtest/sqlobject-history Any ideas? Thanks, Steve -- Web/Blog/Gallery: http://floatingsun.net
[TurboGears] errors on quickstart
This is probably something very simple, but all this easy_install and egg stuff is confusing me :-( So I did a svn up, python setup.py develop, and tg-admin quickstart. At the end of the command, I get: unning /usr/bin/python setup.py egg_info Error (exit code: 1) Traceback (most recent call last): File setup.py, line 2, in ? from turbogears.finddata import find_package_data File /home/diwaker/software/turbogears/turbogears/__init__.py, line 11, in ? from turbogears import startup File /home/diwaker/software/turbogears/turbogears/startup.py, line 8, in ? pkg_resources.require(TurboGears) File /usr/lib/python2.4/site-packages/setuptools-0.6a8-py2.4.egg/pkg_resources.py, line 503, in require needed = self.resolve(parse_requirements(requirements)) File /usr/lib/python2.4/site-packages/setuptools-0.6a8-py2.4.egg/pkg_resources.py, line 487, in resolve raise VersionConflict(dist,req) # XXX put more info here pkg_resources.VersionConflict: (CherryPy 2.1.0-rc2 (/usr/lib/python2.4/site-packages/CherryPy-2.1.0_rc2-py2.4.egg), Requirement.parse('CherryPy=2.1.0,!=2.1.0-beta,!=2.1.0-rc1,!=2.1.0-rc2')) Traceback (most recent call last): File /usr/bin/tg-admin, line 7, in ? sys.exit( File /home/diwaker/software/turbogears/turbogears/command/__init__.py, line 233, in main command.run() File /home/diwaker/software/turbogears/turbogears/command/quickstart.py, line 89, in run command.run(cmd_args) File /usr/lib/python2.4/site-packages/PasteScript-0.3.1-py2.4.egg/paste/script/command.py, line 176, in run result = self.command() File /usr/lib/python2.4/site-packages/PasteScript-0.3.1-py2.4.egg/paste/script/create_distro.py, line 94, in command cwd=output_dir) File /usr/lib/python2.4/site-packages/PasteScript-0.3.1-py2.4.egg/paste/script/command.py, line 474, in run_command raise OSError(Error executing command %s % cmd) OSError: Error executing command /usr/bin/python It seems I'm missing something related to CherryPy and PasteScript. I tried doing a 'python setup.py install' in thirdparty/cherrypy, that didn't help. I also tried easy_install -U PasteScript CherryPy, that didn't help either. Any ideas? TIA :) -- Web/Blog/Gallery: http://floatingsun.net
[TurboGears] Re: errors on quickstart
Thanks Phillip, that worked perfectly! -- Web/Blog/Gallery: http://floatingsun.net
[TurboGears] problems with sql create now
Hey guys, Sorry to be such a dumb ass, but I'm having a really hard time with all the setuptools dependency stuff. Now I get the following error (I'm trying to run Jeff's identity sample) on tg-admin sql create: Traceback (most recent call last): File /usr/bin/tg-admin, line 7, in ? sys.exit( File /home/diwaker/software/turbogears/turbogears/command/__init__.py, line 233, in main command.run() File /home/diwaker/software/turbogears/turbogears/command/__init__.py, line 116, in run command.the_runner.run(sys.argv) File /usr/lib/python2.4/site-packages/SQLObject-0.7.0-py2.4.egg/sqlobject/manager/command.py, line 102, in run runner.run() File /usr/lib/python2.4/site-packages/SQLObject-0.7.0-py2.4.egg/sqlobject/manager/command.py, line 232, in run self.load_options_from_egg(egg_spec) File /usr/lib/python2.4/site-packages/SQLObject-0.7.0-py2.4.egg/sqlobject/manager/command.py, line 415, in load_options_from_egg dist, conf = self.config_from_egg(egg_spec) File /usr/lib/python2.4/site-packages/SQLObject-0.7.0-py2.4.egg/sqlobject/manager/command.py, line 425, in config_from_egg pkg_resources.require(egg_spec) File /usr/lib/python2.4/site-packages/setuptools-0.6a8-py2.4.egg/pkg_resources.py, line 503, in require needed = self.resolve(parse_requirements(requirements)) File /usr/lib/python2.4/site-packages/setuptools-0.6a8-py2.4.egg/pkg_resources.py, line 487, in resolve raise VersionConflict(dist,req) # XXX put more info here pkg_resources.VersionConflict: (TurboGears 0.9a0dev-r215 (/home/diwaker/software/turbogears), Requirement.parse('TurboGears=0.9a0')) -- Web/Blog/Gallery: http://floatingsun.net
[TurboGears] toolbox problems
I'm just starting to play around with SVN. When I try to run 'tg-admin toolbox' here are some problems I had: o it tried to load up a firefox instance since one was not running (which is fine). However, when firefox did start, it loaded up my home page rather than the toolbox page. This could be a Firefox glitch, I'm not sure. It would be a good idea to have tg-admin display the URL to point the browser to. o pointing to localhost:7654 doesn't do anything. UPDATE: it works. Weird. Didn't work the first time. Anyways, looks suweet :-) -- Web/Blog/Gallery: http://floatingsun.net
[TurboGears] routes
Are there any plans for using Routes [1] for mapping URLs, ala Ruby Routes? [1] http://routes.groovie.org/trac/ -- Web/Blog/Gallery: http://floatingsun.net