[tg-tickets] Re: [TurboGears] #998: Unicode instead of str in SQL query (CatWalk)

2006-10-08 Thread TurboGears
#998: Unicode instead of str in SQL query (CatWalk)
---+
 Reporter:  vfigueiro  |Owner:  anonymous
 Type:  defect |   Status:  new  
 Priority:  normal |Milestone:  1.0b4
Component:  Toolbox.Catwalk|  Version:  1.0b1
 Severity:  normal |   Resolution:   
 Keywords:  catwalk unicode query  |  
---+
Changes (by nyenyec):

  * version:  = 1.0b1

Comment:

 I, too see this with turbogears 1.0b1 and Postgresql.

-- 
Ticket URL: http://trac.turbogears.org/turbogears/ticket/998
TurboGears http://www.turbogears.org/
TurboGears front-to-back web development
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears Tickets group.
To post to this group, send email to turbogears-tickets@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-tickets
-~--~~~~--~~--~--~---



[tg-tickets] [TurboGears] #1141: Migrate widgets to genshi

2006-10-08 Thread TurboGears
#1141: Migrate widgets to genshi
--+-
 Reporter:  jorge.vargas  |   Owner:  anonymous
 Type:  task  |  Status:  new  
 Priority:  high  |   Milestone:  1.1  
Component:  Widgets   | Version:  trunk
 Severity:  normal|Keywords:   
--+-
 tasks

 1- check which widgets break
 2- create genshi templates to provide equivalent functionally.
 3- provide a way for std widgets to work with both genshi and kid.

-- 
Ticket URL: http://trac.turbogears.org/turbogears/ticket/1141
TurboGears http://www.turbogears.org/
TurboGears front-to-back web development
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears Tickets group.
To post to this group, send email to turbogears-tickets@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-tickets
-~--~~~~--~~--~--~---



[tg-tickets] [TurboGears] #1142: calendar translation error

2006-10-08 Thread TurboGears
#1142: calendar translation error
--+-
 Reporter:  olliwang  |   Owner:  anonymous
 Type:  defect|  Status:  new  
 Priority:  normal|   Milestone:  1.0b2
Component:  Widgets   | Version:  1.0b1
 Severity:  normal|Keywords:  widgets Calendar i18n
--+-
 There are some translation errors of calendar related to Traditional
 Chinese.

 Error variables:
 Calendar._TT[PREV_MONTH], Calendar._TT[PREV_MONTH]

-- 
Ticket URL: http://trac.turbogears.org/turbogears/ticket/1142
TurboGears http://www.turbogears.org/
TurboGears front-to-back web development
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears Tickets group.
To post to this group, send email to turbogears-tickets@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-tickets
-~--~~~~--~~--~--~---



[tg-tickets] Re: [TurboGears] #1142: [PATCH] calendar translation error

2006-10-08 Thread TurboGears
#1142: [PATCH] calendar translation error
---+
 Reporter:  olliwang   |Owner:  anonymous
 Type:  defect |   Status:  new  
 Priority:  normal |Milestone:  1.0b2
Component:  Widgets|  Version:  1.0b1
 Severity:  normal |   Resolution:   
 Keywords:  widgets Calendar i18n  |  
---+
Changes (by olliwang):

  * summary:  calendar translation error = [PATCH] calendar translation
  error

-- 
Ticket URL: http://trac.turbogears.org/turbogears/ticket/1142
TurboGears http://www.turbogears.org/
TurboGears front-to-back web development
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears Tickets group.
To post to this group, send email to turbogears-tickets@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-tickets
-~--~~~~--~~--~--~---



[tg-tickets] Re: [TurboGears] #1142: [PATCH] calendar translation error

2006-10-08 Thread TurboGears
#1142: [PATCH] calendar translation error
---+
 Reporter:  olliwang   |Owner:  anonymous
 Type:  defect |   Status:  closed   
 Priority:  normal |Milestone:  1.0b2
Component:  Widgets|  Version:  1.0b1
 Severity:  normal |   Resolution:  fixed
 Keywords:  widgets Calendar i18n  |  
---+
Changes (by olliwang):

  * status:  new = closed
  * resolution:  = fixed

-- 
Ticket URL: http://trac.turbogears.org/turbogears/ticket/1142
TurboGears http://www.turbogears.org/
TurboGears front-to-back web development
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TurboGears Tickets group.
To post to this group, send email to turbogears-tickets@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-tickets
-~--~~~~--~~--~--~---



[TurboGears] Re: WebFaction Hosting

2006-10-08 Thread Jorge Vargas

On 10/7/06, citizenkahn [EMAIL PROTECTED] wrote:

 Has anyone had any good or bad experiences with WebFaction?  Their
 website makes me think that deployment will be much easier than with my
 current hosting firm.

they haven't upgraded past TG 0.8 but that's because there is no
official stable build, but installing the eggs on your home is very
simple.

 How is there security, reliability, support etc...

best thing I have use in a while.

they provide you with .passwd access to every service and they are
very flexible with your account limits, also I have never went into
it and the service is down although I have to say I have this
account as a dev machine not prod.

 Thanks.


 


