[web2py] newcron.py", line 227 AttributeError: 'list' object has no attribute 'split'

2012-06-11 Thread szimszon
http://code.google.com/p/web2py/issues/detail?id=849 Exception in thread Thread-21: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner self.run() File "/home/szimszon/fejlesztes/sajat/web2py/gluon/newcron.py"

[web2py] Re: newcron.py", line 227 AttributeError: 'list' object has no attribute 'split'

2012-06-11 Thread szimszon
It's on the console where you start the web2py.py... 2012. június 11., hétfő 14:19:45 UTC+2 időpontban szimszon a következőt írta: > > http://code.google.com/p/web2py/issues/detail?id=849 > > Exception in thread Thread-21: > Traceback (most recent call last): > F

[web2py] Re: newcron.py", line 227 AttributeError: 'list' object has no attribute 'split'

2012-06-11 Thread szimszon
gt; > Have you something in your applications crontab ? > > also, are you on linux, mac or windows ? > > Il giorno lunedì 11 giugno 2012 18:49:58 UTC+2, simon ha scritto: >> >> I also get this. It appears after the "cron fix" update to trunk. >> >> On Monda

[web2py] Re: commit 2799e09d6bb4 broke backward compatibility

2012-06-14 Thread szimszon
+1 2012. június 5., kedd 22:22:44 UTC+2 időpontban Niphlod a következőt írta: > > The only thing coming to mind is "add" a > web2py-component-flash-international header in "new trunk" and check only > that in new web2py.js, leaving web2py-component-flash header the way it was > before. > > Il

Re: [web2py] Users Poll: To keep the button look for the welcome app's auth options, or not ?

2012-06-16 Thread szimszon
b.1 2012. június 17., vasárnap 8:06:54 UTC+2 időpontban encompass a következőt írta: > > B.1 looks nice. > > On 06/17/2012 06:30 AM, Andrew wrote: > > A week or two ago a change was made to the nav bar to give the auth > buttons for Login, Register, etc a button look. This was part of the

[web2py] Re: Error importing ldap_auth module

2012-06-21 Thread szimszon
Try to use ldap_auth.py from trunk. Just copy it over the old one. You say Python 2.7.3 but in the error there is a ... python2.6/dist-packages/ldap ... 2012. június 21., csütörtök 16:39:40 UTC+2 időpontban ehgonzalez a következőt írta: > > Hi, > > When I try to import the ldap_auth module in

[web2py] Re: Error importing ldap_auth module

2012-06-21 Thread szimszon
es, 21 de junio de 2012 10:18:43 UTC-4:30, szimszon escribió: >> >> Try to use ldap_auth.py from trunk. Just copy it over the old one. >> >> You say Python 2.7.3 but in the error there is a >> >> ... python2.6/dist-packages/ldap ... >> >> >> 2

[web2py] smartgrid look & feel with last trunk

2012-07-02 Thread szimszon
Hi! I noticed the following if you create a new app from welcome with smartgrid then the linked table names aren't looking like buttons anymore. And the acural table names are just a link it looks a bit odd... <><>

[web2py] Re: smartgrid look & feel with last trunk

2012-07-02 Thread szimszon
http://code.google.com/p/web2py/issues/detail?id=870 2012. július 2., hétfő 15:45:13 UTC+2 időpontban szimszon a következőt írta: > > Hi! > > I noticed the following if you create a new app from welcome with > smartgrid then the linked table names aren't looking like buttons

[web2py] Re: smartgrid look & feel with last trunk

2012-07-02 Thread szimszon
Monday, July 2, 2012 5:40:17 PM UTC-4, Jim S wrote: >> >> I personally like it the new way. Just my 2 cents. >> >> -Jim >> >> On Monday, July 2, 2012 8:45:13 AM UTC-5, szimszon wrote: >>> >>> Hi! >>> >>> I noticed the fol

[web2py] with the new welcome app as template in mobile view some menu isn't accessible

2012-07-04 Thread szimszon
I have an app with Version 2.00.0 (2012-07-01 22:43:58) dev of welcome as template. But if I browse it with a mobile all the menus with a submenu didn't get into the dropdown list. So I can access only the top level menus without submenu. :( With a new look I can't put a link in top level menu

