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"
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
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
+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
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
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
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
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...
<><>
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
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
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
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
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
>
> 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:
> >
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
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
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+
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
:05:17 UTC-6, szimszon wrote:
>>
>> Some other issue:
>>
>> db:
>> import datetime
>> db.define_table('sometable',
>> Field('otherid',
>> compute=lambda r: 'SPPRIME%s' % (
>>
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
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
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
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
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
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,
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
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
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
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:
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
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]+)?')
--
, 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
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.
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
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
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
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...'
Version 2.2.1 (2012-11-04 20:45:19) stable
--
:
>
> 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
> 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,
Hi All!
I wonder if somebody could help me.
How can I disable hidden column export in grid?
--
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
Where is the web2py repo from https://github.com/mdipierro/ ?
Happy New Year for everyone!
--
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
Hi!
What is a difference between represent and filter_out? Tnx.
--
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
who == how sorry
My bad. The css files aren't in response.files :-o
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/
Or the buttons in the right side could be next to the data fields and not
in the scrollable area...
One interesting project from mozilla.
https://github.com/mozilla/browserid/wiki/How-to-Use-BrowserID-on-Your-Site
http://lloyd.io/how-browserid-works
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!
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
+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
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
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
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
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
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
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 = [...]
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
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
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
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
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
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:
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
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',
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:
>>
>
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
"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
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
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
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
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
>
>
>
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-
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
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
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.
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...
If I start web2py scheduler (-K) there is no pidfile created but I specify
--pid_filename=...
http://code.google.com/p/web2py/issues/detail?id=486
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 =
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
Try to .loads() it and if it failed try to .dumps() and store it in db.
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...
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
Hi!
Could you please post the patch here or pm me I need it as fast as possible
:-o
Tnx.
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
Could be related: https://groups.google.com/forum/#!topic/web2py/lLCCUrwB5x0
Tnx,
http://code.google.com/p/web2py/issues/detail?id=491
tnx.
http://code.google.com/p/web2py/issues/detail?id=492
http://code.google.com/p/web2py/issues/detail?id=492
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
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.
Is that fixed already?
Nice
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
.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'):
201 - 300 of 369 matches
Mail list logo