Re: [TurboGears] What Would It Take?

2011-06-21 Thread Craig Small
I'm actually looking at using TG for a project I have in mind. For me the long-term viability is important as the worst thing would be to have something that uses a framework that is not maintained. It's probably worse than not using one at all. I've started writing the project and it's actually

Re: [TurboGears] Re: The TurboGears Roadmap

2011-06-30 Thread Craig Small
SQLAlchemy, Genshi, Sprox separately do I have TG? The answer is 'no' (you're just not sitting there downloading these things) but its not explained what that extra is. - Craig -- Craig Small VK2XLZhttp://www.enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org

[TurboGears] How to test child objects

2011-07-04 Thread Craig Small
on. SQLAchemy is happy because there is not a null for parent_id and I can actually test the Child object. Someone should hopefully confirm this is how you do this sort of testing. It works, but it doesn't mean it should work (or you should do it that way) - Craig -- Craig Small VK2XLZhttp

Re: [TurboGears] tg2 - model questions and suggestions

2011-07-21 Thread Craig Small
found those imports reasonably clear. For me it was have the stuff up the top and I don't care where it came from. - Craig -- Craig Small VK2XLZhttp://www.enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint

Re: [TurboGears] Importing predefined database with sqlalchemy

2011-09-14 Thread Craig Small
with data. I basically have an importer script that runs through each table and populates a new model for each row. Keeping the ids or primary keys is tricky but not too hard. It could be that is the exact opposite of what you are trying to do too. - Craig -- Craig Small VK2XLZhttp

[TurboGears] Forms Tutorial again

2011-10-07 Thread Craig Small
://www.turbogears.org/2.1/docs/main/WidgetsOverview - Craig -- Craig Small VK2XLZhttp://www.enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org old fingerprint: 1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5 NEW fingerprint: 5D2F

Re: [TurboGears] using multiple databases

2011-10-30 Thread Craig Small
guess is you need to make two DBSession objects. - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org old fingerprint: 1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5 NEW fingerprint

Re: [TurboGears] using multiple databases

2011-10-31 Thread Craig Small
On Mon, Oct 31, 2011 at 10:21:57AM +0100, jo wrote: Yes, it is exactly what I was looking for. Thanks a lot. And, by extension, thankyou #sqlalchemy folks for starting me down that path. They're been quite help in a number of ways (and important for me, awake when I'm online) - Craig -- Craig

[TurboGears] jqgrid: classes in rows, reloading (plus caching a page)

2012-02-21 Thread Craig Small
to me if I could cache it it would be better. - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 -- You received

Re: [TurboGears] Re: jqgrid: classes in rows, reloading (plus caching a page)

2012-02-23 Thread Craig Small
On Wed, Feb 22, 2012 at 09:36:10AM -0800, Ralph Bean wrote: On Feb 21, 3:56 am, Craig Small csm...@enc.com.au wrote: The first is auto-updates.  This table the grid uses for data is updated in the backend so I'd like to be able to display the last n'th items and update this every x seconds

[TurboGears] WebOb conflict

2012-02-27 Thread Craig Small
I updated my virtualenv to python 2.7 and now get a conflict: error: Installed distribution WebOb 1.0.8 conflicts with requirement WebOb=1.1.1 I'm not sure which set of packages is doing this, any suggestions on how to track this down? - Craig -- Craig Small VK2XLZ http://enc.com.au

Re: [TurboGears] Re: WebOb conflict

2012-02-27 Thread Craig Small
-- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 -- You received this message because you are subscribed to the Google Groups

Re: [TurboGears] Re: WebOb conflict

2012-02-28 Thread Craig Small
it. Thanks for pointing out I had the wrong Pylons. The code passes nosetests. - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50

[TurboGears] nosetests with external functions

2012-02-28 Thread Craig Small
module. -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 -- You received this message because you are subscribed to the Google

Re: [TurboGears] Re: Install trouble on Ubuntu 11.10 Server

2012-04-09 Thread Craig Small
environments? I've got a development virtualenv but still working out how best to deploy my project; either as me deploying it or writing up some document to tell others how to do it. - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http

Re: [TurboGears] How to publish ready project?

2012-05-02 Thread Craig Small
install_requires in setup_py is right if you use some extra things. That command makes an egg file. I've only be writing in python for a few months so could be wrong. - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org

[TurboGears] Toscawidgets 2 and Turbogears 2.2

2012-07-18 Thread Craig Small
thousand records you dont want to load them all in and then ditch most to display the middle 10. I couldn't see how that was done. I've 2.2.0rc2 here on my projects and they seem to be going ok. - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux

Re: [TurboGears] Toscawidgets 2 and Turbogears 2.2

2012-07-21 Thread Craig Small
, I have test code that more or less does all three methods; I'm just not sure what is the right one to use. - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint: 5D2F B320 B825

Re: [TurboGears] Toscawidgets 2 and Turbogears 2.2

2012-07-21 Thread Craig Small
the php mysql function days so is it just a matter of 'sqlalchemy does the right thing normally, dont worry about it'? -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint: 5D2F B320

[TurboGears] Pylons deprecations warnings

2012-07-24 Thread Craig Small
/util.py:194: DeprecationWarning: Raise HTTP exceptions directly raise exc.exception -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50

Re: [TurboGears] Pylons deprecations warnings

2012-07-25 Thread Craig Small
in nosetests, or, is there a way of ignoring problems from things that aren't your package? A bit like how --cover-package works on coverage. I create enough warnings (or Craig's to-do list) without Pylons adding to the noise. - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall

[TurboGears] Re: Pylons deprecations warnings

2012-09-06 Thread Craig Small
the warnings appear to be the right way to do it with the minor detail that they don't work. Sorry I don't have an answer, but at least you know its not just you! - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall

Re: [TurboGears] Forcing commit to get triggered data updated

2012-09-18 Thread Craig Small
created. I used DBSession.flush() and DBSession was imported from foo.model import DBSession (add some stuff into the database) DBSession.add(newthing) DBSession.flush() This was done on the command line though. -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU

Re: [TurboGears] Re: how to pass a large list/array from a page to a new url

2012-10-11 Thread Craig Small
in the second line of every file, but was hoping for a more elgant way. - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5

Re: [TurboGears] Starting project on default port 8080

2012-10-11 Thread Craig Small
this before. The browser has to be running on the computer that paster is running. I've ssh'ed from my laptop to my server to run paster and wondered why the laptops browser doesn't work. All terminals look the same! - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au

Re: [TurboGears] Re: how to pass a large list/array from a page to a new url

2012-10-16 Thread Craig Small
. Why not punt all the variables into the session and use session variables. You only pass the session cookie then. Not exactly sure how you set and get them, possibly fiddling with tg.session -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http

Re: [TurboGears] unit testing many to one relationship

2012-11-07 Thread Craig Small
do_get_dependencies(self): test_child = model.Child(u'Test Child Name') return {'child': test_child } I think the second one is more correct but not sure. -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org

Re: [TurboGears] Toscawidgets 2 and Turbogears 2.2

2012-11-11 Thread Craig Small
-filter a grid? Imagine a parent/child model and on the parent screen i want to show a grid with only its children. I could fudge it with postData : { 'Parent': 123 } in the grid options and then make the json function look for it but is there a better way? -- Craig Small VK2XLZ http://enc.com.au

Re: [TurboGears] Background task - how to use request.add_finished_callback or tgext.asyncjob ?

2012-11-26 Thread Craig Small
work going on and while most (all?) is asynchronous calls (with the associated extra madness that entails) I'm stil worried about processing times, mainly around the database access speeds though of course I'm testing on sqlite so that might be the problem. - Craig -- Craig Small VK2XLZ http

[TurboGears] Conditional Authorization

2012-11-28 Thread Craig Small
where group_id in (groups user is in) Is this the best way to do it? I may also need to use groups for other things (ie read-only admins or admins who can only see some screens) so groups would not just be used for limiting the Thing views. -- Craig Small VK2XLZ http://enc.com.au

