Of course I use this on a mac http://www.paulhammond.org/webkit2png/
--~--~-~--~~~---~--~~
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
I think this may be of some use to you http://khtml2png.sourceforge.net/
--~--~-~--~~~---~--~~
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
Ah I see! Thanks guys I might just stick with enumerator, it's no
longer hand than creating a cycle iterator from the looks of it.
On Nov 1, 5:15 pm, Karl Guertin [EMAIL PROTECTED] wrote:
On 11/1/06, Richard (koorb) [EMAIL PROTECTED] wrote:
I also tried ${tg.cycle(('odd','even'))} (without
I tried
tr py:for=item in item_list
class=${tg.cycle(('odd','even')).value}
td${item.name}/td
/tr
I also tried ${tg.cycle(('odd','even'))} (without .value) But I only
get None or odd ?
--~--~-~--~~~---~--~~
You received this message because you are
Right on cue. Thank you. I think this will be very useful!
--~--~-~--~~~---~--~~
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
potens wrote:
I think the DVD is very interesting but... if I don't understand
anything,
it won't be very usefull :'( (I know, it's sad to be a so bad english
speaker)
Hey, that is unfortunate! I wonder if there is anyone that would be
prepared to do some translated versions? What language
Ah I forgot about sitetemplate! I think passing tg_template through the
dictionary is the best option as it stands at the moment
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
TurboGears group.
To post to this
I am just starting a major new e-commerce project. The requirements
mean that I need to change to look and feel, content and layout
dynamically. Simply put if I visit the one TG application from
www.example.com it would have to use a different template package to
www.another-example.com.
Would
marcelo ametller wrote:
it's ok?
I see: http://koorb.co.uk/turbogears/preview/ and it's not equal to
http://www.turbogears.org/
That one was an evolution I tried but the one on turbogears.org is the
one that was agreed on - Some elements of that preview will make there
way into the new site
Im using a pgsql database I started a new quickstart with 0.9a5 and
tried to do an sql create using just the existing model. and I get the
following error:
psycopg2.ProgrammingError: parser: parse error at or near user at
character 14
I have tried to upgrade psycopg2 but easy_install just gives
Specifying the the table name as tg_user works perfectly! Thanks so
much :-)
class User(SQLObject):
class sqlmeta:
table=tg_user
Michael Weiner wrote:
i wasnt aware there was a
psycopg egg available. And i thought easy_install really only worked
with
either eggs or the source, am i
The tests run (1 failure), but the Table Demo under UI4W in Action
crashes Safari (could be Saft).
I got that too
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
TurboGears group.
To post to this group, send
Thanks for noting this. I did notice that the png fix is not working at
the moment. this will be fixed soon :-)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
TurboGears group.
To post to this group, send email to
It's good to see things moving so quickly. (I will get moving on the
web site) How do we use the tgbig template for quickstart then? did I
miss that?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
TurboGears
Michele Cella wrote:
Can this help you Richard: http://tinyurl.com/hzm8j
Thanks Michele, so this is the basic syntax right:
tg-admin quickstart -t tgbig
that's cool and works accept it doesn't ask me for a project name and I
end up with a directory called tgbig, which I don't want :-)
PS
If you have any idea what you want let me know and I'll try to spend
some time on it. I can't say for sure that I'll have time yet so anyone
else please respond too :-)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Also, I don't think you should use whitespace to align things like
that, I'm pretty sure the PEP8 style guide says to avoid doing that.
Kevin Dangoor wrote:
Hi Jonathan,
On 3/24/06, Jonathan LaCour [EMAIL PROTECTED] wrote:
Jonathan LaCour wrote:
Once I am relatively happy with this, I
, you are right that this is probably more common. I just yanked
the imports from one of my TG projects :)
Richard (koorb) wrote:
Also, I don't think you should use whitespace to align things like
that, I'm pretty sure the PEP8 style guide says to avoid doing that.
Done. Its PEP8 compliant
We need to be careful not to turn this in to a mac vs
_put_your_preferred_platform_here_ flame thread.
There are many reasons why I chose Mac. But with regards to
development,you get the comfort of a powerful, user-friendly desktop
coupled with the everything unix is. I can use bash and have
Jonathan LaCour wrote:
I would just like the gauge the potential interest in a TurboGears
TextMate bundle. If you are interested, please let me know, and let
me know what kinds of things you might like to see included.
That would be so great. the only thing I have at the moment is tgexp
Ahh! thank you very much guys suddenly the light dawns, that's great!
--~--~-~--~~~---~--~~
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
Thanks so much for your help, but ...
Kevin Dangoor wrote:
options = lambda: [(group.id, group.displayName) for group in
identity.current.groups]
I tried that, only got the same error. Also tried specially defining a
function:
def current_group_list():
return [(group.id,
Michele Cella wrote:
It's strange if you're really passing current_group_list and not
current_group_list() this function will be called only at display time
(when the request is available), when are you receiving this exception?
when you click that page or before?
Ciao
Michele
actually I
Nicky Ayoub wrote:
I use something like this:
options=[(group.id, group.displayName) for group in model.TG_Group.select
()]
That's exactly what I'm trying to do, thanks! So the basic idea is to
provide a list of tuples [(key, value)] like in Michele's example.
options = [(1, First
one more thing ...
specify the selected value? I have looked at the source but I'm none
the wiser. I think I will put together a page on the wiki about this
until more docs are available.
Thanks guys
Rich.
--~--~-~--~~~---~--~~
You received this message because
The project I am working on at the moment uses a controllers package,
the directory contains __init__.py controllers.py and
otherControllers.py
The login and logout controllers remain in controllers.py while the
otherControllers.py uses identity.require quite happily. So what's the
problem? I
Hi Kevin,
I have literally just turned on the commented items in config.py
visit.on=True
(...)
identity.on=True
(...)
identity.failure_url=/login
And as I say it does work, correctly protects the methods even of the
mounted controller. It is only when I try to access it from
the order placement and order processing will be shifted in
time because order fulfillment will be a manual task. In this work
flow the card number must be kept somewhere between the time of receipt
and processing
Can the payment not be taken in advance of the order being filled? I
would
I am desperately trying to work with widgets at the moment I am
creating a form using WidgetsDeclaration but when I add a
singleselectfield like this:
group = widgets.SingleSelectField(name=group, label=In group,
options=[group.displayName for group in
model.TG_Group.select()])
then I
Hey Michele,
Thanks for that I will give it go tomorrow
Richard
--~--~-~--~~~---~--~~
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
Jorge Godoy wrote:
Do you really need to store the credit card numbers? At least here it is
illegal and not recommended. After the transaction has been done, then you
don't need the numbers anymore...
You would for reoccurring billing or like Amazon, so the customer does
not have to enter
a dedicated unix box secured to the hilt. And indeed
as you say the best option is leave it to the people dedicated to such
tasks, such as worldpay etc.
Robin Haswell wrote:
Richard (koorb) wrote:
Jorge Godoy wrote:
Do you really need to store the credit card numbers? At least here
Afternoon everyone,
I am trying to use a postgresql database, but it seems that due to it's
awareness of dependancies tables need to be created in a specific
order. on tg-admin sql create I am simply getting the error
psycopg2.ProgrammingError: Relation tg_user does not exist
Because I am
Other than the external soprovider which is imported at the top of the
model.py I only have one file at the moment.
The interesting thing is the only table that gets created is the
*last* one in model.py
I did look for docs but I couldn't find anything, now I know it's
_so_classes I'll have
I think you should be able to do
easy_install MySQLdb
--~--~-~--~~~---~--~~
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
ah ha! that worked, only it was soClasses so in model.py I did:
...
__connection__ = hub
soClasses = ['TG_User', 'TG_Group', 'TG_Permission', 'MyTable']
And it worked fine cheers Jorge
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Jorge Vargas wrote:
you did uncomment the
from turbogears.identity.soprovider import TG_User, TG_Group, TG_Permission
line right?
hehe yes!
When I do tg-admin sql list it displays my own classes first:
myapp.model.MyTables
...
turbogears.identity.soprovider.TG_Group
Kevin Dangoor wrote:
I broke something through the
less-than-intuitive webmin interface
it don't make webmin perfect but a bit more bearable and usable
http://www.stress-free.co.nz/content/view/141/2/
I made a mod to open the AJAX module search with alt+space, speeds up
using it no end
Specially the icons! :-)
thank you, I was quietly pleased with those :-) I made some others if I
find a use for them.
I agree, seeing it at work today on a smaller screen, it does look a
little ... over powering, I will look to shrinking it all down some.
Since no one else has I looked at it
Jorge Vargas wrote:
and google cache doesn't has the page i'm looking for :(
It came through for me, luck of the draw I suppose! yay google cache!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
TurboGears
are you running linux? you can run VMWare without charge now :)
nope! the on and only Mac OS X :-)
I was under the impression that only VMware player was free - and seeing
as Windows is certainly not free, I don't think that's a solution
I have a copy of windows XP, just nothing left to
Karl Guertin wrote:
On 3/14/06, Richard (koorb) I will see what I can do with IE, I
might have to invest in some kind
of virtual pc maybe ...
I'm willing to take care of it once you finalize the design.
Hey Karl,
That would be magic. I'll email you tonight
about the screenshots if you have the storage I could do that (i know it was
a joke) but all I need is a screenshot module for python :D my PC at home is
only 24/7 if it doesn't crash
hmm there's an idea. the best thing is kind of on demand screenshots,
but that would be tricker I suppose.
As long as you're not using IE no-nos (complex float stuff, fixed
positioning, etc), it's not that big of a deal to do the IE tweaks.
It is using floats, don't know if it would be considered complex usage
though!
I find it necessary to have access to IE for testing, as I always forget
Did we get to the bottom of this? Because this it's happening to me!
Anyone got any advice, here my tg-admin info:
TurboGears 0.9a1
nose 0.8.4
RuleDispatch 0.5a0
setuptools 0.6a10
FormEncode 0.4
cElementTree 1.0.5-20051216
PasteScript 0.4.1
elementtree 1.2.6
simplejson 1.1
SQLObject
I often just do tg-admin sql create over the top, I may be wrong but I
think it has been updating the structure!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
TurboGears group.
To post to this group, send email
oh hey, just tried easy_install -U to force upgrade 0.9.1 all seems
well!
--~--~-~--~~~---~--~~
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
Hey guys,
In an attempt to improve the web site, I have another mock-up for you
to peruse [1]. Take into account there is some stuff missing, we need
to mention more about the screencasts and whatever, which I seem to
have omitted, but content can be shuffled, added and removed so
comments on
+1 good plan
--~--~-~--~~~---~--~~
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
Wolfgang wrote:
Most people call such a list devel anyway.
Why not call this list turbogears-devel as every other project does
this ?
Leave turbogears list as it is. No need to add -users to the old one.
I don't think it would confuse anyone, seen as most people interested
in such a list
+1 thumbs up to this idea.
Michele Cella wrote:
Mike Pirnat wrote:
+1 for a controllers directory/package, and +1 for doing the same with
models. This gives a symmetry to the layout of controllers, models,
and templates that (at least to me) seems pleasant.
+1.
That's the first
Reading long lines (too wide) is
potentially confusing.
I don't think so.
one can't always please everybody...
That is very true!. It's generally accepted though that the longer a
line of text the harder it is to get to the next line. You need to
increase the leading, space between the lines,
TurboGears is mentioned at the top of
the first page of http://www.python.org/
that's wicked - but ... um .. since when did the python web site look
so sexy?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Hey Mike,
Thanks for that, I did notice the same thing on one of my later
designs.
This is one of the reasons why I prefer using liquid layout
Yeah, I am looking at liquid designs. There just a little bit harder
with standards ;) but thanks to many wisdomus people and that they like
to share,
Rico isn't very cross platform, doesn't work in safari!
--~--~-~--~~~---~--~~
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
What do you think of something like an animated gif (or flash) that
shows a snippet of code
as it happens this I had played with this long time ago, nothing to
show for it. I liked what TextMate once had on their home page, tiny
little gifs showing one or two features, I think Karl is right
Hi folks,
This is not complete, but I thought I would throw it out for critics. I
have developed it in Safari and Firefox (Mac) but I believe there are
some bugs in IE. If some one with a windows box and a knowledge of
XHTML/CSS could have a look for me, I would be very much obliged!
All honest
Karl Guertin wrote:
What was wrong with the design everybody agreed on?
Yeah, sorry this isn't meant to be definitive. Just a proposition to
everyone.
I probably should have explained more why I wanted to do something
different.
The design being used on the current /preview (the one we all
Michele Cella wrote:
IMHO we could replace our calendar widget (LGPL, and
Kevin said it was a bit ambiguous) with this one:
http://developer.yahoo.net/yui/calendar/index.html
This is also nicer (take a look at the examples), localized and
maintained by yahoo.
The old one can still be
I use an iMac Duo and I have compiled python from source with no
trouble, I have also used MacPython 2.4.1 and TigerPython24Fix from
http://undefined.org/python/ I install TurboGears from SVN and thus far
have had no problems. I have never bothered using python 2.3. It's easy
enough to upgrade -
Indeed, if I install the distribution from http://undefined.org/python/
it runs under PowerPC however the version I compiled from source
appears to run under Intel (it was also very quick, not 4 minutes
passed from downloading to running $ python)
Bob Ippolito wrote:
On Feb 13, 2006, at 3:03
of pkg_resources.py in setuptools:
__import__(moduleOrReq)
It happens when moduleOrReq is 'turbogears.fastdata.templates'
When I import it in advance, and put on the first line of config.py
import turbogears.fastdata.templates, the error is gone.
Cheers.
Ronald
On Jan 27, 2006, at 11:05 AM, Richard
David Stanek wrote:
there is a property on the Kid serializer that you can set to turn off this
formatting.
This may be something to set automatically anyway. It seem like good default
behavior to not have Kid reformat the document structure.
I completely agree with this, KID/TurboGears
So I get this message when I try to *browse* my table in catwalk:
Fail to load object instance: coercing to Unicode: need string or buffer,
NoneType found
though I should tell you that my model is this:
class AddressBook(SQLObject):
_fromDatabase = True
_idName = address_book_id
update; this works fine!
class Customers(SQLObject):
_fromDatabase = True
_idName = customers_id
hehe! so I suppose it is something to do with the format of the mysql
table. A dump says this is the structure of my table:
CREATE TABLE `address_book` (
`address_book_id` int(11) NOT
Ah that's beautiful, really useful too!
Ronald Jaramillo wrote:
Hi,
I have posted an illustration on my blog (http://
www.checkandshare.com/blog/?p=34) that tries to describe the way a
request 'flows' through the TurboGears stack. I plan to use it for my
presentation (and maybe for the
over the book
*column* the drag handle would appear next to the book *table*
Robin Munn wrote:
On 1/14/06, Richard (koorb) [EMAIL PROTECTED] wrote:
As trac wont let me post a new ticket I'll mention it here.
If you have a field that has the same name as a table, as you mouse
over
Convention dictate that your classes should be uppercased
Ahh! do you know, I didn't notice that. I do when I write model myself,
thanks!
I have a table with two relationships, when browsing a single record
and using the very useful reveal feature to see the records in the
relationship;
Using safari:
when I mouse over the menu on the first table to tick columns on or off
the menu for the second table appears, not the one I want.
As trac wont let me post a new ticket I'll mention it here.
If you have a field that has the same name as a table, as you mouse
over the field the drag handle appears next to the table instead
Looks like a foreign character in modelDesigner.js, the accented A
Firefox says:
Error: missing ) after condition
Source File:
http://imacg5.local.:7654/tg_toolbox/designer/javascript/modelDesigner.js
Line: 1314, Column: 24
Source Code:
if(name=='None' ||Â name == '') return;
That's great news. I have often looked at script.aculo.us and stomped
away mumbling to myself that two JS frameworks is just too messy ... I
will take a good look and see what I can do to help.
Martina Oefelein wrote:
python project-start.py || growlnotify -t project stopping -m bye,
bye...
This pops up a message when the server stops due to an error during
autoreload. This way, when I save changed code while the server is
running, I don't have to watch the terminal window for
like what exactly? does it need to be in a specific format?
hmm, seems somewhat highjacked. I will post this here anyway
- Designed to fit on 1024 width and centred on the page.
- I know there is still no mailing list signup box, I'm trying to fit
it in.
http://koorb.co.uk/static/images/tglogos/layouts/blue-light-3.png
Just going to throw this on the table quickly for some feedback
http://koorb.co.uk/static/images/tglogos/layouts/blue-light-2.png
[1] is a slightly different approach with the following provisos;
- Three steps are just filler ideas, so both text and images should be
improved.
- Download Now grey box should have relevant information about the
current release.
- Order and position of elements are initial suggestions
The titlebar is 1024 pixels wide, but the page body is 800 pixels wide
(well, about 750 since you're allowing for a vertical scrollbar). Is
there a reason for this?
(...)
Actually, I see you've already planned for this eventuality: the
right-hand side of the titlebar can drop off very
Kevin Dangoor wrote:
layout 3 has a gray band at the right that is screaming out for
*something* to happen there. I like the bottom half of layout 3, but
prefer the top half of layout 2.
Kevin
Just want to say again that where there is is blank space on my
layouts, I mostly intend for there
Don't miss my super interesting post [1] :-)
Kevin Dangoor wrote:
I haven't been clear on this point, but I should be: I think the front
page *should* be more about pitching TurboGears than providing info
for the regular community. I'm thinking that letting a little bit of
what's going on
http://trac.turbogears.org/turbogears/wiki/DefaultTemplates
Elvelind Grandin wrote:
Perhaps we should add a little comment explaining some off the things
in the standard templates?
Michele Cella wrote:
I also agree that for example others widgets like a
TinyMCE/FCKEdiror... should just use entrypoints and be installed from
a separate egg, the TG distribution should be focused on providing the
best framework to build all these things.
These are defiantly just niceties
Just to mention that the gear needs some attention to work at this size
(in layout-3), you loose much detail because it's so subtle and it
gains a much more pronounced outline which gives it something of a
cartoonish look (more like my first attempts ;-)
Pardon me for jumping in, but I think that retaining two widgets for
the sample feature is a very bad idea.
Your pardoned, but your more than welcome to jump in :D
I don't think one solution, in such an open ended situation, is
possible.
each option has pros and cons
I may want to output a
I would very much like to see generic payment modules. Integration in
to common payment gateways, other than PayPal, coupled with transaction
management?
Could you have a toolbox type of approach to stuff like this? Cart /
Catalogue / Payment?
Also, a little subject jump, a thought that went
That's fantastic news! Wt, radicalawesomecowabunga, and indeed
yippee!
Jared Kuolt wrote:
Yes. How totally radicalawesomecowabunga.
On 12/19/05, Ronald Jaramillo [EMAIL PROTECTED] wrote:
Wt = )!
On Dec 19, 2005, at 9:55 PM, Kevin Dangoor wrote:
After a month of
I was a bit torn in views here, but I see your point. It appears as
quite a different element, similarly if you were to create an auto
complete widget (combo-box style) I wouldn't expect that to be an
option of widgets.SelectTextBox. The way I see it widgets are not a way
to create (x)html tags
Michele Cella wrote:
Personally I don't like CracAjax (at least ATM), to me it seems just
like writing javascript code into a python file instead of where it
belongs (a js file):
Here, here!
JavaScript can be considered a bad or a good language, anyway it's a
language and you need to use
There no reason to put it in tg-admin (it's not a package manager) when
we have easy_install. :-)
Good point, I was merely thinking as to how integrated it would be to
turbogears rather than independent apps.
However, I think something like this could be integrated into the
Toolbox.
Looks like a good idea, well done. Perhaps this is something that could
be built into turbogears?
Text default - for those pitiful few that can not read html email, I
would like to produce text.
Some of us *choose* to view only text in our e-mail clients!
Hi Jeremy,
I should think this would be a popular application. I believe, like
toolbox applications, you can just distribute your app and allow people
to plug-in to it.
I was wondering if this might be
something that might have enough general appeal for inclusion in TG
I don't think it's
I don't mind which one stays. If it works on Macs -- I believe that's what
you use
Do you have an alternative browser to test?
I do use Mac, safari normal (though Firefox seems faster, at least on
the javascript side of things, but it just aint as pretty!) so I have
tried it in Firefox and
I have the trouble that kid insists on giving me the loose/transitional
doctype even when I set it to be strict in both child and master.kid's
I do find the logo a little
large and distracting. I can't read the content because all I see is
a giant bright-yellow gear! If it were scaled down 30-40% I think it
would be great.
agreed
I think that the top bar is far too easy to ignore, being gray, and would
probably look better as
I know I am not completely alone on the having problems with the
current calendar widget, this [1] is the JS calendar that was part of
another python-form-widget thing someone posted about. and I personal
think is it much nicer, much more user friendly. Anyone got any reasons
why we choose the
Angus Lee wrote:
I just find this question hard to answer when it was raised by a friend.
... nothing infact!
http://lesscode.org/projects/kid/wiki/KidFaq#why-did-you-name-it-kid
It was the first word that popped into my head. This project follows a
time-honored Python tradition of not
If I'm looking at it correctly, the user has 2 options: Set 3 seperate
dropdowns or use the graphical calendar. For data entry applications
this is terrible.
I see your point. I thought it was quite user friendly - I wasn't
looking at it from that point of view. well could we have have two
What problem did you have?
see [1] Apart from the obvious watch the scroll-bar when I first launch
the calendar, on a different view the calendar appears to jump across
the screen. Toward the end I am trying to drag the thing around, and it
leaps up to the top of the web page.
Not gona make a
http://furius.ca/atocha/test/demo/cgi-bin/query.cgi
Now that's the kind of calendar widget I'm talking about, nice and
simple and works in my browser, and how about the fact that it uses
drop downs too. user-friendly, I think so!
A quick play with an idea [1]. The yellow on blue reminds me of
something else, but I can't think what right now - just so you know I
didn't intentionally rip of someone else's colour scheme.
I'm also a little unsure about the lack of colour generally - seen as
the gear and blue splash bar
1 - 100 of 101 matches
Mail list logo