[web2py] Re: Do you use web2py in your company?

2010-05-13 Thread szimszon
I made several small apps, and installed a CAS to centralize the authentication but there are not enterprise grade... I made an Inventory app where we can follow the history of a piece of hardware installed and removed from computers, with categories, subcategories, sellers, invoice, warranty, e-m

[web2py] Re: Do you use web2py in your company?

2010-05-14 Thread szimszon
Forgot to mention my parent's website: http://oregpreshaz.eu/ :) (email form, guestbook, photo gallery, recaptcha) On máj. 13, 14:01, szimszon wrote: > I made several small apps, and installed a CAS to centralize the > authentication but there are not enterprise grade... > > I

[web2py] Re: PGP Mail

2010-05-15 Thread szimszon
t; > > > > > Thanks to szimszon we have PGP in Mail (trunk only) > > > mail.send( > >         self, > >         to, > >         subject='None', > >         message='None', > >         attachments=None, >

[web2py] Re: web2py 1.78.2

2010-05-16 Thread szimszon
What is the status of the simplejson problem? Any progress? On máj. 17, 07:49, mdipierro wrote: > I just did it. I think. > > On May 17, 12:36 am, Jonathan Lundell wrote: > > > > > On May 16, 2010, at 9:35 PM, mdipierro wrote: > > > > We found some problems in 1.78.1 and errors in views will not

[web2py] Re: web2py 1.78.2

2010-05-16 Thread szimszon
info.html: --- cut - {{extend 'layout.html'}} {{=title}} {{if auth.user_id==1: =A("(m)",_href=szerkeszt) pass}} {{=XML(szoveg)}} {{if auth.user_id==1: =A("(m)",_href=szerkeszt) pass}} - cut -

[web2py] Re: PGP Mail

2010-05-16 Thread szimszon
Seems to work. On máj. 17, 00:42, mdipierro wrote: > I moved the settings in mail.settings. I forgot to do it before > committing 1.78.1 so I will repost 1.78.2 soon. > szimszon can you please check it? > > On May 15, 11:46 am, Thadeus Burgess wrote: > > > > > I th

[web2py] Re: web2py 1.78.2

2010-05-17 Thread szimszon
controller,f='dnsdouse',args=douse.id))) pass else: =T('DNS Nothing') pass}} --- cut - Ticket 127.0.0.1.2010-05-17.09-20-49.56d45b51-05f0-49b5-9b10- cd7e9a3212a6 missing "pass" in view Error traceback Traceback (most recent call la

[web2py] Re: web2py 1.78.2

2010-05-17 Thread szimszon
pen at the same time? > > -tim > > On 5/17/2010 2:23 AM, szimszon wrote: > > > > > default/index.html: > > --- cut - > > {{extend 'layout.html'}} > > > {{try:}}{{=H2(message)}}{{except:}}{{=BEAU

[web2py] Re: web2py 1.78.2

2010-05-17 Thread szimszon
your view. > > The syntax is > > {{python code here}} > > {{=python variable here}} > > You MUST declare {{= with no space in between. the bracket and equal sign. > -- > Thadeus > > > > On Mon, May 17, 2010 at 2:23 AM, szimszon

[web2py] Re: web2py 1.78.2

2010-05-17 Thread szimszon
th multiline strings like. > > > > I think it is safe to safe to say we will have 1.78.3 by tomorrow with > > > all these problems fixed. > > > > Please continue to report any probleme with this so they can be > > > addressed. > &

[web2py] Re: nice slides on postgresql vs nodb

2010-05-20 Thread szimszon
Nice On máj. 20, 19:52, mdipierro wrote: > http://www.scribd.com/doc/31669670/PostgreSQL-and-NoSQL

[web2py] Re: Trouble starting web2py

2010-05-31 Thread szimszon
erialize DAL records. > > One option is to include latest web2py in web2py and re-apply the > patch. we will do so in 1.77.x but it would be useful to get to the > bottom of why this problem arose in the first place. > > Masismo > > On Apr 19, 3:36 pm, szimszon wrote: > > &g

[web2py] Re: Trouble starting web2py

2010-05-31 Thread szimszon
: '2011.05.11' I have the following row: "4",,"Koregpreshaz.eu. +005+61200","..","..","2011.05.11.","1","1" On máj. 31, 19:21, mdipierro wrote: > I think I fixed this. Following advice from Alexandre Andrad

[web2py] Re: Trouble starting web2py

2010-05-31 Thread szimszon
                label=T("Expire"), >                       requires=IS_DATE()), > > this may be part of the problem. > > On May 31, 2:04 pm, szimszon wrote: > > > I was able to start web2py. > > > But I have a problem I don't k

[web2py] Re: Trouble starting web2py

2010-05-31 Thread szimszon
;%Y.%m.%d)), > > The format appears in two places, the language file for the js > calendar and the validator above. > > On May 31, 2:30 pm, szimszon wrote: > > > Okay. Now the validator says: > > > enter date as 1963-08-28 > > > The 2010.05.31 isn't

[web2py] upload file -- lot of file in one directory

2010-06-08 Thread szimszon
I wasn't able to continue the thread in http://groups.google.com/group/web2py/browse_frm/thread/a81248fec1dcef81/ So... I imagine that I would have lots of files say some 10 000 or more. :) I think with ext3/ext2... filesystems so many files in one directory is a mess. Is there absoute out of q

[web2py] Re: upload file -- lot of file in one directory

2010-06-09 Thread szimszon
I mean the uuid_key's first two letters... On jún. 9, 08:45, szimszon wrote: > I wasn't able to continue the thread in >  http://groups.google.com/group/web2py/browse_frm/thread/a81248fec1dce... > > So... > > I imagine that I would have lots of files say some 10 00

[web2py] Re: upload file -- lot of file in one directory

2010-06-09 Thread szimszon
r if it would be better to sort by type. > /uploads/table_name/field_name/ > Working with those images/files should be done from a database don't you > think?  When I deal with large amounts of files I use the console. > BR, > Jason Brower > > On Tue, 2010-06-08 at 23:45 -0700

[web2py] Re: upload file -- lot of file in one directory

2010-06-09 Thread szimszon
t; BR, > Jason Brower > > On Tue, 2010-06-08 at 23:45 -0700, szimszon wrote: > > I wasn't able to continue the thread in > >  http://groups.google.com/group/web2py/browse_frm/thread/a81248fec1dce... > > > So... > > > I imagine that I would have lots of f

[web2py] Re: upload file -- lot of file in one directory

2010-06-09 Thread szimszon
Already done :) On jún. 9, 15:45, mdipierro wrote: > please email me this as an attachment. > > On Jun 9, 6:50 am, szimszon wrote: > > > Hmm... there are a lot of possibility to separate files into > > folders... > > > I typically would have lots of files with t

[web2py] Re: upload file -- lot of file in one directory

2010-06-09 Thread szimszon
two... Has somebody an opinion about it? On jún. 9, 21:07, mdipierro wrote: > Does it make sense to have the value of uploadseparate be any > different than 2? It is already 3844 subfolders. > > On Jun 9, 11:15 am, szimszon wrote: > > > Already done :) > > > On jún. 9

