Unfortunately, I built exactly how you specified and I still have my
original problem. It seems that I'm hitting the 'flash' because my
request header contains the text from it, but CherryPy still ends up
giving a 500 server error. Can we do a version comparison again, now
that I'm on Fedora and I've installed everything the same way as you?
Here's my error:
500 Internal error
The server encountered an unexpected condition which prevented it from
fulfilling the request.
Page handler: <bound method Root.process_registration of
<snifflemap.controllers.root.Root object at 0x9e776ec>>
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/cherrypy/_cphttptools.py",
line 121, in _run
self.main()
File "/usr/lib/python2.5/site-packages/cherrypy/_cphttptools.py",
line 264, in main
body = page_handler(*virtual_path, **self.params)
File "<string>", line 3, in process_registration
File "/usr/lib/python2.5/site-packages/turbogears/controllers.py",
line 344, in expose
*args, **kw)
File "<string>", line 5, in run_with_transaction
File "/usr/lib/python2.5/site-packages/turbogears/database.py", line
412, in sa_rwt
req.sa_transaction.commit()
File "/usr/lib/python2.5/site-packages/sqlalchemy/orm/scoping.py",
line 74, in do
return getattr(self.registry(), name)(*args, **kwargs)
File "/usr/lib/python2.5/site-packages/sqlalchemy/orm/session.py",
line 481, in commit
raise exceptions.InvalidRequestError("No transaction is begun.")
InvalidRequestError: No transaction is begun.
On Feb 18, 7:47 pm, lorax <[EMAIL PROTECTED]> wrote:
> Awesome.. This may be what I need. Thank you very much Toshio. I
> have a VM built with a fresh updated Fedora Core 8... I'll try your
> advice tomorrow.
>
> On Feb 18, 4:09 pm, Toshio Kuratomi <[EMAIL PROTECTED]> wrote:
>
> > lorax wrote:
> > > I now get the same behaviour on Ubuntu, Windows XP, and Fedora Core
> > > 8 :-(...
>
> > > Can anyone who has this working properly tell me how they installed
> > > turbogears?
>
> > > I basically use 'python tgsetup.py' and then easy_install the rest of
> > > the components:
> > > SQLObject
> > > SQLAlchemy
> > > Elixir
> > > ToscaWidgets
> > > Genshi
> > > gsquickstart
>
> > > This must have to do with the way I'm installing. The exact project
> > > (with config) works for others but not me.
>
> > > Help please? This is my last resort.
>
> > On Fedora Core 8 I installed using the distro packages.
> > TurboGears-1.0.4 is still in testing, though so it's a few steps:
>
> > Clean out the easy_install'd modules so they don't interfere.
>
> > sudo yum -y install TurboGears python-sqlalchemy python-elixir
> > python-genshi python-sqlobject
>
> > sudo rpm
> > -Uvhhttp://koji.fedoraproject.org/packages/TurboGears/1.0.4.2/3.fc8/noarc...
>
> > If there are some other dependencies that the new TurboGears needs, let
> > me know and I can find them for you.
>
> > (PS: I'm abadger1999 on IRC)
>
> > -Toshio
>
> > signature.asc
> > 1KDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---