Is there a way to detect a user's id when the facebook/twitter share
mechanism is used?
A user's share activity would need to be tracked to, for instance,
incentivize using the share function,
If this has already been asked and detailed, please indicate where to find
the post
--
I can access the page, but in order to access the functionality of the
service worker process on the page, it appears some other step needs to be
taken to properly utilize https.
Is there no way to 'normalize' https for this app?
--
Resources:
- http://web2py.com
- http://web2py.com/book
]):
python web2py.py -c
/Users/Phillip/Desktop/web2pyFiles/web2py/applications/GJBSG/private/ssl_certificate.crt
-k
/Users/Phillip/Desktop/web2pyFiles/web2py/applications/GJBSG/private/ssl_self_signed.key
-i 127.0.0.1 -p 8000
but https is declared 'not private' and is crossed out. Because
Yes, it appears to work perfectly for me as well, as did the function I
posted. Hence, it appears that something is wrong with either the ajax
call, or some nuance that a novice like myself does not see, which is
probably so obvious to you that you do not see what I'm missing.
My only hint is
Presently, files are being downloaded simply by concatenating a string of
all file id's to a "{{=URL('download_files')}}" call.
To be efficient, I want to avoid having to authorize each ID as belonging
to the user (since there could be a manual download call with arbitrary IDs)
Is there
I get the same result with the posted function, albeit your nuances
appreciated.
To be thorough, I'll repost the updated function.
def download_that():
import zipfile
import cStringIO
import contenttype as c
vars = request.vars
tempfile = cStringIO.StringIO()
A zip file is written in 'download_data' and nothing happens upon
returning.
Please indicate what is missing in the following ajax call and / or
controller function to spawn the zip file download.
jQuery.ajax({method:'get',url:'{{=URL('download_data')}}',
data:fileIDs,
My basic interpretation: The scheduler shouldn't be managed by
the webserver (shouldn't be controlled by user requests) which could
basically create zombie processess and / or will drop long-running
processes.
If you see no reason the scheduler shouldn't work for this purpose (while
If I understand, using the scheduler in my case would only be a viable
option for my own processing purposes, not multiple users. If so, it
appears that my only option would be to export a downloadable desktop
version of the interface to be used for this processing. If I am at all
offtrack
Are you saying that workers should be started before any tasks are queued
(by an arbitrary number of users) which will be running for an arbitrary
amount of time?
If the answer is no
Here is the set up: There is a grid of files from which a user can generate
'offspring' files in all possible
It is my understanding that, despite being able to queue tasks from the
controller, workers can only be started from the command line (perhaps a
security issue?).
I have a long-running python script that needs to be executed by the user
for many files. Multiprocessing is essential.
Based on
*Please see top post (9-9-15)*
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
It appears that no workers are being started with my queuing the tasks in
this manner. If they can't be started in the controller or if they were
expected to be started with the above code, please let me know.
Otherwise, sincere thanks for all of your posts, in general, with Web2py
--
*9-6-15: *The following code was expecting the scheduler to automatically
start the queued workers:
for dataID in dataIDs:
scheduler.queue_task(ImportData, [dataID], immediate=True,
timeout=100)
# tried without immediate
# tried db.commit() after the loop or
Thank you. A very helpful response.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google
My goal is to use the scheduler to concurrently process as many files as
possible (thousands, for instance).
My tasks are defined in a module, not model.
In the view, a potentially large number of items are selected which
triggers the callback and process below.
*note: *in the function
On Tue, Aug 4, 2015 at 1:44 PM, Phillip philli...@gmail.com javascript:
wrote:
I am using fileuploader.js trying to implement the web2py cookbook example
jQuery-File-Upload has the singleFileUploads option to send all files at
once instead of making an upload request for each file
*note
I am using fileuploader.js trying to implement the web2py cookbook example
jQuery-File-Upload has the singleFileUploads option to send all files at
once instead of making an upload request for each file
*note: *I have already tried the jQuery-File-Upload, but was receiving a
server/php 404
Has anyone had the 404 error (where server/php is called)? I do not know
where to trace this to.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You
I need directions for properly executing the following
Drop a window for selecting multiple files for upload
Process the files in the controller (ideally using the scheduler to
prevent the application from hanging)
Since it appears that the processing must occur after all files
instead
of a basic ASCII string.
A novice, it looks like loads are for Python, not Javascript; Since there
is not an object_hook encoder for dumps, I am unaware of how to get the
string 'as is' to javascript.
Please let me know if you need any other info from me.
Thanks,
Phillip
are you trying to do?
On Wednesday, 22 July 2015 01:34:05 UTC-5, Phillip wrote:
In the controller in a json service function, I download a stored file of
type 'upload' as follows:
filecontents = URL('download', args=db.s_files[1].s_file)
encoded = base64.b64encode(filecontents)
return
The table should reference files that will be small, but may be used as a
basis (perhaps in all possible combinations) for the creation of more
files. So essentially the table should be used for streaming and adding
records, ideally with extensible row customization for other features.
While
It seems there should be a simple solution or others with a similar
problem, but I can't find anything on this.
I need to extend layout to keep the menu, but this replaces the header of
the page using Slickgrid (which contains all of the column titles).
Please let me know if you need anything
The first processing is the importing of files which is intensive due to
collecting data on pattern recognition in the files. Similarly, the
processing intensiveness (on stored files after unpickling them) will be
high in application due to extrapolation of the collected data. Larger
files may
of embedding as JS
On Tuesday, July 7, 2015 at 5:40:39 PM UTC-4, Phillip wrote:
I am having trouble finding anything definitive here. Please help if you
have any input, even if short.
My goal is to prevent the server from doing the python processing.
Is this incorrect?:
If running
as the process calling multiprocess waits for
the spawned process.
There may be issue with the database connection maintained by the process.
Try it and let us know.
On Monday, 6 July 2015 10:22:10 UTC-5, Phillip wrote:
It is my understanding that if only multiprocessing is used to spawn
processes
I assume python embedded into a view would be processed by the server. This
would be useful to know to given the difficulty to say what CPU costs may
be. If all is by default processed by the server, would delegating this
processing to the client be viable?
Any ideas appreciated
--
, etc.
Am I on the right track?
Thanks,
Phillip K
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you
Instead of having to frequently unpickle data, Is there a way to store
custom objects (e.g. VirtualFields) in Web2py such that their specifics can
be queried? If so, would not pickling decrease performance?
Thanks
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
It is my understanding that if only multiprocessing is used to spawn
processes, the processes are at risk of being killed (depending on their
time lapse).
Are there any reasons Web2py's scheduler would have problems scheduling a
python script that uses multiprocessing?
Thanks
--
sense to embed my python code as JS in web2py. Does anyone have experience
with this sort of interface deployment (converting web2py app to wxPython,
and successfully communicating back and forth with the server/database)?
On Sunday, June 28, 2015 at 4:41:57 PM UTC-5, Phillip Veda wrote:
I
The following link contains a solution to the first powerTable
problem: charCodeAt is not a function
https://groups.google.com/d/msg/web2py/iRTDzkIZMxc/CM0umjRzsuwJ
I followed the steps that was said solved his problem (copy a different
version of a js file to a folder and include the
I should have clarified, in general, with web2py
On Tuesday, June 30, 2015 at 2:37:55 AM UTC-5, Massimo Di Pierro wrote:
I did not do it. Mariano (one of our oldest members) did it.
On Tuesday, 30 June 2015 02:30:28 UTC-5, Phillip Veda wrote:
I just happened accross gui2py last night. I had
wrote:
does this help? https://code.google.com/p/gui2py/
On Sunday, 28 June 2015 16:41:57 UTC-5, Phillip Veda wrote:
I started a project in web2py aimed to store and manipulate user files,
which at some point needs a dynamic GUI interface.
Due to the intensive nature of the file processing
I started a project in web2py aimed to store and manipulate user files,
which at some point needs a dynamic GUI interface.
Due to the intensive nature of the file processing, I am unsure whether
embedding this python code would be very price-sensitive as deployed to GAE
with its server-side
In controller, redirect is not working with 'tab' as var name:
redirect(URL('mycontroller', 'index', vars={'tab':'DF03'})) is not working
redirect(URL('mycontroller', 'index', vars={'tab2':'DF03'})) works fine
Is that a bug?
Phillip
--
Resources:
- http://web2py.com
- http://web2py.com
Hello Guys,
redirect with var name 'tab' doesn't work:
redirect(URL('mycontroller', 'index', vars={'tab':'DF03'}))
Is that a bug?
redirect(URL('mycontroller', 'index', vars={'tab_with_another_string':'DF03'}))
works fine!
Thanks,
--
Resources:
- http://web2py.com
-
38 matches
Mail list logo