Re: [TurboGears] Tell the community about your application

2012-12-15 Thread Craig Small
for its first release. The backend is almost complete but the front end will take some time. How do you suggest we let people know? - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG

Re: [TurboGears] Conditional Authorization

2013-01-03 Thread Craig Small
on it but was wondering if there was a generic way. Did you get anywhere with this? If so, how did you handle these issues? I've not gone far with this part so no light yet. - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org

Re: [TurboGears] Conditional Authorization

2013-01-10 Thread Craig Small
: I've got a foreign key in my orders table so I need to check that, also I know the permissions stuff has a concept of or so I'm 2/3rds there. I assume the easiest way is to make a new type of permission checker thing, but not sure where this would be. - Craig -- Craig Small VK2XLZ

[TurboGears] presetting filtering fields

2013-01-10 Thread Craig Small
to have the default of the one I selected instead of blank which is what it does now. Again the controller sees the selection but its a matter of letting the widget know. - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org

Re: [TurboGears] presetting filtering fields

2013-01-11 Thread Craig Small
the validator. - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 -- You received this message because you

[TurboGears] Re: [tg-trunk] Announcing TurboGears 2.2.1!

2013-01-25 Thread Craig Small
('myproj.templates.data') line. Doing that of course then makes the serve data using html test fail. My project uses specific urls for json access so its not much of an issue for me, but thought youd like to know. - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au

[TurboGears] Testing TurboGears before a release

2013-01-28 Thread Craig Small
If there are new failures with the tests that I don't get on my normal directory then I can look into it if it is me or TG and report/patch it. Other than making the egg and installing it I couldn't see a way of doing this. - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall

Re: [TurboGears] How to pass raw image data in turbogears to mako template for scr=data:image/jpg

2013-02-02 Thread Craig Small
, is that the problem? Wikipedia and some stack overflow entries say its jpg; https://en.wikipedia.org/wiki/Data_URI_scheme#Format data:[MIME-type][;charset=encoding][;base64],data - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org

Re: [TurboGears] toscawidgets2 AutocompleteWidget

2013-02-16 Thread Craig Small
. Also, firebug helps when tracking down that the jquery is asking for, or not. - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B

Re: [TurboGears] How to change root url

2013-03-26 Thread Craig Small
I would of thought fiddling with the wsgi configuration would do it. Doesn't WSGIScriptAlias set where root is? WSGIScriptAlias /private /home/virtualenv/myproj/My_Project - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http

Re: [TurboGears] Re: Including tg.url, request, etc in a TG2.2.0/TW(0.9.12) widget template

2013-05-04 Thread Craig Small
inside the prepare method of the widget. If you really need tg.url in your widget, do a hack like this in prepare self.url = tg.url the template can then use w.url Alessandro is probably right though. - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian

[TurboGears] jqgrid in admin screens

2013-05-05 Thread Craig Small
Hi, Just before I spend some time working on this, there isn't a simple way of doing toscawidgets 2 jqgrid views for the tables in the admin screens? I'm almost there by working on TableView but want to make sure its not just some setting you turn on like dojo. - Craig -- Craig Small VK2XLZ

Re: [TurboGears] jqgrid in admin screens

2013-05-06 Thread Craig Small
and change the format to what jqGrid expects. The actual coding will take a few minutes, its figuring out where those line go that take the time. - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org

[TurboGears] tgext.crud sorting on child table fields

2013-05-09 Thread Craig Small
and made the order_by Child.display_name but I cannot see how it is done within this object. It's probably a bigger thing than a jqgrid problem, can you make direct json calls to tgext.crud and sort on these child fields? - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall

[TurboGears] Re: tgext.crud sorting on child table fields

2013-05-10 Thread Craig Small
is broken in that area so it wouldn't work. I'll attach the sprox patch to the bug report I've reported on it. That means a very small fix for tgext.admin too to send the possible columns on its way. - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU

[TurboGears] CRC values with dots

2013-05-16 Thread Craig Small
will be turbogears not turbogears.org I assume the org is being taken as the controller is trying to find the content type of org, similiar to urls ending in .json give that type. Is there a way of turning it off? I guess a decorator would be nice but no idea how to make one. - Craig -- Craig Small

Re: [TurboGears] making a python shell script a top of a tg 2.1.3 app

2013-05-30 Thread Craig Small
will probably want a different set of default options. My logging options may look a bit wierd, but it is sort of how most daemons work. - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint

[TurboGears] Admin screens showing only parent's items

2013-06-04 Thread Craig Small
#1 rows. -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 -- You received this message because you are subscribed

Re: [TurboGears] Admin screens showing only parent's items

2013-06-06 Thread Craig Small
someone might of solved it already. - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 -- You received this message

[TurboGears] Installing as www-data

2013-07-16 Thread Craig Small
777 insanity going on) as the underlying Linux OS won't let it. I would think this is a good thing. Is there some reason why installing the files as www-data was chosen? - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org

[TurboGears] Odd messages with 2.3

2013-07-23 Thread Craig Small
in place. Queued 'tw2.forms'-'static/forms.css'(False) registration. tw2.core.middleware: DEBUG: No middleware in place. Queued 'tw2.forms'-'static/forms.css'(False) registration. I think these are linked but cannot work out what I've got wrong. - Craig -- Craig Small VK2XLZ http://enc.com.au

Re: [TurboGears] Odd messages with 2.3

2013-07-25 Thread Craig Small
on a subdirectory. So http://enc.com.au/ is not WSGI but http://enc.com.au/itools/ is. I rolled back to 2.2.2 and it works ok again. I know there was some work in the routing done for 2.3 so I'm guessing I'm hitting a snag there. Any help to sort this would be appreciated. - Craig -- Craig Small

Re: [TurboGears] Odd messages with 2.3

2013-07-25 Thread Craig Small
-reading the wsgi documents too many times. - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 -- You received this message

Re: [TurboGears] Odd messages with 2.3

2013-07-26 Thread Craig Small
-- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 -- You received this message because you are subscribed to the Google Groups

Re: [TurboGears] Odd messages with 2.3

2013-07-26 Thread Craig Small
On Fri, Jul 26, 2013 at 09:33:32PM +1000, Craig Small wrote: I'm not sure if it is Turbogears 2.3.0's problem or something being pulled in incorrectly but all my javascript is breaking. It looks escaped to me. OK, the fix in Toscawidgets was in 2.0.4 https://github.com/toscawidgets/tw2.core

Re: [TurboGears] Odd messages with 2.3

2013-07-26 Thread Craig Small
On Fri, Jul 26, 2013 at 10:00:04PM +1000, Craig Small wrote: On Fri, Jul 26, 2013 at 09:33:32PM +1000, Craig Small wrote: I'm not sure if it is Turbogears 2.3.0's problem or something being pulled in incorrectly but all my javascript is breaking. It looks escaped to me. OK, the fix

[TurboGears] Custom Admin Screens - AttributeError: paginators

2013-08-17 Thread Craig Small
/site-packages/tgext.crud-0.6.3-py2.7.egg/tgext/crud/controller.py, line 261, in get_all paginator = request.paginators['value_list'] request has no paginator when I make my own CRC, but I cannot see why that would make a difference what CRC I use. - Craig -- Craig Small VK2XLZ http

[TurboGears] Sending mail with turbogears

2013-09-12 Thread Craig Small
I've got a requirement now to send emails when certain things happen. Is Turbomail still the way to do it, it seems it hasnt changed for quite some time and still needs pylons. - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http

[TurboGears] Did tg230 change the admin TableFiller?

2013-09-19 Thread Craig Small
of the code because removing entity line gives an error: You must define a __entity__ attribute for this object -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint: 5D2F B320 B825 D939

Re: [TurboGears] Re: Did tg230 change the admin TableFiller?