[web2py] Re: upload file -- lot of file in one directory

2010-06-09 Thread szimszon
Patch sent with /./ in use where self.uploadseparate == 2 :) On jún. 9, 22:11, mdipierro wrote: > I suggest a subfolder for every table.field and one for every > combinations of the first 2 chars? > The simpler the better. > > On Jun 9, 3:01 pm, szimszon wrote: >

[web2py] fresh from http://code.google.com/p/web2py/

2010-06-11 Thread szimszon
validators.py: 376: groupby = self.groupby or reduce(lambda a,b:a|b,self.fields) Traceback (most recent call last): File "/home/szimszon/fejlesztes/sajat/web2py/gluon/restricted.py", line 178, in restricted exec ccode in environment File "/home/szimszon/fejleszt

[web2py] Re: Support for conversation?

2010-06-11 Thread szimszon
This conversation thing could be handy for my inventory app... I just made use of session but the user starting new conversations to get the info to continue the original... after that we can't trust the info in session. ... :-o On jún. 11, 15:10, pierreth wrote: > On 11 juin, 01:14, mdipierr

[web2py] Re: fresh from http://code.google.com/p/web2py/

2010-06-12 Thread szimszon
Same as: http://groups.google.com/group/web2py/browse_frm/thread/d0d6de082de4fe54# On jún. 11, 15:45, mdipierro wrote: > somewhere you have > > orderby='table.field'|'table.field' > >  instead of > > orderby=db.table.field|db.table.fiel

[web2py] Re: upload file -- lot of file in one directory

