Hi,
I had a problem along the same lines, it turned out that uwsgi was compile
with python 3.3 support.
This was Ubuntu 13.04 and I installed it via apt-get , check the entire
uwsgi logs for the python version.
regards,
Nils
On Fri, Sep 13, 2013 at 10:48 AM, Johann Spies wrote:
> On
Hi,
You should take a look a http://docs.saltstack.com/ref/python-api.html
This is like fabric and puppet all in one and its really easy to use.
Regards,
Nils
On Wed, Aug 28, 2013 at 3:28 PM, Francisco Barretto
wrote:
> Hi there!
>
> Did Anyone already made some puppet module
.
Nils
On May 31, 2012 6:56 p.m., "Massimo Di Pierro"
wrote:
> Here is an example:
>
> easy_install pyfilesystem
>
> >>> import fs.s3fs
> >>> myfs = fs.s3fs.S3FS(bucket, prefix, aws_access_ke, aws_secret_key)
> >>> db.define_table('
Amazon's S3 is ideal for this, I use it I mount s3 using fuse interface.
Works pretty well for me.
Nils
On May 12, 2012 7:53 PM, "Sebastian E. Ovide"
wrote:
> just wondering... (I know that it is not a normal application)... where
> would you store a couple of millions pict
Hi,
Do you not need to specify a type='string' etc ?
Regards,
nils
On Wed, Feb 22, 2012 at 7:16 PM, davidjensen wrote:
> In db.py, I created a db 'contacts' with a table 'mytable'. I later
> added a field 'date' to mytable.
>
> db.define_tabl
Hi,
Do you not need to specify a type='string' etc ?
Regards,
nils
On Wed, Feb 22, 2012 at 7:35 PM, Anthony wrote:
> Did you turn off migrations via DAL(..., migrate=False) or DAL(...,
> migrate_enabled=False)? Is this in a web2py app, or an external script or
> shell?
Hi,
.
Lighty runs under the user of www-data and so folders or files that
need to be written too, have to have the ownership changed to www-data
other wise you will get this error, same goes for a download/upload
folder if you are uploading content via your application.
Regards,
Nils
On Sun
Hi,
I had a similar problem,
my solution was somthing like this:
import csv
dr = csv.DictReader(open('csvfile.csv'), delimiter=',')
for data in dr:
if data['team'] =='text':
team = 1 or (the team id in your table)
elif data['team'] =='more text':
team = 2 or (the team
Hi,
Could you not use {{=XML(string...)}}
Regards,
Nils
On Jan 18, 2012 9:43 a.m., "davidjensen" wrote:
> This is not recognized asa string:
> "{{this is a string}}" in:
> {{=PRE("{{this is a string}}"))}in a web page
> but it works on the
Hi, what load balancer are you using?
Regards,
Nils
On Dec 23, 2011 5:17 a.m., "Dave" wrote:
> Since I've moved my installation behind a load balancer all my session
> IP addresses show as the back-side IP of the load balancer, not the
> real client IP.
>
> Have a
Hi, Ive used go daddy, works perfect for me and they are cheap
Regards,
Nils
On Dec 23, 2011 4:49 a.m., "guruyaya" wrote:
> I've used it myself, but note this certificate is not insured in any
> way, and it allows a pretty weak protection, in the free edition. It
>
Hi,
What is the contents of your httpd.conf file. can you post it ?
Regards,
Nils
On Mon, Dec 19, 2011 at 6:23 AM, Johann Spies wrote:
> Dear Hassan,
>
> On 15 December 2011 12:32, Web2Py Freak wrote:
>>
>> Dear All,
>> i am trying to use mod_wsgi with apache on
te=lambda r: THUMB(r['image']))
Regards,
Nils
On Thu, Nov 17, 2011 at 3:27 PM, Web2Py Freak
wrote:
> Dear All,
>
> i am trying to make a Thumb and i used this code here :
>
> Model:
>
> db.define_table('uploads',
> Field('name','s
Hi,
Ok this sound good, I figured i could, I was thinking of storing
session in database, but I don't think user will be logged into the 2
apps at the same time, and I don't really want a complicated CAS
setup.
Regards,
Nils
On Tue, Nov 8, 2011 at 12:55 PM, Anthony wrote:
&g
now tested this but would this work ?
Nils
Hi Chris,
I do this ssh -i key.pem -L 8000:localhost:8000 root@amazon-Ec2-VPS
I then run on the amazon instance ./web2py -a password
You can then access web2py via http://localhost:8000
Regards,
Nils
On Sat, Aug 27, 2011 at 4:40 PM, Chris wrote:
> I could, but the problem
Hi,
How exactly are you trying to access it ?
I have no problems accessing my VPS on amazon.
Regards,
Nils
On Fri, Aug 26, 2011 at 11:09 PM, Chris wrote:
> I'm trying to set up and use web2py using the Amazon-branded Linux AMI
> -- aka ami-8c1fece5
>
> I seem to have it run
Hi,
Have your tried wireshark or tcpdump ?
Regards,
Nils
On Thu, Jul 28, 2011 at 4:06 AM, Ismael Serratos wrote:
> So how do you know it's not working? Do you get any error? or just you can't
> login?
>
> On Wed, Jul 27, 2011 at 8:39 PM, Brian M wrote:
>>
>
Hi,
I forgot about Mounting S3 as partition, I'm already using the boto interface.
The computer field sounds like an Idea, but now to come up with the code :)
Thanks for the tips.
Regards,
Nils
On Tue, Jul 26, 2011 at 6:32 AM, howesc wrote:
> pbreit might be right - you would stil
functionality as the default store/retrieve will this work out of
the box if i replace in the Field ('photo','s3upload') or is there
other things i need to be looking at ?
This is assuming that all the bugs of uploading and retrieving will be
sorted :)
Regards,
Nils
On Jul 25,
HI,
Just looking at dal.py and there is a SQLCustomType, I was wondering
if the functionality i would require could be added via this class?,
Would this be the way to go ?
Nils
On Mon, Jul 25, 2011 at 1:04 PM, Nils Olofsson wrote:
> Hi all,
>
> Before I go off and make an a
I've only used the functionality of web2py, I never had to
change or customize it, so any help or pointer would be appreciated.
Regards,
Nils
Hi Anthony,
yes, migrate is set for fields in the aut table.
Also another note, shuffle did not work for me I have to, from random
import sample.
then change
DAL(sample(['mysql connection string','mysql connection
string'],1),migrate_enabled=False)
Regards,
Nils
On Fri,
Hi Anthony,
That worked, maybe the docs should be updated.
I did try migrate=False, thought they were both the same thing.
Regards,
Nils
On Fri, Jul 22, 2011 at 3:05 PM, Anthony wrote:
> Have all the tables already been created in the slave databases (web2py may
> be trying to create
ould not find a way to tell the
DAL that mysql is read only.
any ideas ?
Regards,
Nils
On Jul 22, 1:58 pm, Anthony wrote:
> You could define 'read_only_actions' anywhere it makes sense, for example:
>
> read_only_actions = ['list','another_read_action
on in read_only_action:
db =... ...
else
db =
and this is in the model/db.py file.
I just don't understand where to define read_only_action or it is
used ?
Regards,
Nils
On Jul 21, 9:16 pm, Anthony wrote:
> That's just some (incomplete) example code. You have to define
> 'r
ons:
NameError: name 'read_only_actions' is not defined
(name 'read_only_actions' is not defined)
This error is the reason i asked where it should go.
Maybe some one could shed some light on it ?
Regards,
Nils
On Jul 21, 7:44 pm, Anthony wrote:
> It would go in your m
Hi Massimo,
I'm testing amazon's RDS and EC2 , 1 master many slaves.
I could not find out where exactly I am suppose to be putting this
code.
Regards,
Nils
On Jul 21, 6:48 pm, Massimo Di Pierro
wrote:
> You would only use this if you have a replicated database. I.e. you
>
sure where exactly I should be using this ?
And does anyone have some sample code as to how it should be used ?
Nils
Hi,
Yes, that was me, sorry, I never got an email stating that it was
posted :( or a response.
Thanks for the quick response.
BTW, web2py is great, only learning at the moment:)
Nils
uot;form has errors"
else:
print "fill out form"
return dict(form=form)
Every time I add a record it gets inserted twice.
There is a slight difference in records, 1st has no tags added while
the 2nd has the tags correctly added.
Any idea why this is happening ?
Regards,
Nils
print "fill out form"
return dict(form=form)
this is part of the database model is this:
Field('image', 'upload',label=T('Profile Image')),
Field('userid',db.auth_user,default = auth.user and auth.user.id),
Field('tags','list:reference event_tags')
Whenever I submit the form, 2 records get added. I'm not sure as to
why this is happening.
Could anyone shed some light on this problem ?
Nils
32 matches
Mail list logo