2013-09-21 Thread Craig Small
__limit_fields__ in sprox anymore, are you sure this fields has effect at all? Did you try with __omit_fields__ and __field_order___? Am Donnerstag, 19. September 2013 15:28:38 UTC+2 schrieb Craig Small: I'm hoping someone can help me with this. It seems something has changed

Re: [TurboGears] Re: Did tg230 change the admin TableFiller?

2013-09-23 Thread Craig Small
On Sun, Sep 22, 2013 at 08:18:58AM +1000, Craig Small wrote: What I am trying to do in the admin controller is have a grid that gets its data from json and can show foreign keys. It's only the last bit I'm missing now. I've worked out why my changes work for the normal controllers

Re: [TurboGears] processing URL internally

2013-09-26 Thread Craig Small
been done the the url parameter is just another string. Your application would have to decode it, not sure if there is a standard validator for urls or not but the Regex one might do it. - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux

Re: [TurboGears] set jqGridWidget non-collapsible?

2013-10-05 Thread Craig Small
the hide option to.. False. I'm sure that makes sense to someone! - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5

Re: [TurboGears] Admin screens showing only parent's items

2013-10-05 Thread Craig Small
need either TableBase or the Widget to be aware of this variable. Putting self.table.host_id = kw.pop('h',None) into the get_all() function forthe controller seems to work, but is it the right way? On Tue, Jun 4, 2013 at 2:24 PM, Craig Small csm...@enc.com.au wrote: I'm

Re: [TurboGears] Admin screens showing only parent's items

2013-10-05 Thread Craig Small
On Sat, Oct 05, 2013 at 11:25:56PM +1000, Craig Small wrote: Why this is important is that with jqGrid the TableBase makes the jqGrid widget and it has a url to query the JSON backend (which is defined by the TableFiller) so I need either TableBase or the Widget to be aware of this variable

Re: [TurboGears] tg admin, subset of table

2013-11-04 Thread Craig Small
detail in the jqQueryTableFiller at https://github.com/csmall/rnms/blob/master/rnms/lib/table.py - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint: 5D2F B320 B825 D939 04D2

Re: [TurboGears] Re: tg admin, subset of table

2013-11-06 Thread Craig Small
) Shouldn't it be **kw? kw would mean you are doing dgpco({'search': None, 'form': 'platsreview'}) when you really want dgpco(search=None, form='platsreview') - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org

Re: [TurboGears] Turbogears 2.3 and python3 - sprox not ready for python3 ?

2013-11-19 Thread Craig Small
ready for python 3? NameError: name 'execfile' is not defined execfile doesn't appear in python 3. - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint: 5D2F B320 B825 D939

Re: [TurboGears] Re: Turbogears 2.3 and python3 - sprox not ready for python3 ?

2013-11-21 Thread Craig Small
know how much will need to get fixed? - Craig -- Craig Small http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 -- You received this message because

Re: [TurboGears] Logging through wsgi deployement results in internal server error - ugrade to the documentation required ?

2013-12-17 Thread Craig Small
by the UID that apache runs as, it needs a note to stay this will be a problem on properly setup systems. - Craig -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint:5D2F B320

Re: [TurboGears] How to activate prmFilter using tw2.jqplugins.jqgrid.jqGridWidget

2013-12-17 Thread Craig Small
filtering on both foreign keys and columns native to that particular table. I think sprox didn't like the first lot. I'll dig through my code tonight to see how I fixed it. - Craig -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http

Re: [TurboGears] Re: How to activate prmFilter using tw2.jqplugins.jqgrid.jqGridWidget

2013-12-19 Thread Craig Small
a lot because I wanted to use a lot of selects rather than have people type things in. Again it gets fiddly with relationships. I have the added problem where I wanted to hold a filter even when the user adds one (so their additive). - Craig -- Craig Small (@smallsees) http://enc.com.au

Re: [TurboGears] TG 231 - Problem with filling TW2 widget with default values