2010-06-12 Thread szimszon
No because you can specify the location of uploaded material so it can be on any filesystem, and uploadseparate work under uploadfolder to... On jún. 12, 21:57, weheh wrote: > One more question -- doesn't this eliminate the need for > Field(...uploadfolder=pathname,...)? I suppose keeping the > u

[web2py] Re: Struggling with file upload ... yet again :(

2010-06-13 Thread szimszon
uploadseparate could be only True or False but that is not the problem here... I uploaded files only through forms and did't use store function expicitly... On jún. 14, 05:56, weheh wrote: > I'm using the latest trunk stuff with the new uploadseparate > capability. > > # model > db.define_table('

[web2py] Re: upload file -- lot of file in one directory

2010-06-13 Thread szimszon
=2, >   ) > > and expect the files to be uniformly distributed across 2 filesystems? > That (or its equivalent) would be awesome. > > On Jun 12, 4:20 pm, szimszon wrote: > > > No because you can specify the location of uploaded material so it can > > be on any filesystem,

[web2py] crud chaining onaccept

2010-06-16 Thread szimszon
Hello! I wonder if somebody could help me. Can I chain somehow the onaccept functions or specify more functions on onaccept? I need crud.archive and I need some custom computing if the crud form is accepted like storing additional files, populate another table data from accepted form fields auto

[web2py] Little little Document Management System with flatbed scanners

2010-06-18 Thread szimszon
Developed with web2py. Document Management System LOL :) for home use with sane compatible flatbed scanners... There is no hierarchie among files just tags. The application make use of crud.archive. There is no document checkout or checkin. There is only basic right management (just login and

[web2py] Re: Little little Document Management System with flatbed scanners

2010-06-18 Thread szimszon
Need a latest trunk with uploadseparate support. On jún. 18, 15:26, szimszon wrote: > Developed with web2py. > > Document Management System LOL :) for home use with sane compatible > flatbed scanners... > > There is no hierarchie among files just tags. > > The

[web2py] Re: Little little Document Management System with flatbed scanners

2010-06-19 Thread szimszon
code patch's... On jún. 18, 17:14, mdipierro wrote: > Can you post a screenshot? Do you use a version control and hosting, > like google code? > > On Jun 18, 8:26 am, szimszon wrote: > > > Developed with web2py. > > > Document Management System LOL :)

[web2py] Re: Little little Document Management System with flatbed scanners

2010-06-19 Thread szimszon
> Let's share the ideas, maybe create something great, together > > {{ }}'s > > On 18 jun, 12:14, mdipierro wrote: > > > Can you post a screenshot? Do you use a version control and hosting, > > like google code? > > > On Jun 18, 8:26 am, szimsz

[web2py] Re: Little little Document Management System with flatbed scanners

2010-06-19 Thread szimszon
ld be > > useful:http://www.cuneiform.ru/eng/index.htmlhttp://code.google.com/p/ocropu... > > > V Sobota, 19. jún 2010 o 01:58 -0700, szimszon napísal(a): > > > > It would be great to have OCR integrated in it :) I would like it but > > > I didn't have time to search fo

[web2py] Re: Little little Document Management System with flatbed scanners

2010-06-19 Thread szimszon
It's in debian squeeze. Version 0.3.1-3. On jún. 19, 18:12, szimszon wrote: > ocropus > * Required and Recommended Software >         * iulib >         * Tesseract > > On jún. 19, 17:01, rochacbruno wrote: > > > Pytesser (tesseract) is working very well fo

[web2py] Re: Little little Document Management System with flatbed scanners

2010-06-19 Thread szimszon
It could be more robust to have the ability to configure the ocr in db.config... It could be any ocr just need text output in the stdout... On jún. 19, 18:18, szimszon wrote: > It's in debian squeeze. Version 0.3.1-3. > > On jún. 19, 18:12, szimszon wrote: > > > ocr

[web2py] Re: Little little Document Management System with flatbed scanners

2010-06-21 Thread szimszon
ime+60}"... On jún. 18, 15:26, szimszon wrote: > Developed with web2py. > > Document Management System LOL :) for home use with sane compatible > flatbed scanners... > > There is no hierarchie among files just tags. > > The application make use of crud.archive.

[web2py] Re: Little little Document Management System with flatbed scanners

2010-06-21 Thread szimszon
ime+60}"... On jún. 18, 15:26, szimszon wrote: > Developed with web2py. > > Document Management System LOL :) for home use with sane compatible > flatbed scanners... > > There is no hierarchie among files just tags. > > The application make use of crud.archive.