--~--~-~--~~~---~--~~
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] deploy on westhost

2006-10-08 Thread Olli Wang

Does anyone deploy app with FastCGI on westhost? I follow the FastCGI
setting in TurboGearsOnDreamHost wiki but got 500 internal error. any
help?


--~--~-~--~~~---~--~~
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: install problems mac os x power pc

2006-10-08 Thread Ronald Oussoren

On Oct 6, 2006, at 4:52 PM, Michael Steinfeld wrote:


 Hah! Bob you are exactly correct. The version of Xcode I installed on
 my powerbook didn't even have the Universal SDK. I just grabbed one of
 the disks from my Apple developer stack, and it was an older one.
 Following your advice, I upgraded XCode and made sure the Universal
 SDK-wich is checked by default-was being installed. All is well, and
 thanks for being patient with me.

For what it's worth: both python 2.4.4 and python 2.5.1 (both of  
which aren't released yet) will issue a warning when you try to build  
an extension without having the universal SDK installed.

Ronald



smime.p7s
Description: S/MIME cryptographic signature


[TurboGears] paginate and query parameters

2006-10-08 Thread Talin

OK I've spent about an hour searching the docs and looking at the
source code to the paginate decorator, and I can't figure this one out.

How do I use paginate in conjunction with a controller method that
takes multiple parameters? I have a search page that takes a url in the
form page.html?search=xxx. I'd like to be able to use the pagination
decorator - however, I can't figure out how to get the pagination
decorator to combine my search= query parameter with its own query
params.You would think that get_href would take optional params
indicating additional query params - just like tg.url does.

(And you can't use tg.url to glue together the pagination url and your
own query, because that just adds an extra '?' making the URL invalid.)

-- Talin


--~--~-~--~~~---~--~~
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] Now if Google would just host SVN...

2006-10-08 Thread fumanchu

http://groups-beta.google.com/group/turbogears/web


--~--~-~--~~~---~--~~
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: Now if Google would just host SVN...

2006-10-08 Thread Michele Cella


fumanchu wrote:
 http://groups-beta.google.com/group/turbogears/web

Cool... and google host svn (along with an issue tracking):

http://code.google.com/hosting/  ;-)

Ciao
Michele


--~--~-~--~~~---~--~~
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: To genshi or not to ...

2006-10-08 Thread Olli Wang

so why Karl Guertin said I can use widgets just fine at above thread? I
really want to know when genshi will replace kid in TG. or maybe
someone could tell me how to help you to replace kid in SVN?

Jorge Vargas wrote:
 On 10/6/06, Olli Wang [EMAIL PROTECTED] wrote:
 
  how to use TG's default widgets with genshi? I used to pass a TableForm
  widget to genshi and set ${form()}, ${form.render()}, but both of them
  didn't work.
 
 that is because the templates have not been migrated, for example your
 failing becuase.

 http://trac.turbogears.org/turbogears/browser/trunk/turbogears/widgets/forms.py#L1137
 
 still points to the kid namespace.
 
 
 
  
 


--~--~-~--~~~---~--~~
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: To genshi or not to ...

2006-10-08 Thread Jorge Vargas

On 10/8/06, Olli Wang [EMAIL PROTECTED] wrote:

 so why Karl Guertin said I can use widgets just fine at above thread?

Some work some don't, normally the simple ones work fine.

 I really want to know when genshi will replace kid in TG.

the current plan is that TG 1.1 will default to genshi, and you should
be able to switch between then at no or little cost.

 or maybe
 someone could tell me how to help you to replace kid in SVN?

this is already done, the trunk now defaults to genshi, I just made a
ticket with what needs to be done right now
http://trac.turbogears.org/turbogears/ticket/1141


by the way for the people reading this and wondering why the switch
genshi (aka markup) is 2-4 times faster then kid, it's syntax is so
close to kid that only constructs changed and it has a plain text
template and a XML template, so it should replace both the need people
have right now to use cheetah and kid.

 Jorge Vargas wrote:
  On 10/6/06, Olli Wang [EMAIL PROTECTED] wrote:
  
   how to use TG's default widgets with genshi? I used to pass a TableForm
   widget to genshi and set ${form()}, ${form.render()}, but both of them
   didn't work.
  
  that is because the templates have not been migrated, for example your
  failing becuase.
 
  http://trac.turbogears.org/turbogears/browser/trunk/turbogears/widgets/forms.py#L1137
 
  still points to the kid namespace.
 
 
  
   
  


 


--~--~-~--~~~---~--~~
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] How can I know each computer from another with CP and TG?

2006-10-08 Thread Jorge Vargas

First of all sorry for the double post, I'm not sure if there is some
CP only functionality that could help me on this.

OK let me explain to what I want to do.

I'm writting a small app for myself, basically because my mid-term
memory is really bad and I keep forgetting to do stuff, bring
stuff,etc.

I think of it as kind of a multiplayer post-it

The idea comes in 2 flavors
- Me sending notes to myself
- Other people sending note to me.
and of course this applies to all users in the system.

The main feature I want for it is to send notes in this form

