I do not foresee looking for serious consulting work at least for the
next year or so (if I do, it will be limited time stuff to pay the
bills until my main venture takes off if my savings run out).
After my game is off, I'll see (it will depend on how well it does).
I will certainly have
don't know on Linux, but on Windows I use flashdevelop and free flex sdk,
they even open sourced their advanced and olap datagrid
http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK
http://www.flashdevelop.org/community/viewtopic.php?f=11t=6496sid=8457cbdae5a3c6ebaba79bead8837545
Hello,
I am migrating a web2py app. to Oracle. It works fine on postgresql
and sqlite, but my firm demands Oracle. There is a large field in my
db ( 4000 chars) so can not be a string. Oracle creates this a
clob. Often (but not always) I get the dreaded error: 'LOB variable
no longer valid
Any news on this?.
I am on 1.78.3 and tried it too on 1.78.2 on a Mac OSX with Firefox
and I am having the same trouble. The response.file.append doesnt seem
to appear.
I have also tried with 1.76.5 with the same result.
What is suggested to do as a work around?. On the other hand, any
place
hi together,
how can i import other external libraries in web2py? is it possible to
load up libs in the static file?
can somebody give me an example?
thanks
peter
Never mind me, I had a much older version of web2py_ajax.html having
copied from an older application that didnt include the responses.
Cheers,
Benigno.
On May 25, 1:45 pm, Benigno bca...@albendas.com wrote:
Any news on this?.
I am on 1.78.3 and tried it too on 1.78.2 on a Mac OSX with
The entire code is 40 lines and uses the python built-in html parser.
It will not be a problem to maintain it. Actually we could even use
this simplify both XML(...,sanitize) and gluon.contrib.markdown.WIKI
On May 25, 12:50 am, Thadeus Burgess thade...@thadeusb.com wrote:
So why our own?
Can I see the model that creates the problem and the action that
causes the error?
On May 25, 5:59 am, JC11 john.c...@gmail.com wrote:
Hello,
I am migrating a web2py app. to Oracle. It works fine on postgresql
and sqlite, but my firm demands Oracle. There is a large field in my
db ( 4000
import module
or
from module import object
as normally in Python. Not sure I understand what you mean by in the
static file/
On May 25, 7:22 am, pk peter.kirch...@youngdesigners.de wrote:
hi together,
how can i import other external libraries in web2py? is it possible to
load up libs in
thanks for the fast answer.
i mean that i have a specially sdk (for the nao robot) with an own
api.
how can i use this api in web2py?
On 25 Mai, 15:03, mdipierro mdipie...@cs.depaul.edu wrote:
import module
or
from module import object
as normally in Python. Not sure I understand what you
Mengu,
I agree to all the mentioned pros for web2py.
Would you like to elaborate on your first item -scalable?
Which features in web2y fo you refer to that facilitates scalability?
cheers
/ jonas
On May 7, 12:13 am, Mengu whalb...@gmail.com wrote:
1) scalable
2) fast
3) easy
web2py has a folder called site-packages. If you put your functions
there you should be able to import them.
On May 25, 8:11 am, pk peter.kirch...@youngdesigners.de wrote:
thanks for the fast answer.
i mean that i have a specially sdk (for the nao robot) with an own
api.
how can i use this
thanks massimo i will try it
On 25 Mai, 15:13, mdipierro mdipie...@cs.depaul.edu wrote:
web2py has a folder called site-packages. If you put your functions
there you should be able to import them.
On May 25, 8:11 am, pk peter.kirch...@youngdesigners.de wrote:
thanks for the fast answer.
or just add the folder where they are now to
sys.path.append('path/to/folder')
this line would go in web2py.py or on top of the handler you use.
Massimo
On May 25, 8:19 am, pk peter.kirch...@youngdesigners.de wrote:
thanks massimo i will try it
On 25 Mai, 15:13, mdipierro
hi massimo,
i get an importerror: module use of python26.dll conflicts with this
version of python
what can i do?
thanks
On 25 Mai, 15:36, mdipierro mdipie...@cs.depaul.edu wrote:
or just add the folder where they are now to
sys.path.append('path/to/folder')
this line would go in
I see you have a binary library. You must use the python version to
run web2py that you used to build the binary module.
On May 25, 8:45 am, pk peter.kirch...@youngdesigners.de wrote:
hi massimo,
i get an importerror: module use of python26.dll conflicts with this
version of python
what can
I tried to make it work on local hosting based on this (before I already
failed with some other guides):
http://www.web2pyslices.com/main/slices/take_slice/68
Earlier I verified, I can run simple python script, I got result to the
browser.
Now I prepared environment as you cam see here:
I do not think this problem is a local one.
The text size that actually causes the error is 1078 characters. I am
running a loop and inserting the whole mailbox with about 400 messages
into a database. At a specific number, in this case it is 97, the loop
stops by producing the error. I can
I think there is a limit to the whole database. Do you have
information about that?
You said you get this error:
importerror: module use of python26.dll conflicts with this version of
python
did you built the module on the same machine? If you you must have
c:/Python2.6/python.exe
On May 25, 9:00 am, pk peter.kirch...@youngdesigners.de wrote:
ok thanks and how can i start
yet a better syntax and more API:
1) no more web2pyHTMLParser, use TAG(...) instead. and flatten (remove
tags)
a=TAG('divHellospanworld/span/div')
print a
divHellospanworld/span/div
print a.element('span')
spanworld/span
print a.flatten()
Helloworld
2) search by multiple conditions,
Any news on this bug? I havent seen anything.
Chris S wrote:
Apparently it doesn't copy/paste correctly. The second routes.py that
I used kept the entire routes_in in a single line.
On May 15, 10:00 am, Chris S sanders.ch...@gmail.com wrote:
I've updated my code and run it again. Sorry
Many thanks Yarko and Massimo, now is all clear !!!
On May 24, 9:29 pm, mdipierro mdipie...@cs.depaul.edu wrote:
web2py defines
response._caller = lambda f: f()
this function is in charge of calling the action. You can redefine it
in the controller or models
def mycaller(f):
#
I send my request again.
I try to use a legacy database with Web2py and keep the name of my PK field
as they
were... I did exactly as Tim Michelsen propose here :
http://groups.google.com/group/web2py/browse_thread/thread/eed21229883b5a1a.
The
problem is that Web2py return error cause of missing
I cannot push it until tonight but I have this:
a=TAG('h1Header/h1pthis is a test/p')
print a
h1Header/h1pthis is a test/p
a.flatten()
'Headerthis is a test'
a.flatten(filter=lambda x: re.sub('\s+',' ',x))
'Headerthis is a test'
a.flatten(filter=lambda x: re.sub('\s+','-',x))
On May26, 12:35am, mdipierro mdipie...@cs.depaul.edu wrote:
I cannot push it until tonight but I have this:
a=TAG('h1Header/h1pthis is a test/p')
print a
h1Header/h1pthis is a test/p a.flatten()
'Headerthis is a test' a.flatten(filter=lambda x: re.sub('\s+',' ',x))
This is very useful. I'm just making new agreggator and this will come
in handy. For scraping purposes.
As I see it, this would be some sort of jquery for HTML in
python. :
On 24 maj, 22:25, mdipierro mdipie...@cs.depaul.edu wrote:
I liked your suggestion and I used it to make
yes. If you just do str(TAG(text)) this will un-escape te text as you
suggest (but to utf8 not unicode).
On May 25, 12:58 pm, RobertVa robert.valen...@gmail.com wrote:
This is very useful. I'm just making new agreggator and this will come
in handy. For scraping purposes.
As I see it, this
I am using the multiselect plugin read and save data from a
crud.create or crude.update form and it just is not working, it seems
to see that there are values there as the field is filled with a |
for each option selected. I am not sure what is happening and what I
am doing wrong. Any help would
Hi all, as promised I'm here to prove you are patient and nice :)
I' have to make this little app where there is a function that read
the html content of several pages of another website (like a spider)
and if a specified keyword is found the app refresh a page where there
is the growing list of
I changed the syntax. Now it is more flexible:
a=TAG('h1Header/h1pthis is a test/p')
def markdown(text,tag=None,attributes={}):
if tag==None: return re.sub('\s+',' ',text)
elif tag=='h1': return '#'+text+'\n\n'
elif tag=='p': return text+'\n'
return text
...
I would use a background process that does the work and adds the items
to a database table. The index function would periodically refresh or
pull an updated list via ajax from the database table. there is no way
for te server to trigger an action in the browser unless 1) the
browser initiates it
Not sure but this is a problem I see
db.testcase_test.testtypeids.requires = IS_IN_DB(testtypes,
'testtype.id', 'testtype.name',multiple=True)
implies db.testcase_test.testtypeids stored the texttype.id therefore
it should be of type reference to db.testtype and not type 'string'
On May 25,
I aplogize. Did not have time to test it. Will do so by the end of the
week.
On May 25, 10:12 am, Chris S sanders.ch...@gmail.com wrote:
Any news on this bug? I havent seen anything.
Chris S wrote:
Apparently it doesn't copy/paste correctly. The second routes.py that
I used kept the
did you copy routes.example.py to routes.py?
On May 16, 1:00 am, Chris S sanders.ch...@gmail.com wrote:
I've updated my code and run it again. Sorry for the delay last time
I downloaded a web2py trunk it was in Subversion. While it didn't
take me long to get it in Mercurial it did trigger a
nice! Can flex be integrated with a web2py backend?
On May 25, 8:48 pm, Vasile Ermicioi elff...@gmail.com wrote:
don't know on Linux, but on Windows I use flashdevelop and free flex sdk,
they even open sourced their advanced and olap datagrid
Well, actually there is a way for the server to trigger an action in
the browser. It's called comet. Of course under the hood it's
implemented on top of http, so it's browser who initiates request, but
from the developer perspective it looks like there is dual channel
connection between the
Was going to say web2pyHTMLParser is too cumbersome - glad you
changed to TAG
I do some scraping with lxml so am also wary about including this, but
the example look very convenient.
On May 26, 1:11 am, mdipierro mdipie...@cs.depaul.edu wrote:
Here is a one liner to remove all tags from a
It makes assumptions. It fails if Python HTMLParser fails. For
example:
from gluon.html import TAG
print TAG('c/bddd/aeee')
c/c/bddd/aeee
print TAG('c/bdddeee')
c/c/bdddeee/a
print TAG('b x=bbbc/bdddeee')
/a
print TAG('b bbbc
It seems like Comet would be hard to implement in web2py. Does web2py
use a threadpool internally? If so, I can see you run out of threads
pretty quickly. Ideally you would like to solve these kind of problems
with an asynchronous model (think Gevent, Eventlet, Concurrence,
Toranado). I am working
Comet is a nice way to get this done but I wonder how to implement
comet efficiently in web2py. Massimo, does web2py use a threadpool
under the hood? For comet you would then quickly run out of threads.
If you'd try to do this with a thread per connection things would get
out of hand pretty
I copied the above posted lines into a file named routes.py.
Dont prioritize this on my behalf. I'm gonna be busy for a bit, my
daughter was born today, so web2py project wont be seeing testing for
a few weeks :)
On May 25, 8:23 pm, Richard richar...@gmail.com wrote:
did you copy
On May 25, 9:24 pm, Allard docto...@gmail.com wrote:
Comet is a nice way to get this done but I wonder how to implement
comet efficiently in web2py.
I have never used comet but I do not see any major problem
Massimo, does web2py use a threadpool
under the hood? For comet you would then
oh... you are going to be busy! Congratulations!!!
On May 25, 9:44 pm, Chris S sanders.ch...@gmail.com wrote:
I copied the above posted lines into a file named routes.py.
Dont prioritize this on my behalf. I'm gonna be busy for a bit, my
daughter was born today, so web2py project wont be
On Tue, May 25, 2010 at 12:11, mdipierro mdipie...@cs.depaul.edu wrote:
Here is a one liner to remove all tags from a some html text:
html = 'divhellospanworld/span/div'
print TAG(html).flatten()
helloworld
Very good!
--
Álvaro Justen - Turicas
http://blog.justen.eng.br/
21 9898-0141
there are docstrings. I will write something more asap.
On May 25, 10:28 pm, weheh richard_gor...@verizon.net wrote:
This is very nice. I think Thadeus' point is well made. I agree it's
useful. It is fringe, but I absolutely need this and will be using it
on my current project. Where's the
Recently (05/19/10) the task queues execute during development:
Auto task execution is now enabled in the dev_appserver. To turn this
off use the flag --disable_task_running.
http://code.google.com/p/googleappengine/wiki/SdkReleaseNotes
Robin
On May 11, 7:45 pm, Richard richar...@gmail.com
I'm working with rss2 and feedparser, reached a simple and minimal
web2py based planet.
See working examples at:
http://www.web2py.com.ar/planet/
http://planeta.arpug.com.ar/
Uploaded web2py slice at:
http://web2pyslices.com/main/slices/take_slice/82
(anyone knows how to attach a file
Occasionally after heavily using my web2py app I get:
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /.
Reason: Error reading from remote server
The apache server is still running but the app won't work
thanks - missed that
On May 26, 1:55 pm, Robin B robi...@gmail.com wrote:
Recently (05/19/10) the task queues execute during development:
Auto task execution is now enabled in the dev_appserver. To turn this
off use the flag --disable_task_running.
I currently use Webfaction, Slicehost, and Google App Engine.
Webfaction is cheap and relatively easy, but slow lately. Good support
in forums from admins.
Slicehost is FAST, but you have to do everything yourself. Haven't
used their support yet.
GAE is the easiest to deploy with because no
51 matches
Mail list logo