Re: protocol.py, brine.py, and compat.py causing trouble

2014-09-15 Thread Emile van Sebille

On 9/13/2014 11:44 PM, Josh English wrote:

I do not know what these three filesare doing, but suddenly they have caught in 
a loop every time I try to run some code.


snip


This is where I managed to send a keybord interrupt. I was working just fine, 
tweaking a line, running the code, tweaking a line, running the code, until 
this point.


That's your clue -- I'd take a close look at the last changes you made a 
result of which caused this failure and apparent looping.


It's easy to lay blame on the (whatever) library and look for a root 
cause there, but I'd first suspect I did something inappropriate as 
that's much more likely.


Emile


--
https://mail.python.org/mailman/listinfo/python-list


Re: protocol.py, brine.py, and compat.py causing trouble

2014-09-15 Thread Josh English
On Monday, September 15, 2014 12:12:50 PM UTC-7, Emile van Sebille wrote:

 
 That's your clue -- I'd take a close look at the last changes you made a 
 result of which caused this failure and apparent looping.
 It's easy to lay blame on the (whatever) library and look for a root 
 cause there, but I'd first suspect I did something inappropriate as 
 that's much more likely.
 
 
 Emile

I deleted the original post because I had figured out what I had changed. The 
troubleshooting I had done pointed me to those files, which turn out to be part 
of PyScripter, my IDE.

Oddly enough, once I fixed the actual problem (minutes after posting) it still 
makes no sense... I had a list of things that I processed and returned, but 
some refactoring left out filling the return list with anything. I'm not sure 
what happened, except possibly an endless loop.

Josh
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: protocol.py, brine.py, and compat.py causing trouble

2014-09-15 Thread Josh English
On Sunday, September 14, 2014 10:59:07 AM UTC-7, Terry Reedy wrote:
 On 9/14/2014 2:44 AM, Josh English wrote:
 

 To the best of my knowledge, protocol.py, brine.py, compat.py, are not 
 part of the stdlib.  What have you installed other than Python? What 
 editor/IDE are you using?  Check your lib/site-packages directory. From 
 a google search, brine.py is a pickle replacement in the rpyc and 
 dreampie (and other) packages.  The other two names are pretty generic 
 and probably common.
 

They turned out to be part of PyScripter, my IDE.

I think the problem was an enless loop, and eventually a memory error, but I'm 
not sure. 

Thanks, 
Josh
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: protocol.py, brine.py, and compat.py causing trouble

2014-09-15 Thread Chris Angelico
On Tue, Sep 16, 2014 at 11:02 AM, Josh English
joshua.r.engl...@gmail.com wrote:
 I deleted the original post because I had figured out what I had changed.

This is primarily a newsgroup and a mailing list. You can't delete
posts. The best thing to do is to send a follow-up explaining that you
no longer need answers.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list


protocol.py, brine.py, and compat.py causing trouble

2014-09-14 Thread Josh English
I do not know what these three filesare doing, but suddenly they have caught in 
a loop every time I try to run some code.

I grabbed the trace decorator from the python library and this is the last bit 
of the output:


trollvictims.py(129): if self.current_attack:
trollvictims.py(130): print returning, self.current_attack, 
type(self.current_attack)
string(532):  protocol.py(439):  protocol.py(228):  protocol.py(229):  
protocol.py(244):  brine.py(366):  brine.py(368):  brine.py(369):  
brine.py(369):  brine.py(366):  brine.py(367):  brine.py(369):  brine.py(366):  
brine.py(368):  brine.py(369):  brine.py(369):  brine.py(366):  brine.py(367):  
brine.py(369):  brine.py(369):  brine.py(366):  brine.py(368):  brine.py(369):  
brine.py(369):  brine.py(369):  protocol.py(245):  protocol.py(221):  
brine.py(339):  brine.py(340):  brine.py(203):  brine.py(181):  brine.py(182):  
brine.py(184):  brine.py(186):  brine.py(188):  brine.py(189):  brine.py(196):  
brine.py(197):  brine.py(203):  brine.py(108):  brine.py(109):  brine.py(196):  
brine.py(197):  brine.py(203):  brine.py(108):  brine.py(109):  brine.py(196):  
brine.py(197):  brine.py(203):  brine.py(181):  brine.py(182):  brine.py(184):  
brine.py(186):  brine.py(187):  brine.py(196):  brine.py(197):  brine.py(203):  
brine.py(108):  brine.py(109):  brine.py(196):  brine.py(197):  brin
 e.py(203):  brine.py(181):  brine.py(182):  brine.py(184):  brine.py(186):  
brine.py(187):  brine.py(196):  brine.py(197):  brine.py(203):  brine.py(108):  
brine.py(109):  brine.py(196):  brine.py(197):  brine.py(203):  brine.py(181):  
brine.py(182):  brine.py(184):  brine.py(186):  brine.py(188):  brine.py(189):  
brine.py(196):  brine.py(197):  brine.py(203):  brine.py(108):  brine.py(111):  
compat.py(18):  brine.py(112):  brine.py(113):  brine.py(114):  brine.py(196):  
brine.py(197):  brine.py(203):  brine.py(181):  brine.py(182):  brine.py(184):  
brine.py(185):  brine.py(196):  brine.py(197):  brine.py(203):  brine.py(152):  
brine.py(153):  brine.py(155):  brine.py(157):  brine.py(159):  brine.py(161):  
brine.py(163):  brine.py(164):  brine.py(196):  brine.py(196):  brine.py(197):  
brine.py(203):  brine.py(181):  brine.py(182):  brine.py(183):  brine.py(196):  
brine.py(196):  brine.py(196):  brine.py(196):  brine.py(196):  brine.py(341):  
compat.py(18):  protocol.py(222): 

This is where I managed to send a keybord interrupt. I was working just fine, 
tweaking a line, running the code, tweaking a line, running the code, until 
this point.

I'm on Windows 7 using Python 2.7.5. I should upgrade, and will do so, but what 
are these files and why are they suddenly crashing on me?

Josh
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: protocol.py, brine.py, and compat.py causing trouble

2014-09-14 Thread Terry Reedy

On 9/14/2014 2:44 AM, Josh English wrote:

I do not know what these three files are doing,


To the best of my knowledge, protocol.py, brine.py, compat.py, are not 
part of the stdlib.  What have you installed other than Python? What 
editor/IDE are you using?  Check your lib/site-packages directory. From 
a google search, brine.py is a pickle replacement in the rpyc and 
dreampie (and other) packages.  The other two names are pretty generic 
and probably common.



--
Terry Jan Reedy

--
https://mail.python.org/mailman/listinfo/python-list