From [EMAIL PROTECTED] to [EMAIL PROTECTED] remenber to bring the DVD John has 
been asking for
and of course
From John to [EMAIL PROTECTED] Dude for the last time give me my DVD back! 

one feature I'll like to add in the future (if possible) is messages like
from [EMAIL PROTECTED]@linux to [EMAIL PROTECTED]@windows test link this nice
program too bad it only runs on windows

by the way the @ is probably a feature for later, I have 2 textboxes,
which will probably the nice autocomplete widget with the users in
your group

in order to do this I need to identify and track every computer that
each user has (I'll probably add a hide computers),

I really don't want to use a cookie they are evil

I though about the userAgent but this may be the same for 2 computers
the same user has specially if they are something like firefox on any
binary distro where they will probably the the same. (with the
autoupdates and package managers)

and I reallly don't want to log IP address or anything like that.

So I'm kind of stuck on which will be the best way to implement this
Computer Entity I hope that any of your which know more CP can give
me a way to use/store this.

Just one more thing I started this yesterday and it's still a bit
fussy but my idea with it is simple, send plain messages between small
groups of people, it's no Web2.0, killer app , wannabe takeover the
world, in fact I plan to keep it very simple, A send a message to B, B
reads it new messages or all it's messages, and can delete any
message. that's my goal for 0.1 if you want to put it that way, maybe
I'll find more interesting stuff to add later, Like read email
notifications, non-web client, who knows

Ok I lie it was 2 things
Ones i have this 0.1 I'll set up a public svn/trac/demo and release it
as OSS so people can incorporate any weird things they may find
interesting. and since I sux at writting CSS and javascript maybe
someone will come over and give it a nice interface.

thanks in advance
Jorge

--~--~-~--~~~---~--~~
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] how to commit?

2006-10-08 Thread Olli Wang

hi, I'm new to subversion. I found some error translations in svn at
root/trunk/turbogears/widgets/static/calendar/lang/calendar-zh-tw.js(and
calendar-zh-tw-utf8.js, calendar-zh-tw-utf-8.js)
but I can't commit my modified file(it needs username and pw), any help?


--~--~-~--~~~---~--~~
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: how to commit?

2006-10-08 Thread Jorge Vargas

On 10/8/06, Olli Wang [EMAIL PROTECTED] wrote:

 hi, I'm new to subversion. I found some error translations in svn at
 root/trunk/turbogears/widgets/static/calendar/lang/calendar-zh-tw.js(and
 calendar-zh-tw-utf8.js, calendar-zh-tw-utf-8.js)
 but I can't commit my modified file(it needs username and pw), any help?

please read http://docs.turbogears.org/1.0/Contributing

at the end there is a section on how to submit a patch.
to create the patch file use
svn co http://www.turbogears.org/svn/turbogears/trunk turbogears
make your changes
svn diff  calendar_zh.patch (or some suitable name)


 


--~--~-~--~~~---~--~~
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: paginate and query parameters

2006-10-08 Thread Adam Jones

get_href already uses tg.url, but could probably be fixed by adding
keyword support and having it pass those keywords to tg.url. Here is
what would need to be changed:

In the file paginate.py:

-def get_href(self, page, order=None, reverse_order=None):

+def get_href(self, page, order=None, reverse_order=None, **kw):

-return turbogears.url('', self.input_values)

+return turbogears.url('', self.input_values, **kw)

Hope that helps, I haven't had a chance to test this so it may not work
first try.

-Adam


--~--~-~--~~~---~--~~
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: How can I know each computer from another with CP and TG?

2006-10-08 Thread Adam Jones

If one of the project's preconditions is disallowing cookies the only
other options I can think of are getting the MAC address, having your
location as an option when signing in, or moving the location to tabs
inside the program.

The MAC address solution would be ... interesting. It might be doable
with a cherrypy filter right when the request is received. The problem
is that a lot of networks use proxy servers or NAT routers. In either
of those cases different systems on the network would be
indistinguishable from each other.

My suggestion would be to just use a cookie, at the least just to store
previous computer/location selections.

-Adam


--~--~-~--~~~---~--~~
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: How can I know each computer from another with CP and TG?

2006-10-08 Thread Bob Ippolito

MAC addresses don't leave the LAN.

You have two exactly three options:
1. Stick all of the state in the URL (or a session ID).
2. Keep all of your state (or a session id) in forms and make sure
that every link is a form submit (using GET instead of POST would be
an ugly variant of 1).
3. Stick state or a session id in a cookie.

Pick one. There aren't any other options.

-bob

On 10/8/06, Adam Jones [EMAIL PROTECTED] wrote:

 If one of the project's preconditions is disallowing cookies the only
 other options I can think of are getting the MAC address, having your
 location as an option when signing in, or moving the location to tabs
 inside the program.

 The MAC address solution would be ... interesting. It might be doable
 with a cherrypy filter right when the request is received. The problem
 is that a lot of networks use proxy servers or NAT routers. In either
 of those cases different systems on the network would be
 indistinguishable from each other.

 My suggestion would be to just use a cookie, at the least just to store
 previous computer/location selections.

 -Adam


 


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