Thanks for this observation; I was trying to run this in cygwin64, and no
luck. cygwin32 makes it work.
On Saturday, November 23, 2013 2:21:41 AM UTC+5:30, Raul Romay Barrero
wrote:
>
> I had exactly the same behavior when using cygwin x64.
>
> I installed cygwin x32 version and web2py was work
Just checked with cygwin, same issue. Doesn't work in cygwin either
On Tuesday, January 21, 2014 7:09:52 PM UTC+5:30, Massimo Di Pierro wrote:
>
> Windows has no fork. I do not think we have ever run tests on windows. Try
> with cygwin
>
> On Monday, 20 January 2014 23:16:12 UTC-6, Kiran Subbaram
Have you tried simplejson.dump()?
On Tuesday, February 11, 2014 12:52:28 PM UTC-5, Jim S wrote:
>
> Thanks Anthony. Trying this but running into a problem generating the
> json to use for the data. Keep getting a javascript error:
>
> SyntaxError: invalid property id
>
> data: [{"text": "Skygs
The __init__.py file tells Python that the directory is a package.
You can also put code in __init__.py. The code will execute when you import
the package.
Leave it in there. You need it.
On Tuesday, February 11, 2014 6:33:41 PM UTC-5, Chris Hepworth wrote:
>
>
> https://groups.google.com/forum
If I open a grid with records and delete until none are left, the grid
column headers are shown. However, if the grid is loaded with no matching
records, no column headers are shown.
Is there setting to make the columns show all the time?
--
Resources:
- http://web2py.com
- http://web2py.co
Stifan - can you tell us more of how you use Puppet with web2py
applications?
THanks...
--
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 thi
https://groups.google.com/forum/#!searchin/web2py/importerror/web2py/FEYjCpBPpWU/9OfvXCeyPMoJ
I found this thread as I searched for a solution. I can confirm that in my
app, there is an __init__.py in modules. It is blank (as it has been since
I created the app), but it is there. Could this have
Just to test I set up a VM running Ubuntu. I installed all relevant
packages and I am still receiving the same error. Any suggestions?
On Tuesday, February 11, 2014 2:12:42 PM UTC-7, Chris Hepworth wrote:
>
> There is an import for pymaging, which must have already been installed on
> my Ubuntu
Try setting the defaults on the respective fields:
db.nextpasses.field_name.default = default_value_for_this_field
-Jim
On Tuesday, February 11, 2014 10:51:29 AM UTC-6, John Philip wrote:
>
> Hi there,
>
> I am a newbie to web2py. I did try to look for similar threads but
> couldn't find a solu
There is an import for pymaging, which must have already been installed on
my Ubuntu machine. Installing it on Windows seems to be more trouble than
its worth, so I'll just wait to get my Ubuntu environment set up on another
machine. Thanks for the suggestion though!
On Tuesday, February 11, 20
Considering I had another import failure for PIL (which I thought I had but
didn't) that wouldn't be surprising. The Windows Python 2.7 install sure
doesn't seem to include much. I'll take a look at the module's dependencies
and post again if that fixes it. Thank you!
On Tuesday, February 11, 2
are all the dependencies of that module satisfied on the windows
environment ?
for imported modules, if some of the libraries it depends on are missing,
the error that web2py can show is that it's unable to import the module
(meaning, it can't load it because there is some error in it vs - what
Can this be done with Mercurial?
On Tuesday, February 11, 2014 11:36:41 AM UTC-5, Anthony wrote:
>
>
> http://web2py.com/books/default/chapter/29/15/helping-web2py#Contributing-code-and-documentation-changes
> .
>
> But if that's too much for now, you can also email a patch file to Massimo.
>
> An
I recently had to set up a new environment (my desktop running Ubuntu is
dead) on my Windows laptop. I have a module called *qrcode *that worked
fine in my old environment and hasn't had an issue on pythonanywhere. After
I cloned the application, however, I received this error. Is there
someth
funny. brutally killing the worker is of course something that should
be avoided...
but a RUNNING task assigned to a worker that dies gets reassigned to
another alive worker as soon as it pops up (Lines 811 and following of the
scheduler)
deleting the scheduler_run table doesn't do anythi
Thanks Anthony. Trying this but running into a problem generating the json
to use for the data. Keep getting a javascript error:
SyntaxError: invalid property id
data: [{"text": "Skygsslo Farms", "descriptio
On the python side I'm building it like this:
for customer in
db(customerQ
Hi there,
I am a newbie to web2py. I did try to look for similar threads but couldn't
find a solution specifically for my problem. I want to pre-populate a form
from a current record in the SQLFORM.grid.
addpass = [lambda project: A('add pass', _class="btn",
_href=URL("default","addpass"))]
#
http://web2py.com/books/default/chapter/29/15/helping-web2py#Contributing-code-and-documentation-changes.
But if that's too much for now, you can also email a patch file to Massimo.
Anthony
On Tuesday, February 11, 2014 11:31:16 AM UTC-5, User wrote:
>
> Possibly, I have never contributed to an
Possibly, I have never contributed to an open source project so I don't
know what's involved. Are there instructions somewhere?
On Tuesday, February 11, 2014 11:21:15 AM UTC-5, Massimo Di Pierro wrote:
>
> I agree. Can you submit a patch?
>
> On Tuesday, 11 February 2014 09:33:40 UTC-6, User wro
I agree. Can you submit a patch?
On Tuesday, 11 February 2014 09:33:40 UTC-6, User wrote:
>
> Thanks, also seems like there should be the following test cases
> in \web2py\gluon\tests\test_validators.py def test_IS_TIME(self):
>
> rtn = IS_TIME()('12:00 am')
> self.assertEqual(rtn, (datetime.time
I don't think you can put any additional HTML tags in an element,
so you would probably have to use a Javascript plugin to render a custom
dropdown (e.g., http://designwithpc.com/Plugins/ddSlick).
Anthony
On Tuesday, February 11, 2014 10:57:00 AM UTC-5, Jim S wrote:
>
> I'm looking for a way t
I'm looking for a way to format the dropdown list generated from a SQLFORM.
I'm using the following code:
db.equipOrder.customerId.requires = IS_IN_DB(query, db.customer,
('%(customerId)s - %(name)s'), zero='..')
which give me a nice dropdown list showing my customer id and name.
However, I'd
You could try adding standard python logging statements to try to figure
out what's happening.
Edit /logging.conf and add an entry for your app following the
instructions in the file. Then in scheduler.py:
import logging
def your_scheduled_function():
logger = logging.getLogger('web2py.ap
Thanks, also seems like there should be the following test cases
in \web2py\gluon\tests\test_validators.py def test_IS_TIME(self):
rtn = IS_TIME()('12:00 am')
self.assertEqual(rtn, (datetime.time(0, 0), None))
rtn = IS_TIME()('12:01 am')
self.assertEqual(rtn, (datetime.time(0, 1), None))
rtn =
At the moment I like Foundation more then any other.
Semantic UI also looks great (and promising).
Bootstrap is still awesome, of course.
Marin
On Tue, Feb 11, 2014 at 3:39 PM, Michele Comitini <
michele.comit...@gmail.com> wrote:
> I agree with the article.
> Nothing prevents using Foundation
I agree with the article.
Nothing prevents using Foundation or any other framework on web2py,
consider bootstrap as a commodity to get your ideas started fast.
Bootstrap is ubiquitous among developers, because requires less effort,
IMHO it is the right choice for a welcome app at the moment.
To get
So, maybe I was completly wrong sorry... Though, I remember having issue
when passing vars throught the URL when they share the same name as a form
field... About request.get_vars ans post_vars, maybe it the solution,
though if I remember they were both sharing the same value... I should
package a
https://medium.com/frontend-and-beyond/8b3812c7007c
On Monday, 10 February 2014 23:44:46 UTC-6, weheh wrote:
>
> I'm trying to catch up with the times and migrate to Bootstrap. The latest
> web2py doc says "Bootstrap". But a colleague said to me, "Foundation".
> Checking the web2py group shows
You are right. Now fixed in trunk.
On Tuesday, 11 February 2014 01:57:25 UTC-6, User wrote:
>
> I have an input field on a form where users can enter a time in 12-hour
> format. Entering 12:00AM on this form seems to be getting interpreted as
> 12PM (debugging I can see the python time object i
uploadseparate does not move data. The system will be unable to find
existing data unless you move the already uploaded files yourself.
autodete will not delete existing files until the records that point to
them are deleted.
On Monday, 10 February 2014 22:14:56 UTC-6, Encompass solutions wrote:
Finally fixed!! Thank you so much! I had to delete all of the files in
the app/databases folder. I didn't realize that checking those logs
would help me see if the files could be written, but that helped a
lot.
Thank you!
On Tue, Feb 11, 2014 at 6:13 AM, Austin Taylor wrote:
> I used extract_mys
I used extract_mysql_models.py to create the models since I couldn't
see them when I typed db.tables. After putting the defined models in
db.py I could then see the models.
I've tried troubleshooting with enable_migrate_all and migrate=True,
but the register screen just stays blank for me.
I'm al
On Tue, Feb 11, 2014 at 3:44 AM, weheh wrote:
> Also, want to stay as compatible with web2py as possible. Thanks.
So, Bootstrap.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/l
How can I debug a scheduler task that goes into RUNNING status and never
changes to any other status? The same function, when called from web2py in
shell mode, does what it is expected to do and exits normally.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://
Once in a while, the scheduler is brought down as part of uwsgi reload.
Thenscheduler_task and scheduler_run have statuses in RUNNING and I can't
get them to start again properly. So I tried deleting all records from
scheduler_run, and updating the task table too. But that did not help.
Right n
35 matches
Mail list logo