[web2py] Re: Little little Document Management System with flatbed scanners

2010-06-22 Thread szimszon
Google Wave: https://wave.google.com/wave/waveref/googlewave.com/w+v0AlALXaA On jún. 21, 16:15, szimszon wrote: > There is a document form templates in it. > > You can fill title, tags, body, comments, expiration date fields with > a selected template. > > You can have da

[web2py] Trouble with lazy virtual fields

2010-06-28 Thread szimszon
After the http://www.thadeusb.com/weblog/2009/12/31/web2py_virtualfields_as_an_orm_an_sqlalchemy_approach webpage I made something like: --- cut --- db.define_table( 'web_sites', Field( 'web_id', db.web,

[web2py] Re: Trouble with lazy virtual fields

2010-06-28 Thread szimszon
extra(): def servername( self ): r="something" return self.web_sites.txt.split() On jún. 28, 09:13, szimszon wrote: > After the > > http://www.thadeusb.com/weblog/2009/12/31/web2py_virtualfields_as_an_... > > webpage I made something like: > --- cut

[web2py] Re: Trouble with lazy virtual fields

2010-06-28 Thread szimszon
The virtualfields class is not a common python class? On jún. 28, 09:35, szimszon wrote: > That's weired why is this working: > > class web_sites_extra(): >   def servername( self ): >     return self.web_sites.txt.split() > > and this not: > > class web_sites_e

[web2py] error with dal.py

2010-06-28 Thread szimszon
after login I got: Traceback (most recent call last): File "/home/szimszon/fejlesztes/sajat/web2py/gluon/restricted.py", line 178, in restricted exec ccode in environment File "/home/szimszon/fejlesztes/sajat/web2py/applications/dms/ controllers/default.py", line 51

[web2py] Re: error with dal.py

2010-06-28 Thread szimszon
postgresql... On jún. 28, 22:16, szimszon wrote: > after login I got: > > Traceback (most recent call last): >   File "/home/szimszon/fejlesztes/sajat/web2py/gluon/restricted.py", > line 178, in restricted >     exec ccode in environment >   File "/h

[web2py] Re: Trouble with lazy virtual fields

2010-06-28 Thread szimszon
Can I help or do something to track it down? On jún. 28, 20:52, szimszon wrote: > The virtualfields class is not a common python class? > > On jún. 28, 09:35, szimszon wrote: > > > That's weired why is this working: > > > class web_sites_extra(): > >  

[web2py] Re: Little little Document Management System with flatbed scanners

2010-07-12 Thread szimszon
once -- you should setup mail.settings in db.py On jún. 22, 08:39, szimszon wrote: > Google Wave:https://wave.google.com/wave/waveref/googlewave.com/w+v0AlALXaA > > On jún. 21, 16:15, szimszon wrote: > > > > > > > > > There is a document form templ

[web2py] Re: Trouble with lazy virtual fields

2010-07-26 Thread szimszon
I'll if I found time for that :-) On júl. 26, 12:14, mdipierro wrote: > I completely missed this thread. I think this is fixed now. Can > somebody try it? > > On Jun 29, 1:25 am, szimszon wrote: > > > > > > > > > Can I help or do something to trac

[web2py] IS_IN_SET multiple=True with non-ASCII character failed

2010-02-03 Thread szimszon
IS_IN_SET(['Új', 'Beépítve', 'Eladva', 'Használt','Selejtezve', 'Cseredarab', 'Bérben', 'Hibás'],multiple=True) If I select "Új" I get: value not allowed If I select "Selejtezve" it's OK. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post

[web2py] Re: IS_IN_SET multiple=True with non-ASCII character failed

2010-02-04 Thread szimszon
It works but I think it's just a workaround :( On febr. 3, 21:07, Thadeus Burgess wrote: > Try assigning them unique ID's instead of the string. > > IS_IN_SET((1, 2, 3, 4), (option a, option b, option c, option d), > multiple=True) > > -Thadeus > > > >

[web2py] Re: IS_IN_SET multiple=True with non-ASCII character failed

2010-02-04 Thread szimszon
If you mean u'Új'.encode('UTF-8') ? It's not working :( On febr. 3, 22:12, mdipierro wrote: > Use UTF8 not unicode. > > On Feb 3, 2:03 pm, szimszon wrote: > > > > >IS_IN_SET(['Új', 'Beépítve', 'Eladva', 'Ha