2013-12-27 Thread Craig Small
']))} I'm not sure about the right-hand side of the = for ident but to me you need to put the value in the display. The URL looks like http://localhost:8080/file/new/15 /new?ident=15 might work too. - Craig -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian

Re: [TurboGears] Re: TG 231 - Problem with filling TW2 widget with default values

2013-12-29 Thread Craig Small
of mistake. - Craig -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint:5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 -- You received this message because you are subscribed

Re: [TurboGears] Re: How to activate prmFilter using tw2.jqplugins.jqgrid.jqGridWidget

2014-01-05 Thread Craig Small
import name AttributeType AttributeType is one of my objects in my model. You would replace this with whatever object you are trying to work on. So my AttributeType is your Vehicle. - Craig -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux

[TurboGears] JCE Exploit - raises exception in TG

2014-01-09 Thread Craig Small
, at least he's an honest theif HTTP_USER_AGENT: BOT/0.1 (BOT for JCE) -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint:5D2F B320 B825 D939 04D2 0519 3938 F96B DF50

Re: [TurboGears] JCE Exploit - raises exception in TG

2014-01-12 Thread Craig Small
does the traceback show what they sent in the post message? kvaml is right, it probably was something in the post data rather than the get data that did it, but i'm not sure what they sent. - Craig -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux

Re: [TurboGears] Re: Help: jqGridWidget TypeError: grid.jqGrid is not a function

2014-03-04 Thread Craig Small
twice, probably due to two TW objects being loaded. - Craig -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint:5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 -- You

Re: [TurboGears] Web services with turbogears2

2014-03-31 Thread Craig Small
is for this request, so they just work. - Craig -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint:5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 -- You received this message because

Re: [TurboGears] DistributionNotFound deploying under Apache mod_wsgi

2014-03-31 Thread Craig Small
tgext.admin 0.6.3 is installed inside virtualenv It looks like your virtualenv is not setup correctly. Did you run gearbox setup-app in it? - Craig -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org

Re: [TurboGears] TurboGears 2.3.2 released

2014-04-21 Thread Craig Small
https://lh3.googleusercontent.com/-cGcUAY6aswE/UyFow8uu5HI/ANc/m2aHaEQ8giw/w958-h599-no/TGResponsive.png Thanks! - Craig -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG

[TurboGears] How to import jquery

2014-04-21 Thread Craig Small
=${thing_the_controller_sends} type=text/javascript In my master template? -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint:5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 -- You received

Re: [TurboGears] Sprox and __headers__ ['__actions__'] = 'other_name'

2014-12-28 Thread Craig Small
if it is the TableBase or FillerBase that gets it. - Craig -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint:5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 -- You

Re: [TurboGears] Is there still a tg2 community ?

2015-01-07 Thread Craig Small
to fit the bill. The more i use TG, the happier I am with the decision, but it would be good to have a more vibrant community. - Craig -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG

Re: [TurboGears] Who's using it?

2015-01-07 Thread Craig Small
On Tue, Jan 06, 2015 at 06:38:09PM +0100, Moritz Schlarb wrote: I'm sure all of you know the Who's using it? page of the TurboGears website: http://turbogears.org/whos-using.html The Rosenberg NMS url should probably be https://rnms.org/ rather than the document page. -- Craig Small

Re: [TurboGears] The site turbogears.org is out of service ?

2015-03-07 Thread Craig Small
I'm not sure if it is related to that or not. - Craig -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint:5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 -- You received

Re: [TurboGears] Quickstart Config Change Request and Genshi Question

2015-03-26 Thread Craig Small
it going. Is it possible to have a quickstart option to do it? Would that help? - Craig -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint:5D2F B320 B825 D939 04D2

Re: [TurboGears] Feature Requests for 2.4

2015-02-27 Thread Craig Small
grids; I like the functionality of the jqgrids including json queries for the data and neat sorting. It'd be nice to see some of that in too. - Craig -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall

Re: [TurboGears] Best IDE for TurboGears2 and Python

