Staredit Network

Staredit Network -> Computers and Technical -> PyForums Production Thread
Report, edit, etc...Posted by Demaris on 2006-02-03 at 01:40:02

Add me!


User: Demaris
Pass: Give me one. (valaraug@gmail.com)
Report, edit, etc...Posted by DT_Battlekruser on 2006-02-03 at 01:48:06
QUOTE(DT_Battlekruser @ Dec 31 2005, 10:22 AM)
Registration is active.  Click the link in my sig or this first page and then follow the "Register" link.
[right][snapback]394914[/snapback][/right]


Can you read?
Report, edit, etc...Posted by Demaris on 2006-02-03 at 01:51:32

I try to register and:
Critical Error '2': Invalid call or function. The board administrator may need to link to /index.py?act=idx rather than just /index.py.
Report, edit, etc...Posted by DT_Battlekruser on 2006-02-03 at 02:01:34
Fixed (I hope).
Report, edit, etc...Posted by Demaris on 2006-02-03 at 02:03:36

This again:
Critical Error '2': Invalid call or function. The board administrator may need to link to /index.py?act=idx rather than just /index.py.
Report, edit, etc...Posted by Doodle77(MM) on 2006-05-21 at 19:16:36
QUOTE
/home/sites/homework/www/public_html/pyforums/index.py
  43 #BE SEEN!!!
  44
  45 newdata = get.newdata()
  46 new_pid=int(newdata[0])
  47 new_tid=int(newdata[1])
newdata undefined, get = <fetch.Get instance>, get.newdata = <bound method Get.newdata of <fetch.Get instance>>

/home/sites/homework/www/public_html/pyforums/fetch.py in newdata(self=<fetch.Get instance>)
1007        except IOError:
1008            #error.prompt(6)
1009            trr = ""
1010
1011    def topic(self,id):
trr undefined

ImportError: No module named ext.reader.Sax
      args = ('No module named ext.reader.Sax',)

That from the main page :ouch:

Also, random python question, how do you include files (like include in PHP).
Report, edit, etc...Posted by DT_Battlekruser on 2006-05-23 at 18:52:10
Not sure what include does...

They moved servers so PyXML is missing from the basic drivers. Whenever I get off my lazy ass, I will upload a manual install copy and it will work again.
Report, edit, etc...Posted by DT_Battlekruser on 2006-07-08 at 01:50:52
Updated!

Details: http://homework.f2o.org/pyforums/index.py?...=3&p=1&s=0&#p77
Report, edit, etc...Posted by Red2Blue on 2006-07-08 at 03:04:50
Hey, you are using green... poo...
Report, edit, etc...Posted by Xx.Doom.xX on 2006-07-08 at 13:10:56
I'll join DT smile.gif

btw why r u all wanting him to give u a pass? Is the registration not work?

And does this mean your shuting down yur other forums, or keeping these to up happy.gif

*i joined other 2
Report, edit, etc...Posted by DT_Battlekruser on 2006-07-08 at 15:28:36
The IPB forums have been abandoned and broken for months and months now. Registration works.
Report, edit, etc...Posted by Doodle77(MM) on 2006-11-04 at 11:44:46
I feel like Miniforums has gotten ahead of you tongue.gif
Not to mention its probably about a ninth of the size of PyForums.
Also, instead of using weird PyCodes, you can use an XML escape function (like htmlspecialchars in PHP), which is much simpler.
Report, edit, etc...Posted by DT_Battlekruser on 2006-11-07 at 22:15:02
Hmm, maybe I should actually work in Pyforums tongue.gif
Report, edit, etc...Posted by DT_Battlekruser on 2006-11-24 at 01:09:56
Liek zomgupdate! Go over to the top of the third topic to read more about the update. More may be soon forthcoming.

And if anyone wants to find me a way around the expanded ASCII bug, lemme know smile.gif
Report, edit, etc...Posted by Centreri on 2006-11-30 at 17:10:41
I love it. Before doing the minor stuff, to the index and the forum index. Finish the base functions.
Report, edit, etc...Posted by DT_Battlekruser on 2006-11-30 at 21:58:28
I'm considering doing a UCP first, since adding forum and board indexes would require a new set of data files (f*.pdb) and new set of referencing, whereas the m*.pdb files actually exist.

Eventually, though tongue.gif I wish that server were a tad more reliable...
Report, edit, etc...Posted by adam2new on 2006-12-01 at 13:27:54
QUOTE(DT_Battlekruser @ Oct 9 2005, 10:41 AM)
According to my server logs, there was a memory buffer overload which has nothing to do with the code itself..[right][snapback]330070[/snapback][/right]


Be very careful: Python is not extremely fast (Slower than the C family), so having many requests on it will crash the script and/or the server (well, I can guess).

My favorite part of Python, I guess is PyGame at http://www.pygame.org/

MAJOR REPLY EDIT ADD:
A error found by someone else I can comment on:
CODE
TypeError: cannot concatenate 'str' and 'int' objects
    args = ("cannot concatenate 'str' and 'int' objects",)

To put non-string items in a string, you can eiter convert them all to strings, or use the % for something I forgot the name for.
For example (variables or actual items--doesn't matter):
CODE
fullstring = astringhere + str(anumberhere)
"Hello %s, your number is %d" % (theusername, theusernumber)
Report, edit, etc...Posted by DT_Battlekruser on 2006-12-01 at 18:49:44
I know what a concatenation error is, want to tell me where it happened?

QUOTE
Be very careful: Python is not extremely fast (Slower than the C family), so having many requests on it will crash the script and/or the server (well, I can guess).


It has nothing to do with running Python scripts, that server will run out of RAM totally independently of everything else. You get what you pay for, and it's free.
Report, edit, etc...Posted by adam2new on 2006-12-04 at 10:50:09
QUOTE(DT_Battlekruser @ Dec 1 2006, 04:49 PM)
I know what a concatenation error is, want to tell me where it happened?
It has nothing to do with running Python scripts, that server will run out of RAM totally independently of everything else.  You get what you pay for, and it's free.

[right][snapback]597995[/snapback][/right]

Oh... sad.gif It can possibly be the way Python uses the memory, or something else, of course.

Good luck.

P.S. That sample someone else found, it is way before my first reply on this (I think).
Report, edit, etc...Posted by DT_Battlekruser on 2006-12-04 at 18:53:50
QUOTE(adam2new @ Dec 4 2006, 07:50 AM)
Oh...  sad.gif It can possibly be the way Python uses the memory, or something else, of course.

Good luck.

P.S. That sample someone else found, it is way before my first reply on this (I think).
[right][snapback]599158[/snapback][/right]


It's just a pile of crap server with more sites on it than it can handle.
Next Page (3)