not name.startswith(".") and level <= 0 \
and not name.startswith("applications.") \
and isinstance(globals, dict) and
globals.get("__file__"):
The twisted import then works and everything is good..
On Wednesday, May 23, 2012 1
Just tried an upgrade to web2py 1.99.7, same issue.
On Wednesday, May 23, 2012 1:07:16 PM UTC+10, Hugh Barker wrote:
>
> Hi,
> I need to run some code that uses the Twisted library from within web2py
> (listening to multicast events on the network, parsing the data and then
> in
Hi,
I need to run some code that uses the Twisted library from within web2py
(listening to multicast events on the network, parsing the data and then
inserting it into the web2pt DB for integration into a webapp).
I get the following error upon importing Twisted. In the interests
of reproducibi
Excellent, thanks very much. This solved my issue.
2012/2/8 Niphlod :
> PS : final DAL initiation code is
>
> db = DAL('postgres://hello:p%40ssword@localhost:5432/bbb',
> decode_credentials=True)
odec='UTF-8', check_reserved=None,
> migrate=True, fake_migrate=False,
> migrate_enabled=True, fake_migrate_all=False,
> decode_credentials=False, driver_args=None,
> adapter_args=None, attempts=5, auto_import=False):
Hi,
I have a bit of a problem with my connection string in db.py -
specifically, the database password has a '@' symbol, and so web2py chokes
because it assumes this is the delimiter between password and host.
I had a look at dal.py and I guess the regex needs modifying to take this
case into a
Yeah, copying the default generic.html to getsensors.html (and ditto
for *.json) worked.
I'll try the debugging steps you suggested, see what I come up with.
On Sep 13, 12:08 pm, Jonathan Lundell wrote:
> On Sep 12, 2011, at 6:45 PM, Hugh Barker wrote:
>
> > This is my
This is my db.py:
from gluon.tools import Service
db = DAL('postgres://postgres:@server/geospatial')
response.generic_patterns = ['*']
service = Service()
On Sep 13, 11:13 am, Jonathan Lundell wrote:
> On Sep 12, 2011, at 6:10 PM, Bruno Rocha wrote:
>
> > do you have response.generic_patterns
8 matches
Mail list logo