[web2py] auth exception with Version 2.0.0 (2012-07-04 23:30:47) dev

2012-07-05 Thread szimszon
Hi! I'm using ldap auth and after the web2py update I get: Traceback (most recent call last): File "/home/PRIMERATE.LAN/gyszabolcs/fejlesztes/web2py/gluon/restricted.py", line 205, in restricted exec ccode in environment File "/home/PRIMERATE.LAN/gyszabolcs/fejlesztes/web2py/application

[web2py] Re: Autoincrement field

2013-01-28 Thread szimszon
Hi! I wonder if somebody could help me. The definet_table('sometable', Field('otherid', compute=lambda r: r['id']) ) doesn't work for me. :( Sould it work? With other than r['id'] it's working. Version 2.4.1-alpha.2+timestamp.2013.01.27.10.24.17 2010. május 28., péntek 16:02:23 UTC+2 id

Re: [web2py] Re: Autoincrement field

2013-01-28 Thread szimszon
> > Maybe we should have an 'autoincrement' field, like we have a 'datetime' > field? > > Gracefully degrade to a lambda if there isn't native autoincrement > support. > > On Tue, Jan 29, 2013 at 1:44 AM, szimszon > > wrote: > >

Re: [web2py] Re: Autoincrement field

2013-01-28 Thread szimszon
ields which would be much better to utilise than what > we provide in the DAL. > > Maybe we should have an 'autoincrement' field, like we have a 'datetime' > field? > > Gracefully degrade to a lambda if there isn't native autoincrement > supp

[web2py] Re: Autoincrement field

