This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#176 2012-10-06 21:56:47

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Little Server That Can (Chat.PY, Bit Art, etc.)

zippynk wrote:

I suggest reverting to an old version of the code until the bug is found.
(Ohaider agrees.)

Since you both agree, I agree as well. MolyBot does too  smile  However, playzooki also does  sad

EDIT: Page 8!

Supporters:
ohaiderstudios
zippynk
Molybdenum
MolyBot
playzooki

Last edited by Molybdenum (2012-10-06 21:57:41)


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#177 2012-10-07 00:44:43

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Little Server That Can (Chat.PY, Bit Art, etc.)

I'll revert next week on Tuesday.

Offline

 

#178 2012-10-07 14:31:18

playzooki
Scratcher
Registered: 2012-02-07
Posts: 100+

Re: Little Server That Can (Chat.PY, Bit Art, etc.)

Molybdenum wrote:

zippynk wrote:

I suggest reverting to an old version of the code until the bug is found.
(Ohaider agrees.)

Since you both agree, I agree as well. MolyBot does too  smile  However, playzooki also does  sad

EDIT: Page 8!

Supporters:
ohaiderstudios
zippynk
Molybdenum
MolyBot
playzooki

I agree, but thats not a bad thing, you just hate me. The current one is hit and miss.
AND SO DOES UJ!  tongue


I iz a sig. So there. CLICK ME ITS SO IMPORTANT!!!!

Offline

 

#179 2012-10-07 19:19:03

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Little Server That Can (Chat.PY, Bit Art, etc.)

Bump.

I found the problem!
When a user uses commands, the server gets stuck in an infinite loop!

(oh wait, did you already know that? I really thought I had a breakthough  sad )

Last edited by Molybdenum (2012-10-07 19:24:37)


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#180 2012-10-07 23:32:32

ohaiderstudios
Scratcher
Registered: 2010-10-31
Posts: 100+

Re: Little Server That Can (Chat.PY, Bit Art, etc.)

Molybdenum wrote:

Bump.

I found the problem!
When a user uses commands, the server gets stuck in an infinite loop!

(oh wait, did you already know that? I really thought I had a breakthough  sad )

That was our working theory, yes.  big_smile

But it encourages me to see the same people discovering similar things separately.

So basically...it was a victory in its own way.  smile

Last edited by ohaiderstudios (2012-10-07 23:33:32)


Fork Clamor on GitHub!

Offline

 

#181 2012-10-08 16:28:50

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Little Server That Can (Chat.PY, Bit Art, etc.)

ohaiderstudios wrote:

Molybdenum wrote:

Bump.

I found the problem!
When a user uses commands, the server gets stuck in an infinite loop!

(oh wait, did you already know that? I really thought I had a breakthough  sad )

That was our working theory, yes.  big_smile

But it encourages me to see the same people discovering similar things separately.

So basically...it was a victory in its own way.  smile