[web2py] Re: web2py site problem ?!

2010-02-12 Thread szimszon
Sometimes there is a 1day delay in recursive dns servers to refresh entries... On febr. 12, 17:36, Álvaro Justen [Turicas] wrote: > On Thu, Feb 11, 2010 at 23:20, mdipierro wrote: > > It has moved. It is not here: > > >http://204.236.202.204/ > > > My DNS has not refreshed in 2hrs. I tried > > >

[web2py] mail plain text message wrong charset

2010-02-17 Thread szimszon
Hello! I like to send email with: context=dict(...) message=response.render( 'template.txt', context ) mail.send( to = ['some email'], subject = 'proba', message = message,

[web2py] weird behavior to see in chrome's speed tracer

2010-02-22 Thread szimszon
Recently I watched the web2py admin site trough chrome's speed tracer and if I hit "edit" between "site" and "about" in menu bar on http://127.0.0.1:8000/admin/default/design/myapp site then I see as many http://127.0.0.1:8000/admin/default/design/myapp urls as many time I hit "edit". It seems to m

[web2py] Re: weird behavior to see in chrome's speed tracer

2010-02-22 Thread szimszon
Can be a chrome bug or speed tracer's. The firebug in firefox doesn't show it in this way :-D But weird... On febr. 22, 19:23, szimszon wrote: > Recently I watched the web2py admin site trough chrome's speed tracer > and if I hit "edit" between "sit

[web2py] Re: mail plain text message wrong charset

2010-02-22 Thread szimszon
I wonder if somebody could turn me in the right direction? On febr. 17, 09:16, szimszon wrote: > Hello! > > I like to send email with: >         context=dict(...) >         message=response.render( 'template.txt', context ) >        

[web2py] where to send translation file?

2010-02-23 Thread szimszon
Hi! I made a Hungarian translation file where can send it to? -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@google

[web2py] Re: mail plain text message wrong charset

2010-02-23 Thread szimszon
I got: File "/home/szimszon/fejlesztes/sajat/web2py/applications/raktar/ models/db.py", line 43, in mail=Mail( encoding = "UTF-8" ) # mailer TypeError: __init__() got an unexpected keyword argument 'encoding' And I think my me

[web2py] Re: mail plain text message wrong charset

2010-02-23 Thread szimszon
lf, >             payload, >             filename=None, >             content_id=None, >             content_type=None, >             encoding='utf-8') this init is for class Attachment I don't want to include attachments I'll only send plaintext messages with Content-Type: text/pla

[web2py] Re: mail plain text message wrong charset

2010-02-23 Thread szimszon
│ 113589│febr 18 21.57 Is it old? On febr. 23, 17:32, Thadeus Burgess wrote: > Mail has an encoding variable, unless you are running an older version > of web2py. > > The code you posted is for the attachment class. > > -Thadeus > > > > On Tue, Feb 23, 2010 at 3

[web2py] Re: mail plain text message wrong charset

2010-02-23 Thread szimszon
p/web2py/source/browse/gluon/tools.py#181 > >     def send( >         self, >         to, >         subject='None', >         message='None', >         attachments=None, >         cc=None, >         bcc=None, >         reply_to=None, >         encodi

[web2py] Re: mail plain text message wrong charset

2010-02-23 Thread szimszon
. 23, 20:47, Thadeus Burgess wrote: > Have you tried > > mail.send(encoding='us-ascii') ? > > -Thadeus > > > > On Tue, Feb 23, 2010 at 1:33 PM, szimszon wrote: > > Okay. I see... > > > The default is utf-8 and if I set it to utf-8

[web2py] Re: mail plain text message wrong charset

2010-02-25 Thread szimszon
Jakab", addr="Szt. Erzsébet körút") message=response.render('emailbody.txt', context) mail.send(to="szimszon", subject="test email", message=message) return dict(message=T('Mail sent')) made an

[web2py] Re: mail plain text message wrong charset

2010-02-25 Thread szimszon
I need utf-8 :) On febr. 25, 12:20, mdipierro wrote: > Because               encoding="utf-8" is default. You have to figure > out what is the encoding you need. > > On Feb 25, 4:32 am, szimszon wrote: > > > > > I tested it again, > > > I created

[web2py] Re: mail plain text message wrong charset

2010-02-25 Thread szimszon
e ourselves > with (mt), all emails sent from this server are encoded utf-8. > > This must not be a web2py issue but SMTP issue.  Google and the like > decide to recode all of their messages, and there might not be > anything that can be done about it besides using your own SMTP se

