I get those errors when I run:
/usr/local/bin/SquidClamAV_Redirector.py -c
/etc/squid/SquidClamAV_Redirector.conf
##
Traceback (most recent call last):
File "/usr/local/bin/SquidClamAV_Redirector.py", line 573, in ?
redirector = SquidClamAV_Redirector(config)
File "/usr/lo
g it may be possible to modify the command line tools to use qt
threads instead of native python threads. Is this the way to go? Are
there other options?
Adrian.
--
http://mail.python.org/mailman/listinfo/python-list
Diez B. Roggisch wrote:
>> I'm thinking it may be possible to modify the command line tools to use
>> qt
>> threads instead of native python threads. Is this the way to go? Are
>> there other options?
>
> Why don't you use python threads in qt - I do so and so far it didn't make
> any troubles
eue. I have a customEvent method in my application
which grabs the data from the customEvent and processes it accrodingly
(writing output to a QTable).
The gui locks up after an arbitrary number of rows have been inserted in the
QTable. It is not consistent. Sometimes it does not lock at all.
I have a non-threaded set of the command line tools which run perfectly with
the gui.
Adrian.
--
http://mail.python.org/mailman/listinfo/python-list
Adrian Casey wrote:
> Diez B. Roggisch wrote:
>
>>> I'm thinking it may be possible to modify the command line tools to use
>>> qt
>>> threads instead of native python threads. Is this the way to go? Are
>>> there other options?
>>
>&
n
anyway).
After times tables, I plan to work on a simple number guessing game where
the computer picks a random number between 1 and 100 and asks the user to
take a guess. This will help demonstrate many basic programming concepts.
Not sure how to introduce graphics though as so much is relatively abstract.
Adrian.
--
http://mail.python.org/mailman/listinfo/python-list
Aahz wrote:
> In article <[EMAIL PROTECTED]>,
> Frans Englich <[EMAIL PROTECTED]> wrote:
>>
>>Personally I need a solution which touches this discussion. I need to run
>>multiple processes, which I communicate with via stdin/out,
>>simultaneously, and my plan was to do this with threads. Any favo
hello,
i have compiled and installed postgres8 --with-prefix=/usr/local/postgres8
(& several other options) and have no other version of postgres on my
system. python is compiled and make'd --with-prefix=/usr.
i have added the libpath of postgres to /etc/ld.so.conf and a ldconfig -v
also told me
letitblog.com/code/python/greasemonkey.py.txt
Web interface:
http://www.letitblog.com/greasemonkey-compiler/
Feel free to e-mail comments, bug fixes, etc.
Adrian Holovaty
[EMAIL PROTECTED]
http://www.holovaty.com/
--
http://mail.python.org/mailman/listinfo/python-list
e, the child.expect statement will
hang forever.
I thought about using signal.signal to set an alarm that fires a few seconds
after timeout and explicitly closes the session. However, my application
is multi-threaded (i.e. each thread respresents a connection to a remote
host) and signals can not be u
* pt-br (Brazilian)
* ru (Russian)
* sr (Serbian)
* zh-cn (Simplified Chinese)
* sk (Slovak)
See the full documentation here:
http://www.djangoproject.com/documentation/i18n/
Adrian
--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org
--
http://mail.python.o
http://www.djangoproject.com/
http://www.djangoproject.com/download/
Enjoy!
Adrian
--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org
--
http://mail.python.org/mailman/listinfo/python-list
http://www.djangoproject.com/
http://www.djangoproject.com/download/
Enjoy!
Adrian
--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org
--
http://mail.python.org/mailman/listinfo/python-list
itely advertise
this page more, as it's a bit hidden at the moment on the Django wiki.
There are three Django jobs on that page now, and I know of at least
two others. See
http://www.djangoproject.com/weblog/2005/nov/27/weekinreview/ .
Hope this helps!
Adrian
--
Adrian Holova
can use Ajax
with Django, just as you can use it with *any* Web framework. That's
because Ajax is a browser-side technology (JavaScript), not a
server-side technology (Python). Django is just as capable of producing
JavaScript as it is of producing (X)HTML or whatever else.
Hope that clears t
bruno at modulix wrote:
> Adrian, what you describe here is *exactly* what I call "no Ajax
> support": you have to handle the whole thing manually, the framework
> doesn't provide anything by itself. Would you say the CGI module offers
> support for templating, data p
[EMAIL PROTECTED] wrote:
> i want to get a small certificate or diploma in python.
I can recommend brainbench.com (http://www.brainbench.com, of course)
for certifications that are both respected and reasonably priced. Only
drawback: their Python certification is for version 1.5! They have
got
dmin interface -- for free.
* Full internationalization (i18n) support.
* A super-cool community!
* An RSS/Atom-producing framework.
* Tons of other niceties, such as generic views (which abstract common
Web-development patterns), based on several years' worth of solving
Real Problems in the Real Wo
go 1.0.
I would never use TurboGears or Ruby on Rails over Django for any
performance-intensive Web app. In my opinion, both frameworks make some
poor design decisions regarding the importance of performance.
Adrian
--
Adrian Holovaty
holovaty.com | chicagocrime.org | djangoproject.com
--
http://mail.python.org/mailman/listinfo/python-list
eas
TurboGears is a collection of unrelated parts glued together. For more
on this topic, see here:
http://www.oreillynet.com/pub/wlg/8986
Adrian
--
http://mail.python.org/mailman/listinfo/python-list
dd some WSGI code to
the standard library -- for instance, code that runs a development
server for a WSGI-compliant framework, etc. Perhaps wsgiref:
http://svn.eby-sarna.com/wsgiref/
Just my two cents,
Adrian
--
Adrian Holovaty
holovaty.com | chicagocrime.org | djangoproject.com
--
http://mail.python.org/mailman/listinfo/python-list
be quite happy to set that up. Just
let me know!
Adrian
--
Adrian Holovaty
holovaty.com | chicagocrime.org | djangoproject.com
--
http://mail.python.org/mailman/listinfo/python-list
at yesterday's
Chicago Python Users Group meeting and was surprised to see that, even
in a group of only 30 people, 5 or 6 people used Outlook Web Access
through their company. I hope somebody finds this useful.
http://www.holovaty.com/code/weboutlook/
Please send comments and improvements
I found this subject
line in a post to this list on Jan 30, 2004. Does anybody know if this is
possible?
Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
www.prophetmuhammed.orghttp://www.islamtoday.net/english/http://www.islamunveiled.orghttp://www.islamic-knowledge.com
>
> We willingly recive any inquries at the e-mail :
>
> [EMAIL PROTECTED]
Respectofully:
1.- Use the right place for your propaganda.
2.- Stop with religions, and milit
This may be more a cgi thing than a Python one, but I'm trying to get
this page:
http://adrian10.phpwebhosting.com/trial.html
consisting basically of this:
...to print out the contents of the textarea with this cgi script:
#!/usr/bin/python
import cgi
print "Content-type: text/html\n"
form
On Apr 22, 11:40 pm, Jim <[EMAIL PROTECTED]> wrote:
> On Apr 22, 2:08 am, Adrian Smith <[EMAIL PROTECTED]> wrote:> ...and I
> > get an internal server error if I have any spaces in the textarea,
>
> And what error appears in the server error log?
I've just asked
On Apr 22, 10:09 pm, placid <[EMAIL PROTECTED]> wrote:
> i just tried it and its working. here it is
>
> http://yallara.cs.rmit.edu.au/~bevcimen/form.html
>
> maybe the internal server error is because mod_python isn't installed
> assuming your using Apache as your web server
Yeah, but it wouldn'
On Apr 24, 8:00 pm, placid <[EMAIL PROTECTED]> wrote:
> oops...i did read the problem description, but i when i tried the code
> it worked for me and when i put spaces into the TextArea it wasn't
> reflected correctly back. So i thought this was the problem.
>
>
y .bashrc and loops forever? Just one thread
locking up like this holds up all the others.
Any ideas or suggestions on how to handle such situations in a
multi-threaded way would be appreciated.
Cheers.
Adrian Casey.
Alice Springs Linux User Goup.
http://www.aslug.org.au
--
http://mail.python.org/mailman/listinfo/python-list
Nick Craig-Wood wrote:
> Adrian Casey <[EMAIL PROTECTED]> wrote:
>> I have a multi-threaded python application which uses pexpect to connect
>> to
>> multiple systems concurrently. Each thread within my application is a
>> connection to a remote system. The
Nick Craig-Wood wrote:
> Adrian Casey <[EMAIL PROTECTED]> wrote:
>> > Adrian Casey <[EMAIL PROTECTED]> wrote:
>> > import os, pexpect, threading
>> >
>> > def runyes():
>> > print "Running yes command..."
>> &g
mption. But, if that is too tricky, I would be
happy to just get the maximum.
Any suggestion welcome,
Adrian.
--
http://mail.python.org/mailman/listinfo/python-list
While waiting for my paid-for web-hosting company to get back to me
about my difficulties running python scripts on their servers...
http://groups.google.com/group/comp.lang.python/browse_frm/thread/39b52bcf0dffec4c/4ff805bf283acc15?lnk=gst&q=adrian+smith&rnum=1&hl=en#4ff805bf283acc
On May 7, 2:30 pm, Steven D'Aprano
<[EMAIL PROTECTED]> wrote:
> On Sun, 06 May 2007 21:30:16 -0700, Adrian Smith wrote:
> It is NOT the same error. There are NO syntax errors in the script, there
> is a runtime error. The so-called administrator is wrong: you can't use
&g
Hi all,
I have a question with some code I'm writting:
def main():
if option == 1:
function_a()
elif option == 2:
function_b()
else:
raise 'option has to be either 1 or 2'
if iteration == True:
main()
def function_a():
print 'hello
36 matches
Mail list logo