Thanks  big_smile  I figured it out by trying commands (Sorry, I know I wasn't supposed to do that, but the servers all better now), realizig that I, and everyone else, couldn't chat, so the "server message bouncer" part of the server was disabled.


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#182 2012-10-08 18:56:53

ohaiderstudios
Scratcher
Registered: 2010-10-31
Posts: 100+

Re: Little Server That Can (Chat.PY, Bit Art, etc.)

Magnie wrote:

I'll revert next week on Tuesday.

Thank you sooooo much Magnie! We all appreciate the trouble you go through so we can waste time chatting with people we've never met!

No but seriously, thanks!  big_smile


Fork Clamor on GitHub!

Offline

 

#183 2012-10-08 19:03:05

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Little Server That Can (Chat.PY, Bit Art, etc.)

ohaiderstudios wrote:

Magnie wrote:

I'll revert next week on Tuesday.

Thank you sooooo much Magnie! We all appreciate the trouble you go through so we can waste time chatting with people we've never met!

No but seriously, thanks!  big_smile

... Anyway, tuesday is tommorow!


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#184 2012-10-08 19:33:28

ohaiderstudios
Scratcher
Registered: 2010-10-31
Posts: 100+

Re: Little Server That Can (Chat.PY, Bit Art, etc.)

Molybdenum wrote:

ohaiderstudios wrote:

Magnie wrote:

I'll revert next week on Tuesday.

Thank you sooooo much Magnie! We all appreciate the trouble you go through so we can waste time chatting with people we've never met!

No but seriously, thanks!  big_smile

... Anyway, tuesday is tommorow!

Yes...yes it is. Don't let anyone tell you differently.


Fork Clamor on GitHub!

Offline

 

#185 2012-10-08 22:38:53

zippynk
Scratcher
Registered: 2011-07-23
Posts: 500+

Re: Little Server That Can (Chat.PY, Bit Art, etc.)

Magnie wrote:

I'll revert next week on Tuesday.

As ohaider also said, Thank you!

Last edited by zippynk (2012-10-08 22:39:05)


https://dl.dropbox.com/u/60598636/trifocal_interlude_soundcloud_button.png

Offline

 

#186 2012-10-09 18:36:08

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Little Server That Can (Chat.PY, Bit Art, etc.)

Its tuesday!

And its still broken. You there Magnie?

Details: Everything worked for a little while, then everything broke.


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#187 2012-10-10 01:54:05

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Little Server That Can (Chat.PY, Bit Art, etc.)

Do you have any details other than that?  hmm

I reverted back, though I think I've given up on trying to auto-disconnect users for now and replaced the (probable) broken loop with a part channel instead. I haven't tested it though.

Offline

 

#188 2012-10-10 14:17:42

playzooki
Scratcher
Registered: 2012-02-07
Posts: 100+

Re: Little Server That Can (Chat.PY, Bit Art, etc.)

Magnie wrote:

Do you have any details other than that?  hmm

I reverted back, though I think I've given up on trying to auto-disconnect users for now and replaced the (probable) broken loop with a part channel instead. I haven't tested it though.

I will! EDIT (Yes! Another edit!): Not working.

Last edited by playzooki (2012-10-10 14:20:02)


I iz a sig. So there. CLICK ME ITS SO IMPORTANT!!!!

Offline

 

#189 2012-10-10 19:56:35

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Little Server That Can (Chat.PY, Bit Art, etc.)

Magnie wrote:

Do you have any details other than that?  hmm

I reverted back, though I think I've given up on trying to auto-disconnect users for now and replaced the (probable) broken loop with a part channel instead. I haven't tested it though.

Chatted with some test posts, MolyBot worked, /list, and it worked (I was only one in scratch), /list-all, worked (I was only one online), tried to chat again, nothing worked. Rejoined, didn't work.


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#190 2012-10-11 13:12:04

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Little Server That Can (Chat.PY, Bit Art, etc.)

I think I'm going to recode server.py with the greenlet module instead of full blown threads. Though I'll need to learn a little more about them before I do it.

Offline

 

#191 2012-10-11 14:13:28

playzooki
Scratcher
Registered: 2012-02-07
Posts: 100+

Re: Little Server That Can (Chat.PY, Bit Art, etc.)

Magnie wrote:

I think I'm going to recode server.py with the greenlet module instead of full blown threads. Though I'll need to learn a little more about them before I do it.

Yay.


I iz a sig. So there. CLICK ME ITS SO IMPORTANT!!!!

Offline

 

#192 2012-10-11 15:22:00

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: Little Server That Can (Chat.PY, Bit Art, etc.)

Magnie wrote:

I think I'm going to recode server.py with the greenlet module instead of full blown threads. Though I'll need to learn a little more about them before I do it.

Use Stackless Python!  smile


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#193 2012-10-11 16:20:39

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Little Server That Can (Chat.PY, Bit Art, etc.)

blob8108 wrote:

Magnie wrote:

I think I'm going to recode server.py with the greenlet module instead of full blown threads. Though I'll need to learn a little more about them before I do it.

Use Stackless Python!  smile

I'm tempted to, but my host doesn't have it.  hmm

Offline

 

#194 2012-10-11 16:31:01

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: Little Server That Can (Chat.PY, Bit Art, etc.)

Magnie wrote:

blob8108 wrote:

Magnie wrote:

I think I'm going to recode server.py with the greenlet module instead of full blown threads. Though I'll need to learn a little more about them before I do it.

Use Stackless Python!  smile

I'm tempted to, but my host doesn't have it.  hmm

You can't install it? Meh.  hmm

Oh, and have you tried Twisted yet?  tongue


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#195 2012-10-11 16:32:36

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Little Server That Can (Chat.PY, Bit Art, etc.)

blob8108 wrote:

Magnie wrote:

blob8108 wrote:


Use Stackless Python!  smile

I'm tempted to, but my host doesn't have it.  hmm

You can't install it? Meh.  hmm

Oh, and have you tried Twisted yet?  tongue

No, sorry for being so stubborn.  tongue

Offline

 

#196 2012-10-11 17:16:24

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Little Server That Can (Chat.PY, Bit Art, etc.)

Found a bug: When a user leaves, the "X has left room Y" is not broadcast. So when a user chats after a user leaves and the leave message is not displayed, his message is overode with the leave message.


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#197 2012-10-12 13:17:15

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: Little Server That Can (Chat.PY, Bit Art, etc.)

Magnie wrote:

blob8108 wrote:

Oh, and have you tried Twisted yet?  tongue

No, sorry for being so stubborn.  tongue

Oh. How disappointing.  tongue


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#198 2012-10-13 14:17:29

ohaiderstudios
Scratcher
Registered: 2010-10-31
Posts: 100+

Re: Little Server That Can (Chat.PY, Bit Art, etc.)

Chat.PY doesn't seem so "reverted" to me...


Fork Clamor on GitHub!

Offline

 

#199 2012-10-13 14:20:42

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Little Server That Can (Chat.PY, Bit Art, etc.)

ohaiderstudios wrote:

Chat.PY doesn't seem so "reverted" to me...

No idea what's going on. But with greenlet's timeout features, client commands will be resilient hopefully.

Offline

 

#200 2012-10-13 15:29:02

ohaiderstudios
Scratcher
Registered: 2010-10-31
Posts: 100+

Re: Little Server That Can (Chat.PY, Bit Art, etc.)

Magnie wrote:

ohaiderstudios wrote:

Chat.PY doesn't seem so "reverted" to me...

No idea what's going on. But with greenlet's timeout features, client commands will be resilient hopefully.

I thought the plan was to revert to 2.0?

If not, sorry for the accusation, but nothing's fixed.


Fork Clamor on GitHub!

Offline

 

Board footer