[web2py] Re: mail plain text message wrong charset

2010-02-25 Thread szimszon
us-ascii > > The only change is the credentials and SMTP server I am connecting to, > no code changes whatsoever. > > -Thadeus > > > > On Thu, Feb 25, 2010 at 4:20 PM, szimszon wrote: > > Hmmm... I don't use gmail or google to send email... > > > You talk ab

[web2py] db select cache.ram.clear() and apache2 + wsgi not working

2010-02-25 Thread szimszon
Hello! I wonder if somebody could it confirm: I have a db: --- cut db.define_table('guestbook', Field('email','string', label=T("E-Mail"), requires=IS_EMAIL()), Field('nick','string', la

[web2py] Recaptcha doesn't play nice with crud

2010-02-26 Thread szimszon
Hello! Sorry for the lot messages :-o I have a controller: def captcha(): form=crud.create(db.mytable) form[0].append(Recaptcha(request,"","...")) return dict(form=form) but the validation is always succeed... I have 2 errors on javascript console (chrome) but I don't know if i

[web2py] Re: db select cache.ram.clear() and apache2 + wsgi not working

2010-02-26 Thread szimszon
me. In this case you should > use cache.disk, not cache.ram. > > On Feb 26, 1:34 am, szimszon wrote: > > > > > Hello! > > > I wonder if somebody could it confirm: > > > I have a db: > > --- cut > > db.define_

[web2py] Re: db select cache.ram.clear() and apache2 + wsgi not working

2010-02-26 Thread szimszon
I see, thanks. On febr. 26, 09:42, mdipierro wrote: > it is not useless. It works of if you run only one wsgi process but > cache lives only within the lifetime of the process. > > On Feb 26, 2:32 am, szimszon wrote: > > > > > Okay. It looks good now. Thanks for the

[web2py] Re: db select cache.ram.clear() and apache2 + wsgi not working

2010-02-26 Thread szimszon
wrote: > > > > > it is not useless. It works of if you run only one wsgi process but > > cache lives only within the lifetime of the process. > > > On Feb 26, 2:32 am, szimszon wrote: > > > > Okay. It looks good now. Thanks for the prompt replay. > >

[web2py] strange traceback from db select's cache.disk with apache2 and wsgi

2010-02-26 Thread szimszon
Error traceback Traceback (most recent call last): File "gluon/restricted.py", line 173, in restricted exec ccode in environment File "applications/raktar/compiled/controllers_lista_szamla.py", line 360, in File "gluon/globals.py", line 96, in self._caller = lambda f: f() File "g

[web2py] Re: mail sending no functioning from Chrome

2010-02-26 Thread szimszon
What is the output? Any error message? Form is accepted? On febr. 26, 17:16, LBarret wrote: > This code works under FF not under Chrome (5.0.330.0 (39184) Ubuntu ). > > >     form = FORM( >                LABEL("Get our monthly > newsletter:",_class="InputCaption", _id="NL"), > > INPUT(id="Email

[web2py] Re: Recaptcha doesn't play nice with crud

2010-02-26 Thread szimszon
nvalid html markup > > http://web2py.com/AlterEgo/default/show/205 > > -Thadeus > > > > On Fri, Feb 26, 2010 at 2:27 AM, szimszon wrote: > > ello! > > > Sorry for the lot messa -- You received this message because you are subscribed to the Google Grou

[web2py] Re: strange traceback from db select's cache.disk with apache2 and wsgi

2010-02-26 Thread szimszon
AND invoice.seller_id=seller.id) AND invoice.id=370) ORDER BY seller.name; On febr. 26, 16:22, szimszon wrote: > Error traceback > > Traceback (most recent call last): >   File "gluon/restricted.py", line 173, in restricted >     exec ccode in environment >   Fil

[web2py] Re: strange traceback from db select's cache.disk with apache2 and wsgi

2010-02-26 Thread szimszon
The table has upload field and blob to hold file. Can it cause the problem? On febr. 26, 21:22, szimszon wrote: > This is the cached select which caused the trouble: > > SELECT invoice.id, invoice.seller_id, invoice.number, invoice.date, > invoice.document, invoice.invoicedat

[web2py] Re: strange traceback from db select's cache.disk with apache2 and wsgi

2010-02-28 Thread szimszon
rm.errors.invoice='Helytelen bevitel, használd az autocompletet!' if not filter_form.errors: lista=db( query ).select( orderby = db.seller.name , cache=(cache.disk,120)) else: lista=[] else: lista=[] return dict( filter_form = filter_form, lista =

[web2py] Re: strange traceback from db select's cache.disk with apache2 and wsgi

2010-02-28 Thread szimszon
Lundell wrote: > On Feb 28, 2010, at 4:45 AM, mdipierro wrote: > > > You cannot store in a session the result of a select(). > > This seems to come up a lot. Would it be practical to have Session catch the > exception and raise a more helpful (higher-level) one? > > >

[web2py] Re: Recaptcha doesn't play nice with crud

2010-03-01 Thread szimszon
Works for me. On márc. 1, 03:16, "mr.freeze" wrote: > Patch submitted. It adds crud.settings.create_captcha and > crud.settings.update_captcha. > > On Feb 27, 12:50 am, "hamdy.a.farag" wrote: > > > > > Hi > > > The reason for this is that any field added to a form needs to be > > added b4 if for

[web2py] Re: Recaptcha doesn't play nice with crud

2010-03-01 Thread szimszon
Could you implement it as crud.[create,update](...,captcha=...) It would be nice :) On márc. 1, 22:40, szimszon wrote: > Works for me. > > On márc. 1, 03:16, "mr.freeze" wrote: > > > > > Patch submitted. It adds crud.settings.create_captcha and > > cr

[web2py] crud and col3

2010-03-02 Thread szimszon
Hello! I know it's a beginner question but I can't google any answer to my question :( I wonder if someone could help me. How can I add some text in crud form's col3? Thank you! -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this

[web2py] Re: crud and col3

2010-03-02 Thread szimszon
; > or > > Field(,comment=SPAN('try ',A('click here'))) > > On Mar 2, 7:47 am, szimszon wrote: > > > > > Hello! > > > I know it's a beginner question but I can't google any answer to my > > question :( > > > I wonder

[web2py] Re: crud and col3

2010-03-02 Thread szimszon
ud.create(db.table) > form[0][-2][0].append(LABEL("ReCaptcha:")) > > On Mar 2, 8:17 am, szimszon wrote: > > > > > Okay, I have gone to lamer counter (http://dawn.royalcomp.hu/~raas/ > > lc.html). > > > Tnx a lot! > > > But another quest

[web2py] Re: mail plain text message wrong charset

2010-03-02 Thread szimszon
nt-Type us-ascii > ServerB -> Google SMTP -> receive Content-Type us-ascii > > The only change is the credentials and SMTP server I am connecting to, > no code changes whatsoever. > > -Thadeus > > > > On Thu, Feb 25, 2010 at 4:20 PM, szimszon wrote: > >

[web2py] Re: crud and col3

2010-03-03 Thread szimszon
Mar 2, 4:51 pm, "mr.freeze" wrote: > > > > > > > > > > > > Or you can do this: > > > > > > > > > > > > crud.settings.create_captcha= > > > > > > > > > > > DIV(Recaptcha(request,recaptcha_public,recaptcha_private),_id='

[web2py] Re: db select cache.ram.clear() and apache2 + wsgi not working

2010-03-11 Thread szimszon
> The fact is the web server may be restarting the process or running > more than one process. Apache does the same. In this case you should > usecache.disk, notcache.ram. > > On Feb 26, 1:34 am, szimszon wrote: > > > > > Hello! > > > I wonder if somebody could it

[web2py] Re: db select cache.ram.clear() and apache2 + wsgi not working

2010-03-16 Thread szimszon
      if not CacheAbstract.cache_stats_name in storage.keys(): >             storage[CacheAbstract.cache_stats_name] = { >                 'hit_total': 0, >                 'misses': 0, >             } >         storage.sync() >         portalocker.unlock(locker) >

[web2py] Re: Ctrl-S is not saving file in admin file editor

2010-03-16 Thread szimszon
I have the some issue on Linux and Chrome... On márc. 16, 18:22, stephen wrote: > Windows > > On Mar 16, 1:11 pm, Wes James wrote: > > > > > Are you on PC or mac. On mac, I noticed I had to press the command-key > > to get the save to work. > > > -wj > > > On Tue, Mar 16, 2010 at 10:28 AM, steph

[web2py] Re: Ctrl-S is not saving file in admin file editor

2010-03-16 Thread szimszon
The problem is with every file... On márc. 16, 19:50, mdipierro wrote: > Can you help me debug it. It is a problem wit every file of just views > (.html)? > > On Mar 16, 11:28 am, stephen wrote: > > > > > Hello, > > > The admin file editor is not saving files when you press Ctrl-S. It > > was wo

[web2py] Re: mail plain text message wrong charset -- possible solution

2010-03-21 Thread szimszon
Encoding happens implicitly based on the _charset argument. --- cut But the Subject line isn't good because it has no encoding information in it... On márc. 2, 21:41, szimszon wrote: > It isn't good in 1.76.1 too :( > > On febr. 25, 23:43

[web2py] Re: mail plain text message wrong charset -- possible solution

2010-03-21 Thread szimszon
payload['Bcc'] = header.Header(', '.join(bcc).decode(encoding).encode('utf-8'),'utf-8') On márc. 21, 15:41, mdipierro wrote: > Thank you! Fix is in trunk. > > On Mar 21, 7:04 am, szimszon wrote: > > > > > Okay I found t

[web2py] crud auth and user without login

2010-03-22 Thread szimszon
Hello! Is there a way to allow crud to user without login but to force login to certain other crud form? I make a webpage with crud and auth and I need anonymous access to guestbook (protected with recaptcha:) Or I need SQLForm for guestbook? -- You received this message because you are subscr

[web2py] Re: crud auth and user without login

2010-03-22 Thread szimszon
> if auth.is_logged_in() or auth.has_membership(...) or > auth.has_permissions(...): form= ... > > Massimo > > On Mar 22, 8:11 am, szimszon wrote: > > > > > Hello! > > > Is there a way to allow crud to user without login but to force login > > to c

[web2py] feature request - database record locking

2010-03-25 Thread szimszon
Hello! I would like to have a built in support for database locking. I think about something like auth_permission... I can make an entry in it with user_id, name (create,read,update,delete,select), table_name, record, expiration_time, type(soft,hard)... soft type - other user could override it w

[web2py] Re: feature request - database record locking

2010-03-25 Thread szimszon
s from editing the same wiki > page at the same time. It involves ajax keepalive. For efficiency the > locking time is stored in the same table being locked. I am not sure > this belongs to auth but we could have a plugin. > > Massimo > > On Mar 25, 2:16 pm, szimszon wrote: &

[web2py] Re: feature request - database record locking

2010-03-25 Thread szimszon
In sort I'll test it. I'm somewhat lost in plugin threads :( Is the plugin system stable now? Are there any complete documentation about it in current state? On márc. 26, 03:04, mdipierro wrote: > No... that  did not work. This does: > > http://web2py.com/plugins/default/locking > > On Mar 2

[web2py] Re: feature request - database record locking

2010-03-26 Thread szimszon
Seems to work. Thank you! Anyway I think in long term it would be better to have such feature integrated in core web2py. On márc. 26, 03:04, mdipierro wrote: > No... that  did not work. This does: > > http://web2py.com/plugins/default/locking > > On Mar 25, 5:20 pm, Massimo Di Pierro wrote: >

[web2py] Re: feature request - database record locking

2010-03-26 Thread szimszon
internally... On márc. 26, 15:42, mdipierro wrote: > It requires exposing an ajax listener. It would introduce a dependency > on a js library and would be more complex for the user who would have > to implement the listener. > > Massimo > > On Mar 26, 9:20 am, szimszon wrot

[web2py] Can't download file with IE8

2010-04-07 Thread szimszon
Hello, I have an " Internet Explorer cannot download ...f783273687326762357523675236785237623786.pdf from some domain. Internet Explorer was not able to open this Internet site. The requested site is either unavailabla or cannot be found. Please try again later. " With Chrome and FF it works. Th

[web2py] Re: Can't download file with IE8

2010-04-07 Thread szimszon
yes On ápr. 7, 14:50, Timothy Farrell wrote: > Are you on a HTTPS connection? > > On 4/7/2010 6:29 AM, szimszon wrote: > > > > > Hello, > > > I have an > > " > > Internet Explorer cannot > > download ...f78327368732676235752367523678523762

[web2py] Re: Can't download file with IE8

2010-04-07 Thread szimszon
files over https. You should now have that > problem with the web2py in trunk which uses rocket or if you use > another web server. > > On Apr 7, 8:09 am, szimszon wrote: > > > > > yes > > > On ápr. 7, 14:50, Timothy Farrell wrote: > > > > Are you on

  1   2   3   4   >