Re: Please help if you can!

2012-12-26 Thread Joshua Landau
On 27 December 2012 00:04, bobflipperdoo...@gmail.com wrote: First, sorry for starting a new post - I didn't want anyone to have to read through the whole first one when the questions were completely different :/ Second, I honestly have no idea how to answer your questions. I am a

Re: Please help if you can!

2012-12-26 Thread Mitya Sirenef
On 12/26/2012 07:04 PM, bobflipperdoo...@gmail.com wrote: First, sorry for starting a new post - I didn't want anyone to have to read through the whole first one when the questions were completely different :/ Second, I honestly have no idea how to answer your questions. I am a sophomore in

Re: Please help if you can!

2012-12-26 Thread Chris Angelico
On Thu, Dec 27, 2012 at 11:45 AM, Joshua Landau joshua.landau...@gmail.com wrote: FINALLY: When you use Google Groups, your quotations look to us like this: This is something I said with lots of extra lines in the middle for no reason. Google Groups sucks, basically. So please just

Re: Please help if you can!

2012-12-26 Thread Mitya Sirenef
On 12/26/2012 08:00 PM, Chris Angelico wrote: On Thu, Dec 27, 2012 at 11:45 AM, Joshua Landau joshua.landau...@gmail.com wrote: FINALLY: When you use Google Groups, your quotations look to us like this: This is something I said with lots of extra lines in the middle for no reason. Google

Re: Please help if you can!

