My fault. I tried with nightly and not trunk :-o
Trunk works just fine :) thank you!
On febr. 1, 03:07, Massimo Di Pierro
wrote:
> this should now be fixed in trunk. Please check it.
>
> On Jan 31, 12:46 am, szimszon wrote:
>
>
>
>
>
>
>
> > The error
Oh yes and the original error isn't present anymore... BigTNX :)
On febr. 1, 07:57, szimszon wrote:
> My fault. I tried with nightly and not trunk :-o
>
> Trunk works just fine :) thank you!
>
> On febr. 1, 03:07, Massimo Di Pierro
> wrote:
>
>
>
>
>
>
web2py™ Version 1.92.1 (2011-02-16 15:04:40)
Python Python 2.5.2: /usr/bin/python
Traceback (most recent call last):
File "/home/szimszon_nfs/web2py/gluon/restricted.py", line 186, in
restricted
ccode = compile2(code,layer)
File "/home/szimszon_nfs/web2py/gluon/restricted.py", lin
Yes I already did it and I mentioned it in the code above but the
point is that it was working until I upgraded the framework. The
original syntax was good too I mean I can't see what is wrong with it.
So it's a backward compatibility issue :(
On márc. 4, 10:58, pbreit wrote:
> Maybe try closin
I had a mysql table with boolean field but there was some rows with
empty fields than I got that:
Traceback (most recent call last):
File "applications/serveradmin/compiled/controllers_integrity_ftp.py",
line 191, in ftp
File "/usr/local/web2py/gluon/dal.py", line 4605, in select return
self.db._a
Don't know could be but
The interpreter which checks the syntax about all the pass-es are in
right place give me the syntax error. What I try to say that first I
visit the page the msg is None so the "if" branch isn't executed at
all.
If I just byte compile the app I have the same syntax error me
If I Submit form data which contains checkbox (boolean) field I got
back the form with all checkbox selected...
The database operation is ok. Just the returning form is displayed
with all checkbox checked...
I thought that after the "=" I could only write one string/variable/
function with string output which is wrapped in write... Anything else
I could put in non-python block...
Never mind. I can live with what you choose as solution :) Just I say
it was working before :-o
I will stay with web2py an
With the new 1.93.2 there is no issue... :)
On márc. 4, 15:29, Massimo Di Pierro
wrote:
> Which web2py version? I cannnot reproduce it? If latest, can you post
> some code to reproduce it?
>
> On Mar 4, 6:12 am, szimszon wrote:
>
>
>
>
>
>
>
> > If I S
It was on purbose.
On márc. 5, 20:18, pbreit wrote:
> There was also a suggestion that the space before the = might have been an
> issue: {{ =XML(msg)}} Is that space in there on purpose or by accident?
Hi!
I use Version 1.94.6 (2011-03-27 18:20:38).
I have in db:
-
db.define_table( 'mail_domain',
Field( 'domainname',
'string',
label =
Any progress / comment?
On márc. 27, 22:04, szimszon wrote:
> Hi!
>
> I use Version 1.94.6 (2011-03-27 18:20:38).
>
> I have in db:
> -
> db.define_table( 'mail_domain',
>
I need email_auth for various domain names. Like @oregpreshaz.eu
@kopaszhegy.hu...
But there is a limitation in email_auth:
if not email[-len(domain):]==domain:
return False
So you have to specify one and only one domain.
Here is my proposal:
17,18c17,26
< if not em
sent :)
On márc. 31, 15:35, Massimo Di Pierro
wrote:
> ok. please send me an email with the modified time as an attachment.
>
> On Mar 31, 2:09 am, szimszon wrote:
>
>
>
>
>
>
>
> > I need email_auth for various domain names. Like @oregpreshaz.eu
> &
),
signature,
migrate =
settings.migrate,
)
db.mail_alias.alias.requires = IS_NOT_IN_DB(
db( ( db.mail_account.mai
Can I help with something?
On márc. 30, 08:55, szimszon wrote:
> Any progress / comment?
>
> On márc. 27, 22:04, szimszon wrote:
>
>
>
>
>
>
>
> > Hi!
>
> > I use Version 1.94.6 (2011-03-27 18:20:38).
>
> > I have in db:
> >
ssimo Di Pierro
wrote:
> It would help to have a smaller example to understand the problem
> better. Can you reproduce it with one table with 1-2 fields and one
> action?
>
> On Apr 4, 5:30 am, szimszon wrote:
>
>
>
>
>
>
>
> > Can I help with something?
With
Version 1.94.6 (2011-04-21 04:20:18) -- nightly build
the problem is still persist...
File
"/home/szimszon/fejlesztes/sajat/web2py/applications/mailadmin/models/menu.py"
<http://localhost:8000/admin/default/edit/mailadmin/models/menu.py>, line 9, in
( T( 'Új domain' ), URL( 'default', 'domain' ).xml() == URL().xml(), URL
Okay. No problem. I mentioned just because the default app. had that code
too :-o
With 1.95.1 is the same :(
http://code.google.com/p/web2py/issues/detail?id=248
Is there a way to replace \n with and space with in the
displayed value of text field if the field is writable=False and displayed
in crud form:
db.define_table('some_table',
Field('some_text','text',writable=False)
)
crud.update(db.some_table,request.args(0))
I need it only writable=False I need to display it like:
"
some text
other text
another line
"
but I got only:
"some textother textanother line"
Works. Thank you!
But there could be a situation you don't own the database server...
Hmmm... not exactly good. I had to make a function
def replace_to_html( s ):
try:
return XML( s.replace( '\n', '' ) )
except:
return s
because s is None it has no replace function...
And call:
db.some_table.some_text.represent = lambda s: replace_to_html( s )
Than we just need to have SQLCustomType documented (be stable and backward
compatible:) and/or made a crypt db field type basic as string, text... :)
import datetime
datetime_object=datetime.datetime.combine(row.datum_start,datetime.time(0))
With this little app you can share some files with everybody on net without
authenticating
- There is an authenticated user who can create upload sets. He or she
can specify how many files can be uploaded and how long can somebody
download or upload them.
- He or she can specify
May I ask you a hint about how to do it? :-o I shall try...
Thanks. Done. http://web2py.com/appliances/default/show/78
- URL(...,user_signature=True), LOAD(...,user_signature=True) can sign
urls and @auth.requires_signature() will check the signature for any
decorated action.
Sorry for a stupid question but what is an url signature how does it work?
Thanks
I updated the app and uploaded the new already to
http://web2py.com/appliances/default/show/78
Changelog
110608
- data about the file downloads
- authorized user can delete individual uploaded file
- separate code for download and upload urls
Forget to mention that old records without separate download code (uuid)
doesn't get filled if it is accessed so earlier upload sets files can't be
downloaded. You have to add the uuid by hand with appadmin. Sorry for that.
Stupid bug :(
fix for broken download link in the uploaded files datapage (if you are
authenticated you can modify the uploaded file trough crud form. That link
for download was broken)
And two settings are added to 0.py:
- settings.default_valid_download_days = 7
- settings.default_vali
Oh and the
- settings.verzion_number='110608.a'
added too to 0.py
Need some sleep :-o
Has somebody looked at it:
http://code.google.com/p/web2py/issues/detail?id=292 ?
OK. I just do not know if creating an issue is enough or should I mention it
here... Take time :)
Update of the app:
Changelog
110623
- generating MD5Sum with hashlib for uploaded files
- little design change
Codes are in github: https://github.com/szimszon/Temporary-storage
Okay. I put a GPL3 in it. Is that okay? :) I not really care. :) This is
just for fun.
So fork it! Submit pull requests! Make it more fun! And tell me if you like
it :-D
Code updated to support python2.5 in generating the md5 checksum. Thanks
Peter.
Changelog
110627
- you can make the upload and download uuid's writable if you set the
- settings.uuid_writable = True
in the file 0.py
Hello All!
See I right that the plugin system can't handle language files for the
plugins or I miss something?
It could be good to be able to have the language files for plugins...
Did not work. And admin did not recognize it too...
Minor update:
110630
display the number of the uploadable and the uploaded files on upload group
list
110628
the upload and downloaed links of the upload groups has now a title='...'
with the best before date
And *Like* button on https://trac.oregpreshaz.eu/linux/wiki/ul
Could we have a down
Issue 292 is still there [normal and lazy virtual field behavior]
http://code.google.com/p/web2py/issues/detail?id=292
It's like you do not have a "db" DAL object.
Where is your db connection settings?
2013. június 3., hétfő 23:22:30 UTC+2 időpontban mrendon a következőt írta:
>
> Thanks! Is this it?
>
> Traceback (most recent call last):
> File "/home/www-data/web2py/gluon/restricted.py", line 212, in restricte
+1
2013. június 25., kedd 22:23:32 UTC+2 időpontban Massimo Di Pierro a
következőt írta:
>
> Should we include decrypt(key,data) and encrypt(key,data) in gluon.utils?
>
> On Tuesday, 25 June 2013 13:42:29 UTC-5, Niphlod wrote:
>>
>> sorry, cut&paste error.
>>
>>
>>
>> import gluon.contrib.aes as
Could you try setting the logging_level to debug?
from gluon.contrib.login_methods.ldap_auth import ldap_auth
auth.settings.login_methods.append(ldap_auth(mode='ad',
bind_dn='userName', bind_pw='passWord', manage_groups=False,
server='serverName',
base_dn='ou=OU,ou=OU,dc=DC,dc=DC',
lo
Hi!
It's still broken for me.
googlecode 7a1ff6228799
I have a session in db. If I didn't check the Remember me than I get
Traceback (most recent call last):
File "/home/gyszabolcs/fejlesztes/web2py/gluon/restricted.py", line 217,
in restricted
exec ccode in environment
File
"/hom
enew*(*clear_session*=not self.*settings*.*
keep_session_onlogin*)*
2013. augusztus 22., csütörtök 10:29:03 UTC+2 időpontban szimszon a
következőt írta:
>
> Hi!
>
> It's still broken for me.
>
> googlecode 7a1ff6228799
>
> I have a session in db. If I didn't check
Seems to work. Tnx!
2013. augusztus 22., csütörtök 11:36:16 UTC+2 időpontban Massimo Di Pierro
a következőt írta:
>
> Please try again. Thanks for checking this.
>
> On Thursday, 22 August 2013 03:29:03 UTC-5, szimszon wrote:
>>
>> Hi!
>>
>> It
Hi!
I have some apps where I usually do multiple things simultaneously or I
have to look at some page for information (page with form too) and
copy&past to the first. But I have to reload the first page because the
single form key. It can be really annoying :( So if it could be change I'm
for
http://code.google.com/p/web2py/issues/detail?id=1688
Thanks.
2013. szeptember 22., vasárnap 19:33:22 UTC+2 időpontban Massimo Di Pierro
a következőt írta:
>
> Please open a ticket. I have an idea about what to do.
>
> On Sep 22, 2013, at 12:31 PM, szimszon wrote:
>
> Hi!
&g
http://code.google.com/p/web2py/issues/detail?id=1791&thanks=1791&ts=1385453629
I have an app with lot of disk cache usage in selects after 2.7 - don't know
exactly the exact version :( - I got a lot of trouble with it, sometimes the
app just wait and if I try disk. Or if I make a cache.disk.f
Hello!
Nobody has problem with disk cache?
2013. november 26., kedd 9:16:31 UTC+1 időpontban szimszon a következőt
írta:
>
> http://code.google.com/p/web2py/issues/detail?id=1791&thanks=1791&ts=1385453629
>
> I have an app with lot of disk cache usage in selects af
usr/lib/python2.7/shelve.py", line 104, in __len__
return len(self.dict)
ValueError: __len__() should return >= 0
2013. november 27., szerda 10:53:05 UTC+1 időpontban szimszon a következőt
írta:
>
> Hello!
>
>
> Nobody has problem with disk cache?
>
> 2013. november 26.
I had that with 2.7.x too. I changed all my app to
user_agent()['is_mobile'] :-o
2013. november 28., csütörtök 20:55:14 UTC+1 időpontban mr.freeze a
következőt írta:
>
> Did request.user_agent() change from a Storage object to dict?
> request.user_agent().is_mobile is throwing errors for me on
Good luck! :) Hajrá!
2014. január 19., vasárnap 22:49:04 UTC+1 időpontban step a következőt írta:
>
> Yes! Good luck Massimo and web2py, go go go
>
> On Saturday, January 4, 2014 5:08:38 AM UTC+1, Massimo Di Pierro wrote:
>>
>> Web2py/me have been nominated for the Edison Award. Please wish web2py
Could you please print mail.err after the failed send?
2014. január 28., kedd 14:22:59 UTC+1 időpontban horridohobbyist a
következőt írta:
>
> As per the web2py book, I've installed python-pyme and created the key
> files (for sender 'my_h...@gmail.com '). I have the
> following code:
>
>
Sorry, mail.error :-o my bad.
2014. január 28., kedd 14:35:55 UTC+1 időpontban horridohobbyist a
következőt írta:
>
> AttributeError: 'Mail' object has no attribute 'err'
>
>
> On Tuesday, 28 January 2014 08:25:43 UTC-5, szimszon wrote:
>>
>> Could
les with gpg for sender
>> "my_h...@gmail.com".
>> By default, they're created in my home directory, so I moved the .gnupg
>> folder to /home/www-data/ and chown'd it and its contents to
>> "www-data:www-data".
>>
>> I don'
* email *without
> errors*.
>
> Thanks.
>
> On Wednesday, 29 January 2014 03:11:55 UTC-5, szimszon wrote:
>>
>> If you list your private keys is there a key for 'my_h...@gmail.com'?
>>
>> (gpg --list-secret-keys)
>>
>> And yes you need to have re
care whether the receiver
> can decrypt the message. Surely web2py can send an encrypted email to
> anybody without a public key...
>
> Alternatively, can I send an encrypted email to myself, since my public
> key should already be in my keyring? Ultimately, that's what I want to do
r the receiver
> can decrypt the message. Surely web2py can send an encrypted email to
> anybody without a public key...
>
> Alternatively, can I send an encrypted email to myself, since my public
> key should already be in my keyring? Ultimately, that's what I want to do,
>
I think the problem here is
- The key was found but the can_sign property is set to False
but I can't find how to set it... :(
2014. január 30., csütörtök 11:55:39 UTC+1 időpontban Alan Etkin a
következőt írta:
>
> Okay, looks like nobody can help me. I guess not that many people use PGP
>>
301 - 369 of 369 matches
Mail list logo