Hi everyone
I am using CyNote to develop a desktop application (CyNote,
http://cynote.sf.net).
Currently, I am developing features as plugins. However, the plugins
can only be install through the admin application.
Is there anyway I can expose a means for my users to install and
uninstall plugin
Hi
I just deployed my first attempt to try web2py with google app engine
(http://matochsovklockan.appspot.com)
Basically it works while a few links return "invalid request" eg
http://matochsovklockan.appspot.com/examples/default/index
Is this an expected result or something that I did wrong?
I like
Hello,
The plugin_datatable when the field has a big string it display part
of and append "" at the end.
Is there a way to display all content and remove the "...".
Thanks in Advance
Online Docs are unavailable - display error ticket
Same here.
On Mar 16, 7:34 am, Saf Hulou wrote:
> Online Docs are unavailable - display error ticket
It is definded in truncate parameter
Plugin_datatable(truncate=n)
Enviado via iPhone
Em 16/03/2011, às 07:23, Neveen Adel escreveu:
> Hello,
>
> The plugin_datatable when the field has a big string it display part
> of and append "" at the end.
>
>
> Is there a way to display al
Same here.
Confirmed
On Mar 16, 8:28 pm, Anthony wrote:
> Same here.
On Wednesday, March 16, 2011 5:29:09 AM UTC-4, Nick Rosencrantz wrote:
> Hi
> I just deployed my first attempt to try web2py with google app engine
> (http://matochsovklockan.appspot.com)
> Basically it works while a few links return "invalid request" eg
> http://matochsovklockan.appspot.com/e
I figured it out finally. since I'm using MSSQL and FreeTDS, I had to work
around a strange problem in FreeTDS that I'm guessing is a bug. Here is the
StackOverflow page where the answer
is:
http://stackoverflow.com/questions/1060035/using-pyodbc-on-ubuntu-to-insert-a-image-field-on-sql-server#
Massimo: I've seen you use a tool called kryten.py to play back python
sessions in some recent videos (e.g. http://vimeo.com/20760298).
Google doesn't seem to know about it... is this something you wrote?
Would you consider making it available?
Thanks,
Kevin
Thanks a lot Rochacbruno
On Mar 16, 2:27 pm, rochacbruno wrote:
> It is definded in truncate parameter
>
> Plugin_datatable(truncate=n)
>
> Enviado via iPhone
>
> Em 16/03/2011, às 07:23, Neveen Adel escreveu:
>
> > Hello,
>
> > The plugin_datatable when the field has a big string it display
The error ticket was database is locked. I restarted and everything
seems fine
On Mar 16, 7:39 am, Luther Goh Lu Feng wrote:
> Confirmed
>
> On Mar 16, 8:28 pm, Anthony wrote:
>
>
>
>
>
>
>
> > Same here.
We need mirrors.
Can it run on GAE?.
On Mar 16, 9:33 am, Massimo Di Pierro
wrote:
> The error ticket was database is locked. I restarted and everything
> seems fine
>
> On Mar 16, 7:39 am, Luther Goh Lu Feng wrote:
>
> > Confirmed
>
> > On Mar 16, 8:28 pm, Anthony wrote:
>
> > > Same here.
>
it looks like the web2py book URL is broken this morning. makes me
wish i had splurged for the printed copy!
also, web2py is great! :)
book is up again.
On Mar 16, 9:34 am, Dave wrote:
> it looks like the web2py book URL is broken this morning. makes me
> wish i had splurged for the printed copy!
>
> also, web2py is great! :)
Lean web framework for robust, portable and scalable apps
On Tue, Mar 15, 2011 at 10:03 PM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> For pragmatists who get things done
>
> On Mar 15, 6:48 pm, b00m_chef wrote:
> > Web2py: the framework for everyone!
> >
> > or
> >
> > Web2py: for
yes and no. It needs minor changes but it is not a priority.
On Mar 16, 8:39 am, DenesL wrote:
> We need mirrors.
> Can it run on GAE?.
>
> On Mar 16, 9:33 am, Massimo Di Pierro
> wrote:
>
>
>
>
>
>
>
> > The error ticket was database is locked. I restarted and everything
> > seems fine
>
> > On
Please help me in this case, thank very much.
On Tuesday, March 15, 2011 6:11:25 PM UTC+7, toan75 wrote:
>
> Hi Massimo Di Pierro,
>
> How do get "requires", "defaut", "represent",... from field:
> db.mytable.myfield for create string:
> "Field('myfield', requires=..., default=..., represent=...
... besides - it is was never down - what incentive would people have
to buy the printed one. ;-)
On Mar 16, 8:39 am, DenesL wrote:
> We need mirrors.
> Can it run on GAE?.
>
> On Mar 16, 9:33 am, Massimo Di Pierro
> wrote:
>
>
>
>
>
>
>
> > The error ticket was database is locked. I restarted a
I am suspecting the database engine is sqlite? It's a shame that
SQLite has this problem with database being locked, thus rendering
them undependable in a serious environment. Otherwise, it'd be quite
effective for high-read low-write high-access applications.
On Mar 16, 8:33 am, Massimo Di Pie
I am using chrome 10.0.648.134 beta and I ma having navigation
problems with admin. For example I login in admin and it freezes the
page until I click reload.
I do not have the problem with other browsers.
Has anybody experienced similar problem with chorme beta or other
browsers?
Massimo
I have been running Chrome dev channel (11.0.696.3) for a while and never
had this problem. Chrome does sometimes have a problem pulling data from its
own cache. Try emptying the cache on it, close, and reopen to see if that
solves it. Otherwise, you might have to manually delete Chrome's cache
I found out that auth was causing session to be saved even if unused.
I changed it.
With the latest trunk, auth.define_table(migrate=False) and bytecode
compilation, the welcome index page runs at 17ms on my laptop.
Massimo
On Mar 15, 7:51 am, Ross Peoples wrote:
> I did some testing on my app,
Works for me now - and certainly feels very snappy! No sessions files being
created unless user logs in.
On 16 March 2011 16:01, Massimo Di Pierro wrote:
> I found out that auth was causing session to be saved even if unused.
> I changed it.
>
> With the latest trunk, auth.define_table(migrate=F
thanks christian.
hearing how you use cron *with* taskqueue is very helpful
On Mar 14, 9:05 pm, howesc wrote:
> Carl,
>
> i use taskqueue when i need to process more rows than i can in the limit
> (which was 30 seconds, now is 10 minutes for taskqueue tasks). For things
> like reporting aggregat
I'm running a bunch of tests now. I'll report back in a few with my results.
I'll give it a try thanks
On 16 mar, 02:46, DenesL wrote:
> Something like this:
>
> def names30():
> import copy
> n=db.person.name
> ff=[]
> for i in range(0,30):
> nn=copy.copy(n)
> nn.name='%s%02i' %(nn.name,i)
> ff.append(nn)
> form=SQLFORM.factory(*ff)
> if form.acce
It would be really cool if a window user could help rewrite
applications/admin/controllers/gae.py
so that that the GAE deploy page works on windows.
It should not be difficult if you know the subprocessing module and
you know where to find GAE appcfg.py
Massimo
Hi Massimo,
the problem is modernizr-1.6.min.js,
upgrade to modernizr 1.7
Latest release: 1.7
February 20: Version 1.7 nerfs the WebGL/Chrome9 issue, Opera color
input fix, faster (no release notes yet).
or dont'use modernizr.
Paolo
On Mar 16, 4:33 pm, Massimo Di Pierro
wrote:
> I am using
Hi Massimo,
the problem is moderinizr 1.6
upgrade to 1.7 or don't use it ;-)
Latest release:1.7
February 20: Version 1.7 nerfs the WebGL/Chrome9 issue, Opera color
input fix, faster (no release notes yet).
Paolo
2011/3/16 Ross Peoples
>
> I have been running Chrome dev channel (11.0.696.3) f
Ok, here are the results from testing the welcome app:
BEFORE TRUNK UPDATE
=
Time taken for tests: 91.843 seconds
Requests per second: 10.89
Time per request: 91.843 ms
BEFORE TRUNK UPDATE WITH MIGRATE=FALSE AND BYTECODE COMPILED
==
Jonathan has done some awesome work with routing, and I hit my first
problem. I have a table called auth_user_extended, which I use to store
extended information not included in the default auth_user table. One of the
fields in this table is an upload field called picture. The actual file in
th
You should also thank Jonathan, we have been working together on this.
Massimo
On Mar 16, 11:40 am, Ross Peoples wrote:
> Ok, here are the results from testing the welcome app:
>
> BEFORE TRUNK UPDATE
> =
> Time taken for tests: 91.843 seconds
> Requests p
Yes, I have a working solution now.
Thanks for all the help :)
In that case, great job to you both!
On Mar 16, 2011, at 1:57 PM, Massimo Di Pierro wrote:
> You should also thank Jonathan, we have been working together on this.
>
> Massimo
>
> On Mar 16, 11:40 am, Ross Peoples wrote:
>> Ok, here are the results from testing the welcome app:
>>
>> BEFORE T
On Mar 16, 2011, at 10:48 AM, Ross Peoples wrote:
> Jonathan has done some awesome work with routing, and I hit my first problem.
> I have a table called auth_user_extended, which I use to store extended
> information not included in the default auth_user table. One of the fields in
> this table
On Mar 16, 2011, at 11:01 AM, Corne wrote:
>
> Yes, I have a working solution now.
> Thanks for all the help :)
The fix is in the trunk, and will be in the next stable version.
Yep, you're right. I did it wrong. I should have known to use args=. Thanks.
On Mar 16, 2011, at 2:06 PM, Jonathan Lundell wrote:
> On Mar 16, 2011, at 10:48 AM, Ross Peoples wrote:
>> Jonathan has done some awesome work with routing, and I hit my first
>> problem. I have a table called auth_us
Maybe I should ask instead, can anyone please point me in the right
direction, to find out a proper way to export the xml file when
joining 2 tables, and want only several fields in the xml file?
Thanks.
On Mar 15, 10:25 pm, "Adnan S." wrote:
> I used the code that Massimo posted for returning
= my model ==
db.define_table('tags',
Field('name','string', unique= True),
format='%(name)s')
db.define_table('branch',
Field('name','string'),
Field('users', 'list:reference auth_user'),
Field('tags','list:reference tags'),
format='%(name)s')
=== my controll
Great update. I know for a reason the thousands of session files
web2py is creating for Radbox are slowing us down, and I wasn't sure I
wanted to store sessions in the db. Good improvement!
On Mar 16, 2:02 pm, Ross Peoples wrote:
> In that case, great job to you both!
>
> On Mar 16, 2011, at 1:57
Sorry to be a pest, but it's been a week and there still isn't a new
version. I'm trying to recover from a server crash and the stable
version is still the corrupt one!
Clayton
On Mar 9, 6:25 pm, Massimo Di Pierro
wrote:
> This should not cause corpupted data in the database, anyway, expect a
>
Hi,
In the trunk version of applications/admin/controllers/gae.py
line 35
Field('appcfg',default=GAE_APPCFG,label='Path to appcgf.py',
should be (notice appcgf.py instead of appcfg.py)
Field('appcfg',default=GAE_APPCFG,label='Path to appcfg.py',
I had noticed the problem with requiring the pass
I have been testing some web2py applications under the Google App
Engine SDK, they seem to work okay except for the following:
1) There is no index.yaml file being generated
2) No data is being saved in my application (data is saved okay in the
native web2py environment, but in GAE SDK the data is
I see the websocket/comet discussion from December and the script in
contrib. I was wondering if any further effort has gone into enabling
this across more browsers using some of the available technologies
which can be leveraged for that purpose. Unless the acceptance is
broader than just the 10%
There is a workaround using flash to enable cross browser support.
Enviado via iPhone
Em 16/03/2011, às 17:43, Gregory Hellings escreveu:
> I see the websocket/comet discussion from December and the script in
> contrib. I was wondering if any further effort has gone into enabling
> this across
If we *do* want to track non-logged-in visitors, will we need to restore
these sessions?
>From my understanding, sessions are only forgotten if not changed, so
if you add something to the session, it gets saved. This speedup
prevents saving the session when there is nothing to save.
And you could always use cache or db for analytics if that's what you
are looking for.
Ross Peoples
O
if you use trunk and simply return orders and call the action
with .xml it should do what you asked.
You do not need a view
On Mar 16, 2:33 pm, "Adnan S." wrote:
> Maybe I should ask instead, can anyone please point me in the right
> direction, to find out a proper way to export the xml file when
Should be
tag = db(db.tags.name=='testtag').select().first()
q = db.branch.tags.contains(tag.id)
branch = db(q).select().first()
On Mar 16, 2:40 pm, goutham wrote:
> = my model ==
> db.define_table('tags',
> Field('name','string', unique= True),
> format='%(name)s')
>
> db.define
This has been fixed in trunk. Use the nightly built. We will release a
1.94.1 by the end of the week.
On Mar 16, 3:57 pm, Clayton wrote:
> Sorry to be a pest, but it's been a week and there still isn't a new
> version. I'm trying to recover from a server crash and the stable
> version is still th
Correct. If one only needs to track ip of visitors it is best to use
the server logs (apache logs or rocket logs)
On Mar 16, 4:26 pm, Ross Peoples wrote:
> From my understanding, sessions are only forgotten if not changed, so
> if you add something to the session, it gets saved. This speedup
> pr
May you tell me the good connexion string for MS Access ?
( may be like "db = DAL('msaccess://mybase.mdb')" ?)
(Sorry if this message is 'doubled')
On 12 mar, 18:08, Massimo Di Pierro
wrote:
> Nobody has tried byt the mssql adapter (pyodbc) should work withaccess. The
> SQL is the same.
> Try
I have isolated a minimal set of GAE SDK files that, if shipped with
web2py, would allow to test locally and deploy on GAE from web2py
admin without need to download the SDK separately (basically I deleted
Django and WebObj since they are not necessary). Their license would
allow it.
This would ma
Richard,
by default GAE dev_appserver saves the datastore in temp by default. this
will tend to get deleted by the OS. I run my dev_appserver with the
--datastore_path parameter and pointing to a spot where i can be sure the
file is not deleted.
check that your index.yaml starts like:
index
Nice idea.
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
http://vimeo.com/21133657
There is no DAL('msaccess: ...'), not yet anyway.
You have to test using DAL('mssql: ...') or
DAL('mssql2: ...').
On Mar 16, 7:15 pm, Philnext wrote:
> May you tell me the good connexion string for MS Access ?
> ( may be like "db = DAL('msaccess://mybase.mdb')" ?)
>
> (Sorry if this message i
I got the impression that virtual fields should always be lazy so that DB
access is minimized?
+1. No prblem with the seven MB increase :). How about updates?, or you have
to make all the work again when new gae sdk.
2011/3/16 Massimo Di Pierro
> I have isolated a minimal set of GAE SDK files that, if shipped with
> web2py, would allow to test locally and deploy on GAE from web2py
> admin
Good!! \0/
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/3/16 Massimo Di Pierro
> http://vimeo.com/21133657
If the user does not download the full SDK, we would not be supporting
all the GAE functions (for example I removed the bulk upload APIs).
Basically we would include dev_appserver and ability to deploy. We
would have to upgrade when/if it breaks.
On Mar 16, 6:36 pm, Martín Mulone wrote:
> +1. No
The fact is, if you fetch records you are going to the virtuals
fields. You should fetch records you are not going to need. Making
them virtual only makes everything slower if the lazy function is
eventually called.
On Mar 16, 6:35 pm, pbreit wrote:
> I got the impression that virtual fields shou
The easier
friendlier
always backward compatible
framework
that makes
secure pro web development
a joy.
(too many good things to say, so little space).
I am trying to use lazy virtual fields and cannot seem to get it to work.
The non-lazy virtual fields work OK.
Also, can someone clear up the desirability of using lazy virtual fields. I
saw a post where Massimo suggested there was no reason to make them lazy
despite my understanding that lazin
{{=item.currency_symbol()}}
I have serious doubt there is any speed up in making this virtual
field lazy. I think it will be slower.
On Mar 16, 6:47 pm, pbreit wrote:
> I am trying to use lazy virtual fields and cannot seem to get it to work.
> The non-lazy virtual fields work OK.
>
> Also, can
El Wed, 16 Mar 2011 16:15:25 -0700 (PDT)
Massimo Di Pierro escribió:
> I have isolated a minimal set of GAE SDK files that, if shipped with
> web2py, would allow to test locally and deploy on GAE from web2py
> admin without need to download the SDK separately (basically I deleted
> Django and Web
Did you mean "You should *not* fetch records you are not going to need"?
Are you suggesting to avoid using virtual fields and either put the data in
the database or just code it as usual?
OK, thanks.
Can you comment on the performance of virtual fields in general?
- The patterns is storaged in the controller?
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
http://webs.tecnodoc.com.ar/powerpack
Powerpack is a modified version of welcome, a complete experiment to make it
more modular and readable. I really enjoy making web2py app, so I spend some
time with this. Who are interested please take a look to the code.
The main objective is to separate sett
Thanks Massimo.
This does it, but with another problem.
For some reason some of the fields get truncated with 3 dots at the
end. Like the email, and the datetime field.
Could it be that classes "odd" and "even" are limiting the size of
fields?
Here is the output, and it's the same with, and wi
Hi Bruno,
Tried to send a message using the web2pyslices site but it didn't
work.
It resulted in
Input error: k: Format of site key was invalid
Negative Ghost Rider
My message was:
Hi Bruno or Martin,
First: thanks for your website, *very* useful.
I managed to damage my account ncdegroot. I can
After some time the mail with a new password did arrive :-) You can
strike that part of my message.
On 17 mrt, 00:44, Nico de Groot wrote:
> Hi Bruno,
>
> Tried to send a message using the web2pyslices site but it didn't
> work.
> It resulted in
> Input error: k: Format of site key was invalid
>
I made it. I will make it available but it still needs a little work.
http://en.wikipedia.org/wiki/Kryten
Massimo
On Mar 16, 8:14 am, Kevin Ivarsen wrote:
> Massimo: I've seen you use a tool called kryten.py to play back python
> sessions in some recent videos (e.g.http://vimeo.com/20760298).
>
Nevermind, I see it was addressed in this thread:
https://groups.google.com/d/topic/web2py/-w5YrSs67Mc/discussion
Looking forward to seeing it released!
Kevin
We've made a slice about the multi-user mode, see
http://web2pyslices.com/main/slices/take_slice/125 based on a
minisprint at pycon.
Nico de Groot
I'm biased in that I don't do any GAE development, but even though it's
"only" 7MB, it seems like a big jump relative to the size of the current
code base. If you exclude the "examples" directory under applications, the
web2py source tree comes in at about 5 megs. I really like the lightweight
On Wednesday, March 16, 2011 7:32:45 PM UTC-4, Massimo Di Pierro wrote:
>
> http://vimeo.com/21133657
Cool. I like the automated presentation system -- now you just need to add a
spell checker (and maybe a voice that reads English with an Italian accent).
:D
Anthony
On Mar 16, 2011, at 7:09 PM, Kevin Ivarsen wrote:
> I'm biased in that I don't do any GAE development, but even though it's
> "only" 7MB, it seems like a big jump relative to the size of the current code
> base. If you exclude the "examples" directory under applications, the web2py
> source tree
Hi,
In the trunk version of applications/admin/controllers/gae.py
line 35
Field('appcfg',default=GAE_APPCFG,label='Path to appcgf.py',
should be (notice appcgf.py instead of appcfg.py)
Field('appcfg',default=GAE_APPCFG,label='Path to appcfg.py',
I had noticed the problem with requiring the pass
Hi,
I am new to web2py and have chosen it for the gae support. Obviously for
someone like me building in the sdk would be very handy.
However, there are obvious disadvantages too (size and release cycles are
2):
Just wondering if instead of bundling the whole sdk into web2py the admin
controller
Or the model. It does not matter.
On Mar 16, 6:53 pm, "contatogilson...@gmail.com"
wrote:
> - The patterns is storaged in the controller?
> _
> *Gilson Filho*
> *Web Developerhttp://gilsondev.com*
LOL
On Mar 16, 9:42 pm, Anthony wrote:
> On Wednesday, March 16, 2011 7:32:45 PM UTC-4, Massimo Di Pierro wrote:
>
> >http://vimeo.com/21133657
>
> Cool. I like the automated presentation system -- now you just need to add a
> spell checker (and maybe a voice that reads English with an Italian ac
I also lean towards GAE being separate. I'm already a bit nervous on what
the impact is of GAE support in the core framework.
I'm impressed! (and floored) - thanks for this!
So, I didn't realize the other day that web2py does some of the work
(that lazy option is sounding sweet to me!). Does it log any of it?
thinking for reference. I've been obviously been doing something wrong
in the last few days, and I think there wa
On this topic I am happy to go with the wisdom and overview of more
experienced developers of this GREAT framework.
The debates in these forums are excellent learning.
My main hiccup with GAE has been the use of bigtable for images and document
storage.
Thanks to ( a few ) excellent posts and sl
88 matches
Mail list logo