2012-12-26 Thread Dennis
My *very first* thought about this code is that it's really badly spaced. Don't put lines together so much! [https://gist.github.com/4383950] shows how much nicer things look when they're partitioned more. You may not agree, but it took about 10 seconds and I prefer it. On another style

Re: Please help if you can!

2012-12-26 Thread Chris Angelico
On Thu, Dec 27, 2012 at 12:17 PM, Mitya Sirenef msire...@lightbird.net wrote: I have to agree - I saw that howto as well and it occurred to me that if we have to delete blank lines manually we might as well use postal pigeons with tiny little papyrus scrolls - at least those don't insert blank

Re: Please help if you can!

2012-12-26 Thread Mitya Sirenef
On 12/26/2012 08:23 PM, Chris Angelico wrote: On Thu, Dec 27, 2012 at 12:17 PM, Mitya Sirenef msire...@lightbird.net wrote: I have to agree - I saw that howto as well and it occurred to me that if we have to delete blank lines manually we might as well use postal pigeons with tiny little

Re: Please help if you can!

2012-12-26 Thread alex23
On 27 Dec, 11:00, Chris Angelico ros...@gmail.com wrote: One of the regulars on the list has posted a run-down of how to post from Google Groups without annoying everyone, and among other things, it recommends manually deleting all the blank lines. I'm still posting via Groups and am not

Re: Error .. Please Help

2012-12-13 Thread inshu chauhan
if-else doesn't define a loop, but each of the for statements do. You have defined a classification for 8 of the possible colors, leaving millions of them undefined. If the first time through the loop you manage to hit one of those undefined ones, you'll have no value for classification.

Re: Error .. Please Help

2012-12-13 Thread Chris Angelico
On Thu, Dec 13, 2012 at 8:23 PM, inshu chauhan insidesh...@gmail.com wrote: Are you really getting floating point values, or are they always going to be equal to an integer? Those if/elif statements might be a problem if you ever need to compare to a value like (128.4, 255.0, 255.0). I dont

Re: Error .. Please Help

2012-12-13 Thread Neil Cerutti
On 2012-12-13, inshu chauhan insidesh...@gmail.com wrote: For this I put an else clause at end but is there a better way to avoid this kind of situation ?? An if-elif-else structure is usually broken if you leave out the else part. When I don't expect it to ever actually happen when the program

Re: Error .. Please Help

2012-12-13 Thread Dave Angel
On 12/13/2012 04:23 AM, inshu chauhan wrote: if-else doesn't define a loop, but each of the for statements do. You have defined a classification for 8 of the possible colors, leaving millions of them undefined. If the first time through the loop you manage to hit one of those undefined

Error .. Please Help

2012-12-12 Thread inshu chauhan
In this code : import cv g = open(PointCloudmitClass.txt, w) image = cv.LoadImageM(Z:/modules/intensity_01.tif, cv.CV_LOAD_IMAGE_UNCHANGED) print image for y in xrange(0,image.height): for x in xrange(0,image.width): color = image[y,x] if color == (0.0,0.0,0.0):

Re: Error .. Please Help

2012-12-12 Thread Chris Angelico
On Thu, Dec 13, 2012 at 2:00 AM, inshu chauhan insidesh...@gmail.com wrote: In this code : import cv if color == (0.0,255.0,0.0): classification = 1 ... elif color == (255.0, 0.0, 255.0): classification = 7 print g, x ,

Re: Error .. Please Help

2012-12-12 Thread Dave Angel
On 12/12/2012 10:00 AM, inshu chauhan wrote: In this code : import cv g = open(PointCloudmitClass.txt, w) image = cv.LoadImageM(Z:/modules/intensity_01.tif, cv.CV_LOAD_IMAGE_UNCHANGED) print image for y in xrange(0,image.height): for x in xrange(0,image.width): color =

Re: Error .. Please Help

2012-12-12 Thread Ulrich Eckhardt
Am 12.12.2012 16:00, schrieb inshu chauhan: color = image[y,x] if color == (0.0,0.0,0.0): continue else : if color == (0.0,255.0,0.0): classification = 1 elif color == (128.0, 0.0, 255.0):

RE: please help me to debud my local chat network program

2012-11-30 Thread Prasad, Ramit
Minh Dang wrote: can anyone help me? Chris Angelico has given you some good comments which should give you a direction to investigate. This list is a global list and you seem a tad impatient. It is normal to hear back from a few hours to a day or two. Even if I wanted to help, without

Re: please help me to debud my local chat network program

2012-11-29 Thread Minh Dang
can anyone help me? -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me to debud my local chat network program

2012-11-29 Thread Chris Angelico
On Thu, Nov 29, 2012 at 8:03 PM, Minh Dang dangbaminh...@gmail.com wrote: can anyone help me? Look over my previous posts. I've made several suggestions that you haven't followed up on. Also, check out ESR's article on asking questions, which I also linked you to earlier. Take its advice.

Re: please help me to debud my local chat network program

2012-11-28 Thread Minh Dang
but, how can I fix it? -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me to debud my local chat network program

2012-11-28 Thread Minh Dang
ok, in client.py, i change broadcastIP = broadcast to broadcastIP = 127.0.0.1 but there are some bugs sys.exit(main()) rQueue, wQueue, xQueue = select.select(inputs, [], []) -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me to debud my local chat network program

2012-11-28 Thread Chris Angelico
On Wed, Nov 28, 2012 at 9:52 PM, Minh Dang dangbaminh...@gmail.com wrote: but, how can I fix it? I can't say that for sure, but did you read the bit at the end of my last post beginning I think you probably want? Try doing that, see what happens. ChrisA --

Re: please help me to debud my local chat network program

2012-11-28 Thread Minh Dang
ok, in client.py, i change broadcastIP = broadcast to broadcastIP = 127.0.0.1,it's ok, but there are some bugs sys.exit(main()) rQueue, wQueue, xQueue = select.select(inputs, [], []) -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me to debud my local chat network program

2012-11-28 Thread Chris Angelico
On Wed, Nov 28, 2012 at 10:10 PM, Minh Dang dangbaminh...@gmail.com wrote: ok, in client.py, i change broadcastIP = broadcast to broadcastIP = 127.0.0.1 but there are some bugs I doubt that that will work either. And you may need to be a little clearer on what you mean by there are some bugs -

Re: please help me to debud my local chat network program

2012-11-28 Thread Minh Dang
yes, still have 2 bugs: sys.exit(main()) rQueue, wQueue, xQueue = select.select(inputs, [], []) -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me to debud my local chat network program

2012-11-28 Thread Minh Dang
please help me, after changing broadcast, there are 2 bugs: if __name__ == __main__: sys.exit(main()) and rQueue, wQueue, xQueue = select.select(inputs, [], []) please help me -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me to debud my local chat network program

2012-11-28 Thread Chris Angelico
On Wed, Nov 28, 2012 at 10:57 PM, Minh Dang dangbaminh...@gmail.com wrote: please help me, after changing broadcast, there are 2 bugs: if __name__ == __main__: sys.exit(main()) and rQueue, wQueue, xQueue = select.select(inputs, [], []) please help me By bug, I'm guessing you mean one

Re: please help me to debud my local chat network program

2012-11-28 Thread Minh Dang
yes, it's run but appear: in server: Server is ready. Accepted connection from ('127.0.0.1', 5000) End connection from ('127.0.0.1', 5000) after connected, server close. in client: Connected to server at 127.0.0.1 : 4000 Traceback (most recent call last): File

Re: please help me to debud my local chat network program

2012-11-28 Thread Chris Angelico
On Thu, Nov 29, 2012 at 1:10 AM, Minh Dang dangbaminh...@gmail.com wrote: File C:\Users\MINH_IT\workspace\project\src\project\client.py, line 60, in main rQueue, wQueue, xQueue = select.select(inputs, [], []) OSError: [WinError 10038] An operation was attempted on something that is not

Re: please help me to debud my local chat network program

2012-11-28 Thread Minh Dang
there are still these 2 problems and i don't know how to solve it -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me to debud my local chat network program

2012-11-28 Thread Jorgen Grahn
On Wed, 2012-11-28, Chris Angelico wrote: On Wed, Nov 28, 2012 at 1:50 PM, Minh Dang dangbaminh...@gmail.com wrote: Hello everybody, i am doing my project: local network chat using python here is my file http://www.mediafire.com/?cc2g9tmsju0ba2m Hmm. Might I recommend some other means of

Re: please help me to debud my local chat network program

2012-11-28 Thread Minh Dang
ok, here is my code, zip http://www.mediafire.com/?ob4kokda81fj6xc -- http://mail.python.org/mailman/listinfo/python-list

please help me to debud my local chat network program

2012-11-27 Thread Minh Dang
is not valid in its context Please help me to debud it, thank so much. -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me to debud my local chat network program

2012-11-27 Thread Terry Reedy
On 11/27/2012 9:50 PM, Minh Dang wrote: Hello everybody, i am doing my project: local network chat using python here is my file http://www.mediafire.com/?cc2g9tmsju0ba2m I am not familiar with .rar files and whether I can open them. Better to upload a standard .zip. when i compile

Re: please help me to debud my local chat network program

2012-11-27 Thread Chris Angelico
((broadcastIP, broadcastPort)) OSError: [WinError 10049] The requested address is not valid in its context Please help me to debud it, thank so much. What's the broadcastIP address you're using? (As mentioned above, I can't see your source code.) Is it the appropriate address for one of your

Re: please help me to debud my local chat network program

2012-11-27 Thread Minh Dang
ok, here is my code, zip http://www.mediafire.com/?ob4kokda81fj6xc -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me to debud my local chat network program

2012-11-27 Thread Chris Angelico
On Wed, Nov 28, 2012 at 4:47 PM, Minh Dang dangbaminh...@gmail.com wrote: ok, here is my code, zip http://www.mediafire.com/?ob4kokda81fj6xc Thanks! That's a distinct improvement :) That code doesn't exactly match the traceback, though; there's client.py not pclient.py and the line numbers

RE: One of my joomla webpages has been hacked. Please help.

2012-09-27 Thread Prasad, Ramit
? G??ee? wrote: I shouldn't have asked about Joomla here, or even about Python embedding within Joomla cms. I was under the impression that the latter was relevant to ask here but it seems it isnt. My bad, let's just close this thread so i don't waste anyone's time. Now when/if you get

Re: One of my joomla webpages has been hacked. Please help.

2012-09-26 Thread Wayne Werner
On Sat, 22 Sep 2012, Νίκος Γκρεεκ wrote: Okey i'll ask this to the officila joomla forum, one last thing though. Is there a way to somehow embed(or utilize) python code, for example my python counter code script you have seen last week inside my Joomla/WordPress cms sites? For example:

Re: One of my joomla webpages has been hacked. Please help.

2012-09-26 Thread Wayne Werner
On Sun, 23 Sep 2012, Dwight Hutto wrote: snip We're the borg. Oh, so you *are* a robot. That does explain your posts ;) -- http://mail.python.org/mailman/listinfo/python-list

Re: One of my joomla webpages has been hacked. Please help.

2012-09-26 Thread Emile van Sebille
On 9/26/2012 6:06 PM Wayne Werner said... On Sun, 23 Sep 2012, Dwight Hutto wrote: snip We're the borg. Oh, so you *are* a robot. That does explain your posts ;) Damn. Now I'll forever more hear Stephen Hawkin's voice as I read the repeated contexts. Maybe that'll help. EMile --

Re: One of my joomla webpages has been hacked. Please help.

2012-09-26 Thread MRAB
On 2012-09-27 02:06, Wayne Werner wrote: On Sun, 23 Sep 2012, Dwight Hutto wrote: snip We're the borg. Oh, so you *are* a robot. That does explain your posts ;) pedanticThe Borg are cyborgs, not robots./pedantic -- http://mail.python.org/mailman/listinfo/python-list

Re: One of my joomla webpages has been hacked. Please help.

2012-09-23 Thread Νίκος Γκρεεκ
Τη Κυριακή, 23 Σεπτεμβρίου 2012 8:38:38 π.μ. UTC+3, ο χρήστης Chris Angelico έγραψε: On Sun, Sep 23, 2012 at 3:18 PM, Dwight Hutto dwightdhu...@gmail.com wrote: On Sun, Sep 23, 2012 at 12:56 AM, Chris Angelico ros...@gmail.com wrote: Steven's point is not that we, human beings (or

Re: One of my joomla webpages has been hacked. Please help.

2012-09-23 Thread alex23
On Sep 22, 4:45 am, Νίκος Γκρεεκ nikos.gr...@gmail.com wrote: One webpage of mine,http://www.varsa.gr/has been *hacked* 15 mins ago. Here is your problem: joomla If you're looking for a more secure solution: http://plone.org/products/plone/security/overview --

Re: One of my joomla webpages has been hacked. Please help.

2012-09-22 Thread Νίκος Γκρεεκ
Τη Σάββατο, 22 Σεπτεμβρίου 2012 4:42:35 π.μ. UTC+3, ο χρήστης Steven D'Aprano έγραψε: On Fri, 21 Sep 2012 11:45:14 -0700, Νίκος Γκρεεκ wrote: One webpage of mine, [url redacted] has been *hacked* 15 mins ago. [...] I would be gratefull for any help you provide me. Yeah

Re: One of my joomla webpages has been hacked. Please help.

2012-09-22 Thread Peter Otten
Νίκος Γκρεεκ wrote: One webpage of mine, http://www.varsa.gr/ has been *hacked* 15 mins ago. Please visit my web page varsa.gr and view the source code and maybe you can tell me what has happened. Do you use a password that was exposed in the other thread,

Re: One of my joomla webpages has been hacked. Please help.

2012-09-22 Thread Νίκος Γκρεεκ
Τη Σάββατο, 22 Σεπτεμβρίου 2012 10:26:05 π.μ. UTC+3, ο χρήστης Peter Otten έγραψε: Νίκος Γκρεεκ wrote: One webpage of mine, http://www.varsa.gr/ has been *hacked* 15 mins ago. Please visit my web page varsa.gr and view the source code and maybe you can tell me what has

Re: One of my joomla webpages has been hacked. Please help.

2012-09-22 Thread Chris Angelico
On Sat, Sep 22, 2012 at 5:13 PM, Νίκος Γκρεεκ nikos.gr...@gmail.com wrote: The web host company pulled a previous backup and now its all good. My apologies for the annoyance i have coused you all i wanted was some insight so to make sure this wont happen again( it already happened 2 times

Re: One of my joomla webpages has been hacked. Please help.

2012-09-22 Thread Dwight Hutto
On Fri, Sep 21, 2012 at 2:45 PM, Νίκος Γκρεεκ nikos.gr...@gmail.com wrote: Hello, One webpage of mine, http://www.varsa.gr/ has been *hacked* 15 mins ago. The others are right, this is a joomla question, unless you're allowing execution of code by members and they utilize python. My

Re: One of my joomla webpages has been hacked. Please help.

2012-09-22 Thread Kev Dwyer
Νίκος Γκρεεκ wrote: Τη Σάββατο, 22 Σεπτεμβρίου 2012 10:26:05 π.μ. UTC+3, ο χρήστης Peter Otten έγραψε: Νίκος Γκρεεκ wrote: One webpage of mine, http://www.varsa.gr/ has been *hacked* 15 mins ago. Please visit my web page varsa.gr and view the source code and maybe you

Re: One of my joomla webpages has been hacked. Please help.

2012-09-22 Thread Alister
On Sat, 22 Sep 2012 18:07:32 +1000, Chris Angelico wrote: On Sat, Sep 22, 2012 at 5:13 PM, Νίκος Γκρεεκ nikos.gr...@gmail.com wrote: The web host company pulled a previous backup and now its all good. My apologies for the annoyance i have coused you all i wanted was some insight so to make

Re: One of my joomla webpages has been hacked. Please help.

2012-09-22 Thread Steven D'Aprano
On Sat, 22 Sep 2012 11:13:43 +0100, Kev Dwyer wrote: This is only speculation, as I don't know exactly how your web page has been hacked, but if your page somehow exposes a database connection, and the hack involves changing the contents of the database then you should read up on SQL

Re: One of my joomla webpages has been hacked. Please help.

2012-09-22 Thread Alister
On Sat, 22 Sep 2012 13:09:36 +, Steven D'Aprano wrote: On Sat, 22 Sep 2012 11:13:43 +0100, Kev Dwyer wrote: This is only speculation, as I don't know exactly how your web page has been hacked, but if your page somehow exposes a database connection, and the hack involves changing the

Re: One of my joomla webpages has been hacked. Please help.

2012-09-22 Thread Νίκος Γκρεεκ
Τη Σάββατο, 22 Σεπτεμβρίου 2012 4:09:37 μ.μ. UTC+3, ο χρήστης Steven D'Aprano έγραψε: On Sat, 22 Sep 2012 11:13:43 +0100, Kev Dwyer wrote: This is only speculation, as I don't know exactly how your web page has been hacked, but if your page somehow exposes a database connection,

Re: One of my joomla webpages has been hacked. Please help.

2012-09-22 Thread Chris Angelico
On Sun, Sep 23, 2012 at 12:44 AM, Νίκος Γκρεεκ nikos.gr...@gmail.com wrote: But how am i supposed to fix this vulnerability if i don't know which one is it? My guess is they used joomlas template to insert arbitrary code but thats just a guess. The answer to that is a thing called

Re: One of my joomla webpages has been hacked. Please help.

2012-09-22 Thread Ben Finney
Νίκος Γκρεεκ nikos.gr...@gmail.com writes: Τη Σάββατο, 22 Σεπτεμβρίου 2012 4:09:37 μ.μ. UTC+3, ο χρήστης Steven D'Aprano έγραψε: Why are we discussing this? It has nothing to do with Python and is completely off-topic for this list. But how am i supposed to fix this vulnerability if i

Re: One of my joomla webpages has been hacked. Please help.

2012-09-22 Thread Νίκος Γκρεεκ
Τη Σάββατο, 22 Σεπτεμβρίου 2012 5:57:41 μ.μ. UTC+3, ο χρήστης Chris Angelico έγραψε: On Sun, Sep 23, 2012 at 12:44 AM, Νίκος Γκρεεκ nikos.gr...@gmail.com wrote: But how am i supposed to fix this vulnerability if i don't know which one is it? My guess is they used joomlas template

Re: One of my joomla webpages has been hacked. Please help.

2012-09-22 Thread Chris Angelico
On Sun, Sep 23, 2012 at 4:13 AM, Νίκος Γκρεεκ nikos.gr...@gmail.com wrote: Is there a way to somehow embed(or utilize) python code, for example my python counter code script you have seen last week inside my Joomla/WordPress cms sites? You probably could. But I reiterate, you're going about

Re: One of my joomla webpages has been hacked. Please help.

2012-09-22 Thread Νίκος Γκρεεκ
Τη Σάββατο, 22 Σεπτεμβρίου 2012 9:18:02 μ.μ. UTC+3, ο χρήστης Chris Angelico έγραψε: On Sun, Sep 23, 2012 at 4:13 AM, Νίκος Γκρεεκ nikos.gr...@gmail.com wrote: Is there a way to somehow embed(or utilize) python code, for example my python counter code script you have seen last week inside

Re: One of my joomla webpages has been hacked. Please help.

2012-09-22 Thread Chris Angelico
On Sun, Sep 23, 2012 at 12:52 PM, Νίκος Γκρεεκ nikos.gr...@gmail.com wrote: Τη Σάββατο, 22 Σεπτεμβρίου 2012 9:18:02 μ.μ. UTC+3, ο χρήστης Chris Angelico έγραψε: On Sun, Sep 23, 2012 at 4:13 AM, Νίκος Γκρεεκ nikos.gr...@gmail.com wrote: Is there a way to somehow embed(or utilize) python

Re: One of my joomla webpages has been hacked. Please help.

2012-09-22 Thread Steven D'Aprano
On Sat, 22 Sep 2012 19:52:00 -0700, Νίκος Γκρεεκ wrote: Out of curiocity how would i used my python counter source code along with Joomla? This is not a Joomla forum. We do not know how to run code in Joomla. Regardless of whether the code is Python, or Perl, or Lisp, or Lua, or any of

Re: One of my joomla webpages has been hacked. Please help.

2012-09-22 Thread Dwight Hutto
On Sun, Sep 23, 2012 at 12:06 AM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: On Sat, 22 Sep 2012 19:52:00 -0700, Νίκος Γκρεεκ wrote: Out of curiocity how would i used my python counter source code along with Joomla? This is not a Joomla forum. We do not know how to run code

Re: One of my joomla webpages has been hacked. Please help.

2012-09-22 Thread Chris Angelico
On Sun, Sep 23, 2012 at 2:48 PM, Dwight Hutto dwightdhu...@gmail.com wrote: On Sun, Sep 23, 2012 at 12:06 AM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: On Sat, 22 Sep 2012 19:52:00 -0700, Νίκος Γκρεεκ wrote: Out of curiocity how would i used my python counter source code

Re: One of my joomla webpages has been hacked. Please help.

2012-09-22 Thread Dwight Hutto
On Sun, Sep 23, 2012 at 12:56 AM, Chris Angelico ros...@gmail.com wrote: On Sun, Sep 23, 2012 at 2:48 PM, Dwight Hutto dwightdhu...@gmail.com wrote: On Sun, Sep 23, 2012 at 12:06 AM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: On Sat, 22 Sep 2012 19:52:00 -0700, Νίκος Γκρεεκ

Re: One of my joomla webpages has been hacked. Please help.

2012-09-22 Thread Νίκος Γκρεεκ
Τη Κυριακή, 23 Σεπτεμβρίου 2012 7:48:40 π.μ. UTC+3, ο χρήστης David Hutto έγραψε: No, joomla is a CMS framework of several languages. You're right, this is a Joomla question, but even python could be added into joomla as an API Thank you for pointing this out, looks very interesting, i

Re: One of my joomla webpages has been hacked. Please help.

2012-09-22 Thread Dwight Hutto
It would be nice if out python scripts can be used along with Joomla CMS, Drupal or even Wordpress. As long as the server side prerequisites has been met, then the code should execute as long as it is allowed in the plugins. -- Best Regards, David Hutto CEO: http://www.hitwebdevelopment.com

Re: One of my joomla webpages has been hacked. Please help.

2012-09-22 Thread Chris Angelico
On Sun, Sep 23, 2012 at 3:18 PM, Dwight Hutto dwightdhu...@gmail.com wrote: On Sun, Sep 23, 2012 at 12:56 AM, Chris Angelico ros...@gmail.com wrote: Steven's point is not that we, human beings (or parahuman beings, as the case may be), do not know how to run code in Joomla; I've worked with

One of my joomla webpages has been hacked. Please help.

2012-09-21 Thread Νίκος Γκρεεκ
Hello, One webpage of mine, http://www.varsa.gr/ has been *hacked* 15 mins ago. I logged into CPanel but the joomla files seem ok. but when i view page code with chrome i get the source code, i dont knwo of which file thaty contains javascript inside. Please visit my web page varsa.gr and

Re: One of my joomla webpages has been hacked. Please help.

2012-09-21 Thread Chris Angelico
On Sat, Sep 22, 2012 at 4:45 AM, Νίκος Γκρεεκ nikos.gr...@gmail.com wrote: One webpage of mine, http://www.varsa.gr/ has been *hacked* 15 mins ago. I know this is not a python question but you guyshave high knowledge of web sites programming and i though you wouldnt mind helping me out. No,

Re: One of my joomla webpages has been hacked. Please help.

2012-09-21 Thread Steven D'Aprano
On Fri, 21 Sep 2012 11:45:14 -0700, Νίκος Γκρεεκ wrote: One webpage of mine, [url redacted] has been *hacked* 15 mins ago. [...] I would be gratefull for any help you provide me. Yeah yeah, sure. Is this an attempt to get people to visit your web site so it can do a drive-by install of

Re: One of my joomla webpages has been hacked. Please help.

2012-09-21 Thread Chris Angelico
On Sat, Sep 22, 2012 at 11:42 AM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: But you asked anyway. Why don't you ask your car mechanic to fix your plumbing, or go to the doctor to ask advice on how to cook pizza? Or your plumber to rescue the princess who's in another castle...

Re: Error 32 - Broken Pipe . Please Help!!

2012-09-05 Thread Mark Lawrence
On 05/09/2012 06:33, Dennis Lee Bieber wrote: On Tue, 4 Sep 2012 20:40:57 -0700 (PDT), Ramchandra Apte maniandra...@gmail.com declaimed the following in gmane.comp.python.general: *Please* make your variable names more descriptive. No kidding... I haven't seen such cryptic names

Error 32 - Broken Pipe . Please Help!!

2012-09-04 Thread Sreenath k
Error: Exception in thread Thread-1: Traceback (most recent call last): File /usr/lib/python2.7/threading.py, line 551, in __bootstrap_inner self.run() File /usr/lib/python2.7/dist-packages/spyderlib/widgets/externalshell/monitor.py, line 575, in run already_pickled=True) File

Re: Error 32 - Broken Pipe . Please Help!!

2012-09-04 Thread Laszlo Nagy
2012.09.04. 19:08 keltezéssel, Sreenath k írta: Error: Exception in thread Thread-1: Traceback (most recent call last): File /usr/lib/python2.7/threading.py, line 551, in __bootstrap_inner self.run() File /usr/lib/python2.7/dist-packages/spyderlib/widgets/externalshell/monitor.py,

Re: Error 32 - Broken Pipe . Please Help!!

2012-09-04 Thread Emile van Sebille
On 9/4/2012 10:08 AM Sreenath k said... Error: Exception in thread Thread-1: Traceback (most recent call last): File /usr/lib/python2.7/threading.py, line 551, in __bootstrap_inner self.run() File /usr/lib/python2.7/dist-packages/spyderlib/widgets/externalshell/monitor.py, line

Re: Error 32 - Broken Pipe . Please Help!!

2012-09-04 Thread Ramchandra Apte
On Tuesday, 4 September 2012 22:38:03 UTC+5:30, Sreenath k wrote: Error: Exception in thread Thread-1: Traceback (most recent call last): File /usr/lib/python2.7/threading.py, line 551, in __bootstrap_inner self.run() File

Re: PySerial could not open port COM4: [Error 5] Access is denied - please help

2012-06-28 Thread Grant Edwards
On 2012-06-28, Adam adam@no_thanks.com wrote: Obviously pySerial considers the serial port open Because it's already been opened by the Python program. and will not open an already open serial port. Pyserial will happily try if you call the open() of a port that's already open, but Windows

Re: PySerial could not open port COM4: [Error 5] Access is denied - please help

2012-06-28 Thread Roel Schroeven
Temia Eszteri schreef: Actually, I believe someone in an earlier thread in the newsgroup or elsewhere pointed out that serial ports automatically open under Windows. I'd have to look it back up when I have the time, which I don't have at the moment, unfortunately. That doesn't have anything to

Re: PySerial could not open port COM4: [Error 5] Access is denied - please help

2012-06-28 Thread Adam
Grant Edwards invalid@invalid.invalid wrote in message news:jshotj$s55$1...@reader1.panix.com... On 2012-06-28, Adam adam@no_thanks.com wrote: Obviously pySerial considers the serial port open Because it's already been opened by the Python program. and will not open an already open serial

Re: PySerial could not open port COM4: [Error 5] Access is denied- please help

2012-06-28 Thread Adam
Roel Schroeven r...@roelschroeven.net wrote in message news:mailman.1618.1340910525.4697.python-l...@python.org... Temia Eszteri schreef: Actually, I believe someone in an earlier thread in the newsgroup or elsewhere pointed out that serial ports automatically open under Windows. I'd have to

Re: PySerial could not open port COM4: [Error 5] Access is denied - please help

2012-06-27 Thread Adam
John Nagle na...@animats.com wrote in message news:jse604$1cq$1...@dont-email.me... On 6/26/2012 9:12 PM, Adam wrote: Host OS:Ubuntu 10.04 LTS Guest OS:Windows XP Pro SP3 I am able to open port COM4 with Terminal emulator. So, what can cause PySerial to generate the following

Re: PySerial could not open port COM4: [Error 5] Access is denied - please help

2012-06-27 Thread Paul
Adam wrote: John Nagle na...@animats.com wrote in message news:jse604$1cq$1...@dont-email.me... On 6/26/2012 9:12 PM, Adam wrote: Host OS:Ubuntu 10.04 LTS Guest OS:Windows XP Pro SP3 I am able to open port COM4 with Terminal emulator. So, what can cause PySerial to generate the

Re: PySerial could not open port COM4: [Error 5] Access is denied - please help

2012-06-27 Thread David H. Lipman
From: Adam adam@no_thanks.com John Nagle na...@animats.com wrote in message news:jse604$1cq$1...@dont-email.me... On 6/26/2012 9:12 PM, Adam wrote: Host OS:Ubuntu 10.04 LTS Guest OS:Windows XP Pro SP3 I am able to open port COM4 with Terminal emulator. So, what can cause PySerial

Re: PySerial could not open port COM4: [Error 5] Access is denied - please help

2012-06-27 Thread Grant Edwards
On 2012-06-27, David H. Lipman DLipman~nospam~@Verizon.Net wrote: From: Adam adam@no_thanks.com John Nagle na...@animats.com wrote in message news:jse604$1cq$1...@dont-email.me... On 6/26/2012 9:12 PM, Adam wrote: Host OS:Ubuntu 10.04 LTS Guest OS:Windows XP Pro SP3 I am able to

Re: PySerial could not open port COM4: [Error 5] Access is denied - please help

2012-06-27 Thread Adam
Paul nos...@needed.com wrote in message news:jseu9c$sp3$1...@dont-email.me... Adam wrote: John Nagle na...@animats.com wrote in message news:jse604$1cq$1...@dont-email.me... On 6/26/2012 9:12 PM, Adam wrote: Host OS:Ubuntu 10.04 LTS Guest OS:Windows XP Pro SP3 I am able to open

Re: PySerial could not open port COM4: [Error 5] Access is denied - please help

2012-06-27 Thread Paul
Adam wrote: Paul nos...@needed.com wrote in message news:jseu9c$sp3$1...@dont-email.me... Adam wrote: John Nagle na...@animats.com wrote in message news:jse604$1cq$1...@dont-email.me... On 6/26/2012 9:12 PM, Adam wrote: Host OS:Ubuntu 10.04 LTS Guest OS:Windows XP Pro SP3 I am able

Re: PySerial could not open port COM4: [Error 5] Access is denied - please help

2012-06-27 Thread Adam
Paul nos...@needed.com wrote in message news:jsfatv$djt$1...@dont-email.me... Adam wrote: Paul nos...@needed.com wrote in message news:jseu9c$sp3$1...@dont-email.me... Adam wrote: John Nagle na...@animats.com wrote in message news:jse604$1cq$1...@dont-email.me... On 6/26/2012 9:12 PM,

Re: PySerial could not open port COM4: [Error 5] Access is denied - please help

2012-06-27 Thread Paul
Adam wrote: This is a tough one. Try handle -a allhand.txt Then open the allhand.txt with Notepad and look for interesting entries. *** I tested right now, and first opened a session in HyperTerminal with one of my USB to serial adapters. The second serial adapter, is connect to

Re: PySerial could not open port COM4: [Error 5] Access is denied - please help

2012-06-27 Thread Adam
Paul nos...@needed.com wrote in message news:jsfhv2$ta9$1...@dont-email.me... Adam wrote: This is a tough one. Try handle -a allhand.txt Then open the allhand.txt with Notepad and look for interesting entries. *** I tested right now, and first opened a session in

Re: PySerial could not open port COM4: [Error 5] Access is denied - please help

2012-06-27 Thread Grant Edwards
On 2012-06-27, Adam adam@no_thanks.com wrote: The Python script needed a call to ser.close() before ser.open() in order to work. IOW, the port opened OK, but when you tried to open it a second time without closing it first, _that's_ when the .open() call failed. That's a restriction built in

Re: PySerial could not open port COM4: [Error 5] Access is denied - please help

2012-06-27 Thread Adam
Grant Edwards invalid@invalid.invalid wrote in message news:jsftah$bb5$1...@reader1.panix.com... On 2012-06-27, Adam adam@no_thanks.com wrote: The Python script needed a call to ser.close() before ser.open() in order to work. IOW, the port opened OK, but when you tried to open it a second

Re: PySerial could not open port COM4: [Error 5] Access is denied - please help

2012-06-27 Thread Grant Edwards
On 2012-06-27, Adam adam@no_thanks.com wrote: Grant Edwards invalid@invalid.invalid wrote: On 2012-06-27, Adam adam@no_thanks.com wrote: The Python script needed a call to ser.close() before ser.open() in order to work. IOW, the port opened OK, but when you tried to open it a second time

Re: PySerial could not open port COM4: [Error 5] Access is denied - please help

2012-06-27 Thread Grant Edwards
On 2012-06-27, Grant Edwards invalid@invalid.invalid wrote: On 2012-06-27, Adam adam@no_thanks.com wrote: Grant Edwards invalid@invalid.invalid wrote: Why do you need to open it a second time? As far as I can tell, the wireless hardware connected to the USB-to-serial converter is receiving

Re: PySerial could not open port COM4: [Error 5] Access is denied - please help

2012-06-27 Thread Temia Eszteri
On Wed, 27 Jun 2012 22:18:59 + (UTC), Grant Edwards invalid@invalid.invalid wrote: Can you post a small example showing what you're doing? The best way to get help is to write as small a program as possible that demonstrates the problem, and post it. I'll help you get started... Does this

Re: PySerial could not open port COM4: [Error 5] Access is denied - please help

2012-06-27 Thread Adam
Temia Eszteri lamial...@cleverpun.com wrote in message news:ra2nu7h75720i75ijhabg12dngrab75...@4ax.com... On Wed, 27 Jun 2012 22:18:59 + (UTC), Grant Edwards invalid@invalid.invalid wrote: Can you post a small example showing what you're doing? The best way to get help is to write as

Re: PySerial could not open port COM4: [Error 5] Access is denied - please help

2012-06-27 Thread Grant Edwards
On 2012-06-27, Adam adam@no_thanks.com wrote: Actually, I believe someone in an earlier thread in the newsgroup or elsewhere pointed out that serial ports automatically open under Windows. I'd have to look it back up when I have the time, which I don't have at the moment, unfortunately. What

Re: PySerial could not open port COM4: [Error 5] Access is denied - please help

2012-06-27 Thread Adam
Grant Edwards invalid@invalid.invalid wrote in message news:jsg4o8$o4p$1...@reader1.panix.com... On 2012-06-27, Adam adam@no_thanks.com wrote: Actually, I believe someone in an earlier thread in the newsgroup or elsewhere pointed out that serial ports automatically open under Windows. I'd

PySerial could not open port COM4: [Error 5] Access is denied - please help

2012-06-26 Thread Adam
Host OS:Ubuntu 10.04 LTS Guest OS:Windows XP Pro SP3 I am able to open port COM4 with Terminal emulator. So, what can cause PySerial to generate the following error ... C:\Wattcherpython wattcher.py Traceback (most recent call last): File wattcher.py, line 56, in module

Re: PySerial could not open port COM4: [Error 5] Access is denied - please help

2012-06-26 Thread John Nagle
On 6/26/2012 9:12 PM, Adam wrote: Host OS:Ubuntu 10.04 LTS Guest OS:Windows XP Pro SP3 I am able to open port COM4 with Terminal emulator. So, what can cause PySerial to generate the following error ... C:\Wattcherpython wattcher.py Traceback (most recent call last): File

Unit test failing please help

2011-08-26 Thread lblake
Hi I am new to python I am at bit lost as to why my unit test is failing below is the code and the unit test: class Centipede(object): legs, stomach def __init__(self): def __str__(self): return ','.join(self.stomach) def __call__(self,*args):

<    1   2   3   4   5   6   7   8   >