2013-01-29 Thread szimszon
Something about this issue? Should it work? 2013. január 28., hétfő 15:44:22 UTC+1 időpontban szimszon a következőt írta: > > Hi! > > I wonder if somebody could help me. > > The > > definet_table('sometable', > Field('otherid', compute=l

[web2py] Re: Autoincrement field

2013-01-29 Thread szimszon
The really ugly thing is that compute can silently fail and you could end up with None in the db table cell :( 2013. január 29., kedd 9:13:29 UTC+1 időpontban szimszon a következőt írta: > > Something about this issue? Should it work? > > 2013. január 28., hétfő 15:44:22 UTC+

[web2py] Re: Autoincrement field

2013-01-29 Thread szimszon
current.db.sometable.insert() The new record has otherid==None :( 2013. január 29., kedd 9:17:38 UTC+1 időpontban szimszon a következőt írta: > > The really ugly thing is that compute can silently fail and you could end > up with None in the db table cell :( > > 2013. január 29., k

[web2py] Re: Autoincrement field

2013-01-29 Thread szimszon
:05:17 UTC-6, szimszon wrote: >> >> Some other issue: >> >> db: >> import datetime >> db.define_table('sometable', >> Field('otherid', >> compute=lambda r: 'SPPRIME%s' % ( >>

[web2py] Old app and 2.4.1-alpha.2+timestamp.2013.01.18.10.00.28 and form submission get 'Consecutive update'

2013-02-01 Thread szimszon
I wonder if somebody could help me. I have an old app with a simple form but if I try to submit in second time. I change some value than press Submit button (after that I got an extra # in the end of the url) than I change some value and press Submit button I end up with this flash message: A

[web2py] Re: Debugging with the scheduler

2013-02-27 Thread szimszon
for the ugly print vars I use: import logging logger=logging.getLogger('web2py.app.yourappname') logger.setLevel(logging.DEBUG) logger.debug(msg) 2013. február 26., kedd 21:12:23 UTC+1 időpontban José L. a következőt írta: > > Hello, > I'm working with async processes using the scheduler (with

[web2py] Re: Encrypt an email?

2013-03-10 Thread szimszon
Hello! You can try this: http://web2py.com/books/default/chapter/29/08#x509-and-PGP-Encryption 2013. március 10., vasárnap 4:55:06 UTC+1 időpontban a.ma...@hotmail.com a következőt írta: > > I found that website http://www.msgpadlock.com who basically allow you to > encrypt/decrypt a message t

[web2py] I got a fancy wiki problem. All user end up in rw mode :(

2013-03-11 Thread szimszon
Hi! I wonder if somebody could help me. I tried to set up a wiki in web2py and I face some funny errors :( 1, In book http://web2py.com/books/default/chapter/29/03 there is: ''recognizes permissions for "wiki-editor" and "wiki-author"'' but auth.wiki creates ''wiki_editor'' not ''wiki-ed

[web2py] Re: I got a fancy wiki problem. All user end up in rw mode :(

2013-03-11 Thread szimszon
2013. március 11., hétfő 18:05:36 UTC+1 időpontban Alan Etkin a következőt írta: > > > ''wiki-editor'' I think it's just a typo :) > > Me too, there's no use of "wiki-editor" in the Wiki class (it checks for > "wiki_editor") > > > and than I recognized that the new user got in to a wiki_editor

[web2py] Re: I got a fancy wiki problem. All user end up in rw mode :(

2013-03-11 Thread szimszon
ldn't touch it again and reactivate it... 2013. március 11., hétfő 18:22:24 UTC+1 időpontban Massimo Di Pierro a következőt írta: > > membership record should be created automatically only for users logged > into admin. Are you saying this is not the case? > > On Monday,

[web2py] Re: I got a fancy wiki problem. All user end up in rw mode :(

2013-03-11 Thread szimszon
Okay. :) 2013. március 11., hétfő 20:22:11 UTC+1 időpontban Alan Etkin a következőt írta: > > > Is it relevant where is logged into the application? > > It seems it is, since when the admininstrator session is expired, the wiki > access control returns to normal behavior (it requires access righ

[web2py] Re: scheduler sincronization

2013-03-25 Thread szimszon
I think the period starts as the last execution ends. Sometimes I miss the feature to start the task exactly at fixed interval rater than fixed interval starting after the last run ends but I can live without it. :) It's a great tool anyway :-D 2013. március 25., hétfő 16:23:56 UTC+1 időpontban

Re: [web2py] Re: scheduler sincronization

2013-03-25 Thread szimszon
következőt írta: > > Accordingly to the book > http://web2py.com/books/default/chapter/29/04?search=scheduler#Scheduler-(experimental) > It doesn't start when the previous task ends but when the previous task > starts instead. > > Paolo > > > 2013/3/25 szimszon

[web2py] Using a recursive select but encountered a broken reference (versioning and auth.signature)

2013-03-30 Thread szimszon
Hi All! I wonder if somebody could help me. I use record versioning with auth.signature but if I delete (is_active=False) the parent row than I got a "Using a recursive select but encountered a broken reference" ticket issued when I try to access the child... I opened a ticket about it: http:

Re: [web2py] Please stop embedding Bootstrap classes in your HTML!

2012-10-04 Thread szimszon
Recently was a bit messy the SQLFORM.[smart]grid because a class changed from button to btn :-o Because we need to maintain backward compatibility but the used css framework for welcome can change significantly I think that maintaining a web framework's own class names could be beneficial. So t

[web2py] 2.1rc1 parse_version error

2012-10-08 Thread szimszon
parse_version can handle only numbers... and not rc1 :( fileutils.py line 46: re_version = re.compile('[^\d]+ (\d+)\.(\d+)\.(\d+)\s*\((?P.+?)\)\s*(?P[a-z]+)?') --

[web2py] Re: 2.1rc1 parse_version error

2012-10-08 Thread szimszon
, line 529, in close_all_instances\nTHREA D_LOCAL.db_instances.clear()\nAttributeError: \'thread._local\' object has no attribute \'db_instances\'\n' p4570 If you just do http://127.0.0.1:8000/admin you got error. 2012. október 8., hétfő 9:23:03 UTC+2 időpontban s

Re: [web2py] Re: manage_groups AD problem

2012-10-20 Thread szimszon
Could you set ldap_auth's *logging_level* to debug and see (in console) what's happening? Or you could specify *allowed_groups*=['some group name'] if there a logic error and login works only with allowed_groups set. Sorry I have no AD to test. With ldap it works. So I need a bit help... 2012.

Re: [web2py] Re: manage_groups AD problem

2012-10-20 Thread szimszon
ldap_auth(...as usual...,logging_level='debug') 2012. október 20., szombat 9:29:44 UTC+2 időpontban software.ted a következőt írta: > > Whr do I set the log level and see how the code is executing I realy need > that for debugging. > On Oct 20, 2012 9:20 AM, "szims

Re: [web2py] Re: manage_groups AD problem

2012-10-22 Thread szimszon
the group feature? I am quiet surprised, > cause AD is widely used and you guys need to test. From the searches I > have done, looks like AD does not work well with web2py as far as > groups are concerned. > > I goes I have reached a dead end. > > :< > > Thank

[web2py] Re: Custom import creates module name conflicts (2.1.1)

2012-10-30 Thread szimszon
I have in app's modules dir a modul named sftp.py and I try to use paramiko but sftp.py modul can't import it because paramiko has it's own modul named as sftp.py and custom_import find the app's module first and nor paramiko's :( http://code.google.com/p/web2py/issues/detail?id=1125 2012. okt

[web2py] server request as transfer encoding: chunked not working

2012-12-03 Thread szimszon
Hi All! I wonder if somebody could help me. I need a little help with rocket :( I have a contoller like: def statementlist(): body = request.body.read() return dict(body=body) And I try to send a request as: curl -H "Transfer-Encoding: chunked" --data 'Some data inside the request...'

[web2py] Re: server request as transfer encoding: chunked not working

2012-12-03 Thread szimszon
Version 2.2.1 (2012-11-04 20:45:19) stable --

[web2py] Re: server request as transfer encoding: chunked not working

2012-12-03 Thread szimszon
: > > don't know if it's a design decision but request.body is filled only if > there is a content-length header, otherwise a StringIO() is returned. > > you can still read the contents iterating over request.env.wsgi_input > > On Monday, December 3, 2012 12:30:38 PM UTC+1

[web2py] Re: server request as transfer encoding: chunked not working

2012-12-03 Thread szimszon
> don't know if it's a design decision but request.body is filled only if > there is a content-length header, otherwise a StringIO() is returned. > > you can still read the contents iterating over request.env.wsgi_input > > On Monday, December 3, 2012 12:30:38 PM UTC+1,

[web2py] Disable hidden columns export in grid

2012-12-04 Thread szimszon
Hi All! I wonder if somebody could help me. How can I disable hidden column export in grid? --

[web2py] Re: Disable hidden columns export in grid

2012-12-04 Thread szimszon
Nice and working feature :) Tnx. 2012. december 4., kedd 11:26:50 UTC+1 időpontban Niphlod a következőt írta: > > with trunk just pass exportclasses=dict(csv_with_hidden_cols=False, > tsv_with_hidden_cols=False) > > On Tuesday, December 4, 2012 10:35:52 AM UTC+1, szimszon wrot

[web2py] Repo in github missing

2013-01-01 Thread szimszon
Where is the web2py repo from https://github.com/mdipierro/ ? Happy New Year for everyone! --

[web2py] Re: Repo in github missing

2013-01-01 Thread szimszon
OK. Tnx. 2013. január 1., kedd 17:38:14 UTC+1 időpontban Massimo Di Pierro a következőt írta: > > I deleted it to avoid confusion. The official is github.com/web2py/web2py. > > On Tuesday, 1 January 2013 02:21:40 UTC-6, szimszon wrote: >> >> Where is the web2py repo

[web2py] Re: Is it possible to define how a field is rendered in the DB model?

2013-01-07 Thread szimszon
Hi! What is a difference between represent and filter_out? Tnx. --

[web2py] who to use response.optimize_css?

2011-12-25 Thread szimszon
I found in the book this: response.optimize_css: if can be set to "concat,minify,inline" to concatenate, minity and inline the CSS files included by web2py. (http://web2py.com/books/default/chapter/29/4?search=optimize) But if I set I see nothing to change with firebug. :( I miss something? I

[web2py] Re: How to use response.optimize_css?

2011-12-25 Thread szimszon
who == how sorry

[web2py] Re: How to use response.optimize_css?

2011-12-27 Thread szimszon
My bad. The css files aren't in response.files :-o

[web2py] Re: EMails and PGP

2012-01-02 Thread szimszon
Can't say for sure but here are some links: http://sourceforge.net/projects/pyme/files/pyme/pyme-0.8.1/ http://sourceforge.net/projects/pyme/files/pyme/pyme-0.8.1/pygpgme-0.8.1.win32.exe/download http://pyme.sourceforge.net/

[web2py] Re: option to move smartgrid buttons to the left side

2012-01-21 Thread szimszon
Or the buttons in the right side could be next to the data fields and not in the scrollable area...

[web2py] BrowserID the login method aside of OpenId and co.

2012-01-22 Thread szimszon
One interesting project from mozilla. https://github.com/mozilla/browserid/wiki/How-to-Use-BrowserID-on-Your-Site http://lloyd.io/how-browserid-works

[web2py] checklist plugin with templates

2012-02-19 Thread szimszon
There is a printable version of the report too. [image: report mode screenshot] You can find it here <https://github.com/szimszon/web2py_checklist_plugin>. Have a nice day!

[web2py] Re: checklist plugin with templates

2012-02-27 Thread szimszon
There is now a locking functionality on checklist items... You can mark a checklist field as work in progress. If you click on the name of the field and it'll be marked as locked (green). You can unlock it with a next click on the name of the field. If somebody else locked the field it is displ

[web2py] Re: web2py 1.99.5 (please read)

2012-02-28 Thread szimszon
+1 Anyway it could be good to have some more hint about what the new features do. So we can easily test without to follow all conversation about features between versions :-o 2012. február 28., kedd 21:35:03 UTC+1 időpontban Anthony a következőt írta: > > We need to make the book editable again

[web2py] Re: After LDAP authentication, where can I change some actions?

2012-02-29 Thread szimszon
I'm also interested in that question :-o 2011. október 30., vasárnap 2:19:20 UTC+2 időpontban Tito Garrido a következőt írta: > > Hi Folks! > > I could see that ldap authentication is located on: > /web2py/gluon/contrib/login_methods > > but after the login I need to insert the user on some ldap

[web2py] Re: New web2py stable 1.99.5 creating problems and breaking the backward compatibility

2012-03-02 Thread szimszon
Confirm. I have the same problem. 2012. március 2., péntek 7:19:13 UTC+1 időpontban Sanjeet Kumar a következőt írta: > > i am very excited to use the new version of web2py 1.99.5 . when i > downloaded it and use than i face the to many problems i am not be able to > go the database administrati

[web2py] Can't compile app with 1.99.5

2012-03-02 Thread szimszon
http://code.google.com/p/web2py/issues/detail?id=690 *What steps will reproduce the problem?* 1. Click the Compile button in admin *What is the expected output? What do you see instead?* Traceback (most recent call last): File "/usr/local/share/web2py/gluon/admin.py", line 146, in app_compile

[web2py] Re: Can't compile app with 1.99.5

2012-03-02 Thread szimszon
https://github.com/mdipierro/web2py/commit/08ca99a9934e100d1ce063e686817a8e695c1eac 2012. március 2., péntek 10:14:45 UTC+1 időpontban szimszon a következőt írta: > > http://code.google.com/p/web2py/issues/detail?id=690 > > *What steps will reproduce the problem?* > 1. Click the

[web2py] Re: Can't compile app with 1.99.5

2012-03-02 Thread szimszon
into. self.content = Content(name=name) 2012. március 2., péntek 10:26:01 UTC+1 időpontban szimszon a következőt írta: > > > https://github.com/mdipierro/web2py/commit/08ca99a9934e100d1ce063e686817a8e695c1eac > > 2012. március 2., péntek 10:14:45 UTC+1 időpontban szimszon a követk

[web2py] About ldap_auth in 1.99.6

2012-03-02 Thread szimszon
Hi There! I tinkered a bit with ldap_auth.py and it's in 1.99.6 now. Now you can restrict login access based on ldap groups where the user is a member You need just to specify allowed_groups: auth.settings.login_methods.append(ldap_auth(...as usual..., allowed_groups = [...]

[web2py] Re: About ldap_auth in 1.99.6

2012-03-02 Thread szimszon
If there is somebody using ldap_auth with AD please try to test allowed_groups and / or manage_groups as I have no means to test it. And I do not know differences between OpenLdap and AD regarding groups :( Tnx. 2012. március 2., péntek 22:30:37 UTC+1 időpontban szimszon a következőt írta

[web2py] Re: Current user's username? Customized access control with Auth and LDAP?

2012-03-08 Thread szimszon
Group control is already in ldap_auth.py: http://www.web2pyslices.com/slice/show/1476/ldap-auth-with-allowed-groups-and-manage-groups And I work now on storing first name, last name, and email user prefs from ldap. I think I can send a patch to Massimo tomorrow. 2012. március 8., csütörtök 20:2

[web2py] Re: Current user's username? Customized access control with Auth and LDAP?

2012-03-09 Thread szimszon
AP, so I can't help you test with AD. > > Thanks again. > > On Thursday, March 8, 2012 1:40:29 PM UTC-8, szimszon wrote: >> >> Group control is already in ldap_auth.py: >> >> >> http://www.web2pyslices.com/slice/show/1476/ldap-auth-with-allowed-groups-and-ma

[web2py] web2pyslice auth error

2012-03-12 Thread szimszon
Hi! I was on the page and I tried to update a slice but got the http://www.web2pyslices.com/admin/default/ticket/init/80.99.230.108.2012-03-12.16-43-41.f19c427c-46c8-4120-a189-29f2707ad6d7 ticket :( No I suddenly logged out and if I try to log in via google I got the google page with access r

Re: [web2py] web2pyslice auth error

2012-03-13 Thread szimszon
It's OK now. 2012. március 12., hétfő 23:35:15 UTC+1 időpontban rochacbruno a következőt írta: > > OK, I found the problem and I will fix it soon. > > Thanks for reporting. > > On Mon, Mar 12, 2012 at 4:57 PM, szimszon wrote: > >> Hi! >> >> I was o

Re: [web2py] web2pyslice auth error

2012-03-13 Thread szimszon
That's weired with my laptop I got redirected to facebook but not with my desktop pc :-o I deleted _all_ cookies from laptop but no effect :( 2012. március 13., kedd 9:26:43 UTC+1 időpontban szimszon a következőt írta: > > It's OK now. > > 2012. március 12., hétfő 23:

[web2py] Re: LDAP queries on all subdomains under root?

2012-03-16 Thread szimszon
If I have some time I'll make the search scope configurable in ldap_auth... 2012. március 16., péntek 3:15:10 UTC+1 időpontban IVINH a következőt írta: > > Hi all, > > This my code for LDAP: > >from gluon.contrib.login_methods.ldap_auth import ldap_auth > > auth.settings.login_methods.ap

[web2py] Re: LDAP queries on all subdomains under root?

2012-03-16 Thread szimszon
Can you please test it? I can test it only on monday. or you can customize the search for user: auth.settings.login_methods.append(ldap_auth( mode='custom', server='my.ldap.server', base_dn='ou=Users,dc=domain,dc=com', username_attrib='uid',

[web2py] Re: LDAP queries on all subdomains under root?

2012-03-18 Thread szimszon
t; at lign > 306: > > filter = '(&(%s=%s)(%s))' % ( username_attrib, > ldap.filter.escape_filter_chars( username ), filterstr ) > > Thank szimszon. > > > > > > Vào 05:15:08 UTC+7 Thứ bảy, ngày 17 tháng ba năm 2012, szimszon đã viết: >> >

[web2py] Re: trouble reading this list

2012-03-19 Thread szimszon
I was having that problem too... 2012. március 19., hétfő 18:20:01 UTC+1 időpontban Massimo Di Pierro a következőt írta: > > Is it just me? > > I am having trouble accessing some recent posts on this list. I see the > title, author, and content says "loading...". > I apologize if I cannot answer

[web2py] Re: LDAP queries on all subdomains under root?

2012-03-19 Thread szimszon
"username_attrib" instead "username_attrs" at lign > 306: > > filter = '(&(%s=%s)(%s))' % ( username_attrib, > ldap.filter.escape_filter_chars( username ), filterstr ) > > Thank szimszon. > > > > > > Vào 05:15:08 UTC+7 Thứ bảy, n

[web2py] Re: breakpoints + Eclipse + Web2Py

2012-03-24 Thread szimszon
If you use pydev then put an import pydevd;pydevd.settrace() where the breakpoint should go. 2012. március 23., péntek 23:44:17 UTC+1 időpontban dlypka a következőt írta: > > I believe you must delete all .pyc files before running it with > breakpoints. > > On Mar 23, 1:18 pm, web2py_tn wrot

[web2py] New function in trunk: Sign e-mail with X.509 certificate enhancement

2012-03-29 Thread szimszon
If you would sign an e-mail but you do not want to include the the certificate in the e-mail just specify: mail.settings.x509_nocerts = True

[web2py] [NFiT] upload fields has a retrieve_fileproperties function

2012-03-29 Thread szimszon
2012-03-28 22:22:19 If you seek for the uploaded file's original name or the actual location of the file in the disk now you can retrieve it by: file_prop=db.files_store.content.retrieve_fileproperties( row.content ) original_filename=file_prop['filename'] path_to_the_stored_file=file_prop['path

[web2py] [NFiT] Sign e-mail with X.509 certificate enhancement

2012-03-29 Thread szimszon
Version 1.99.7 (2012-03-28 22:22:19) dev 2012. március 29., csütörtök 10:52:30 UTC+2 időpontban szimszon a következőt írta: > > If you would sign an e-mail but you do not want to include the the > certificate in the e-mail just specify: > > mail.settings.x509_nocerts = True > > >

[web2py] Re: [NFiT] upload fields has a retrieve_fileproperties function

2012-03-29 Thread szimszon
Sent a patch to google code: http://code.google.com/p/web2py/issues/detail?id=742 2012. március 29., csütörtök 15:32:01 UTC+2 időpontban Alan Etkin a következőt írta: > > Shouldn't it be called ..retrieve_file_properties? > > On Thursday, March 29, 2012 5:58:35 AM UTC-

[web2py] Re: LDAP Query for more details

2012-04-02 Thread szimszon
http://www.web2pyslices.com/slice/show/1476/ldap-auth-with-allowed-groups-and-manage-groups You should get trunk version. 2012. április 2., hétfő 18:39:06 UTC+2 időpontban Shiv a következőt írta: > > Hi Team > > I am doing ldap authentication in my application. > Now, i want to get more informati

[web2py] Re: PGP Mail Confusion

2011-10-02 Thread szimszon
You don't have to import anything it's done automatically by the framework. But you need to install python-pyme. (If I remember well the package python-pyme depends on libgpgme11). So install python-pyme and spicify sign_passphrase and other. And have a gnupg settings for web2py user. That is y

[web2py] Re: Memory leak with scheduler.py and MySQL

2011-10-24 Thread szimszon
I have the same issue but it's not related to mysql :( I installed postgresql but I have memory leak too. I use Python 2.6.6 (r266:84292, Dec 27 2010, 00:02:40) in Debian Linux squeeze. But it seems that with Python 2.7.2+ (default, Oct 4 2011, 20:03:08) (Ubuntu 11.10) everything is good.

[web2py] Re: Memory leak with scheduler.py and MySQL

2011-10-24 Thread szimszon
Could be. After I was able to install python 2.7.2 on squeeze I realized after some scheduler restart that there is still a memory use increasing...

[web2py] If I start web2py scheduler (-K) there is no pidfile created

2011-10-24 Thread szimszon
If I start web2py scheduler (-K) there is no pidfile created but I specify --pid_filename=...

[web2py] Re: If I start web2py scheduler (-K) there is no pidfile created

2011-10-24 Thread szimszon
http://code.google.com/p/web2py/issues/detail?id=486

[web2py] Scheduler and passing argument or var

2011-10-25 Thread szimszon
If I make a scheduler task from web2py I have to do something like: import uuid uuid_str = str( uuid.uuid4() ) *import simplejson* db.scheduler_task.insert( task_name = '%s' % ( auth.user.username ), function_name = 'sort_out_files', timeout = 120, *args =

[web2py] Re: Scheduler and passing argument or var

2011-10-25 Thread szimszon
What if the scheduler_task table's args field get a validator and the validator try to make a json string from a variable passed to args= if it's not already json? It could feel more web2py... :-o

[web2py] Re: Scheduler and passing argument or var

2011-10-25 Thread szimszon
Try to .loads() it and if it failed try to .dumps() and store it in db.

[web2py] Re: Found a bug: XMLRPC with basic authorization fails

2011-10-25 Thread szimszon
The book say: *Auth* enables login via basic authentication: 1. auth.settings.allow_basic_login = False http://web2py.com/book/default/chapter/08#Authentication But it isn't working too... :) Could be a typo...

[web2py] Re: Scheduler and passing argument or var

2011-10-25 Thread szimszon
Okay. I see. Than it will be good just to forbid args and vars field to have a not valid json string. In 1.99.2 I can set args and vars to arbitrary string witch cause exception in scheduler. So we need a json validator to try to .loads() the string and if it fails abort the insertion... If we

Re: [web2py] Re: Found a bug: XMLRPC with basic authorization fails

2011-10-28 Thread szimszon
Hi! Could you please post the patch here or pm me I need it as fast as possible :-o Tnx.

[web2py] sqlform.grid and represent vs. format

2011-10-28 Thread szimszon
I have to tables db.define_table( 'wdirs', Field( 'name', type = 'string', requires = IS_NOT_EMPTY()), *(a)* *format='%(name)s %(id)s'* ) db.define_table( 'files', Field( 'wdirs_id', db.wdirs, requires = IS_IN_DB( db, db.wdirs.id, "%(name)s

[web2py] Re: curl post with authentication

2011-10-28 Thread szimszon
Could be related: https://groups.google.com/forum/#!topic/web2py/lLCCUrwB5x0

Re: [web2py] Re: Found a bug: XMLRPC with basic authorization fails

2011-10-28 Thread szimszon
Tnx,

[web2py] Re: sqlform.grid and represent vs. format

2011-10-30 Thread szimszon
http://code.google.com/p/web2py/issues/detail?id=491 tnx.

[web2py] Re: Found a bug: XMLRPC with basic authorization fails

2011-10-30 Thread szimszon
http://code.google.com/p/web2py/issues/detail?id=492

[web2py] Re: curl post with authentication

2011-10-30 Thread szimszon
http://code.google.com/p/web2py/issues/detail?id=492

[web2py] eclipse run/debug web2py (scheduler) stop error

2011-11-17 Thread szimszon
Hello All! I have a problem. If I run or debug web2py.py in eclipse/pydev all is fine just if I need to stop it (terminate) eclipse can't stop it. web2py is still running no matter if I run it in background or in foreground. I wonder if somebody could help me. Is there any way to do it without

[web2py] autocomplete type than tab but not autocompleted

2011-11-21 Thread szimszon
Hi! Is it OK that if I type something in autocomplete field then TAB to the suggestions then hit ENTER but nothing is changed in the field? It is not completed. Tnx.

[web2py] Re: Memory leak with scheduler.py and MySQL

2011-11-21 Thread szimszon
Is that fixed already?

[web2py] Re: introducing-git-goggles

2011-11-24 Thread szimszon
Nice

[web2py] Re: table field with reference to other in read-only mode doesn't appear right

2011-01-31 Thread szimszon
Can I help you in other way? If you mind you could send me a modified dal.py with lots of logging (I have no console output - apache2 and mod_wsgi) but if you put import syslog syslog.syslog... than I can deliver you all the logs... On jan. 31, 07:46, szimszon wrote: > The error is const

[web2py] Re: table field with reference to other in read-only mode doesn't appear right

2011-01-31 Thread szimszon
.1.0.100'), (, 'auth'), (, '')]) Code listing try: self.execute(query) except Exception, e: if isinstance(e,self.integrity_error_class()): return None raise e if hasattr(table,'_primarykey'):

<    1   2   3   4   >