2015-11-08 Thread Craig Small
rom this group and stop receiving emails from it, send an > email to turbogears+unsubscr...@googlegroups.com. > To post to this group, send email to turbogears@googlegroups.com. > Visit this group at http://groups.google.com/group/turbogears. > For more options, visit https://groups.google.c

Re: [TurboGears] TurboGears2 ideal development environment

2015-11-27 Thread Craig Small
le Groups > "TurboGears" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to turbogears+unsubscr...@googlegroups.com. > To post to this group, send email to turbogears@googlegroups.com. > Visit this group at http://groups.google.com/gr

Re: [TurboGears] Linecharts and TG2

2016-01-21 Thread Craig Small
ave a new class for status pie (think of red,yellow,green status lights) which inherits the generic one but has different colours. - Craig -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org

Re: [TurboGears] ToscaWidgets2 vs Turbogears.widgets

2016-12-01 Thread Craig Small
rom it, send an > email to turbogears+unsubscr...@googlegroups.com. > To post to this group, send email to turbogears@googlegroups.com. > Visit this group at https://groups.google.com/group/turbogears. > For more options, visit https://groups.google.com/d/optout. > -- Craig Small (@s

[TurboGears] TG2 and docker

2017-04-23 Thread Craig Small
to the bare minimum. - Craig -- Craig Small (@smallsees) http://dropbear.xyz/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint:5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 -- You received this message because you

[TurboGears] Kajiki and conditional content

2017-08-13 Thread Craig Small
the same and has a huge problem with conditional elements. - Craig -- Craig Small https://dropbear.xyz/ csmall at : enc.com.au Debian GNU/Linuxhttps://www.debian.org/ csmall at : debian.org Mastodon: @smalls...@social.dropbear.xyz Twitter: @smallsees GPG

Re: [TurboGears] Kajiki and conditional content

2017-08-14 Thread Craig Small
only supports py:if / > py:else. For more complex conditionals py:switch / py:case / py:else should > be used or you have to nest multiple if else conditions to achieve that. > > On Sun, Aug 13, 2017 at 3:13 PM, Craig Small <csm...@enc.com.au> wrote: > >> I'm conv

Re: [TurboGears] Kajiki and conditional content

2017-08-26 Thread Craig Small
. The killer is, Mako lets me template javascript, I just couldn't get Kajiki to handle it properly. - Craig On Tue, 15 Aug 2017 at 00:05 Alessandro Molina <alessandro.mol...@gmail.com> wrote: > On Mon, Aug 14, 2017 at 9:25 AM, Craig Small <csm...@enc.com.au> wrote: > >&

Re: [TurboGears] Kajiki and conditional content

2017-09-03 Thread Craig Small
quot;)) .Doughnut(doughnutData); This appears at the bottom of a template in Mako, any idea how you get something like this in Kajiki? - Craig On Sun, 27 Aug 2017 at 01:15 Alessandro Molina <alessandro.mol...@gmail.com> wrote: > On Sat, Aug 26, 2017 at 12:36 PM, Craig Small <csm...@enc.com

Re: [TurboGears] Need help to fix some errors found in logs

2019-01-22 Thread Craig Small
Hi, On Mon, 21 Jan 2019 at 06:28, Mikhail wrote: > Module paste.request:48 in get_cookies > Module Cookie:629 in load It looks like a very old implementation! Ideally upgrading to the latest should fix most of the problems, but its a big job. For the first error, I looked at the paste/request.py

Re: [tg-trunk] Switching To GitHub

2012-09-10 Thread Craig Small
think option 3 seems the nicest, or least-worse. - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 -- You received

Re: [tg-trunk] what's cooking?

2012-12-06 Thread Craig Small
On Wed, Dec 05, 2012 at 03:55:52PM -0800, Mengu wrote: it's been ~ 3 months since our last release. what's cooking in the kitchen? More importantly, has anyone heard from Michael? Last email I saw was there was a hurricane coming. - Craig -- Craig Small VK2XLZ http://enc.com.au

  1   2   >