ritesh: you need to give us something here. For most people, most of the
time, the info given so far would be enough to figure out the solution.

Why is this not working for you? What result are you expecting, and what
result are you actually getting? What version of TurboGears are you using?
What version of tg.devtools? Are you in a paster environment, or mod_wsgi?
Are you working out of a virtualenv or a buildout, or are you working
exclusively with the system installed Python and site-packages? Which
operating system are you on? What version of it? Is there any sample code
we can look at to see the problem, and maybe help you with?

Right now, all I can say for sure is that you're not getting the results
you expect. Without some (ideally, all) of that information, I can't even
begin to guess what the problem is, or how to fix it.

On Fri, Apr 27, 2012 at 12:44 AM, ritesh <[email protected]> wrote:

> Hi Moritz,
> Again it did not helped!!!!!!
>
> On Apr 26, 4:05 pm, Moritz Schlarb <[email protected]> wrote:
> > Well, instead of returning the file from the database, you can use
> os.open() and return the file iterator (which would be more efficient than
> first reading the whole file to memory).
> > You just need to get the correct path for the file, probably by using
> some __file__ or __package__ magic.
> >
> > Does that help you?
>
> --
> 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.
>
>


-- 
Michael J. Pedersen
My Online Resume: http://www.icelus.org/ -- Google+ http://plus.ly/pedersen
Google Talk: [email protected] -- Twitter: pedersentg

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

Reply via email to