error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • markscala@gmail.com

    #1

    error

    Anyone know what this error means?

    C:/Python24/pythonw.exe -u "C:/Python24/MyProjects/HeadsUp/cls_Bot.py"
    File "C:/Python24/MyProjects/HeadsUp/cls_Bot.py", line 10246
    elif handname == 'straightflush' :
    SystemError: com_backpatch: offset too large

    thanks

  • Diez B. Roggisch

    #2
    Re: error

    markscala@gmail .com wrote:
    [color=blue]
    > Anyone know what this error means?
    >
    > C:/Python24/pythonw.exe -u "C:/Python24/MyProjects/HeadsUp/cls_Bot.py"
    > File "C:/Python24/MyProjects/HeadsUp/cls_Bot.py", line 10246
    > elif handname == 'straightflush' :
    > SystemError: com_backpatch: offset too large[/color]

    Google dead today?



    Given the linenumber is over 10000, I presume that is your problem. I guess
    you'd have to read upon modules... :)

    Diez

    Comment

    • markscala@gmail.com

      #3
      Re: error

      thanks for the heads up. I read other posts on this error, but it's
      unclear to me whether the following will be a problem as well. Suppose
      I break up my very long module into smaller modules and import them
      into another module 'main'. Will I get the same error running main if
      the total number of lines in the smaller modules is > 10k?
      thanks.

      Comment

      • Diez B. Roggisch

        #4
        Re: error

        markscala@gmail .com wrote:
        [color=blue]
        > thanks for the heads up. I read other posts on this error, but it's
        > unclear to me whether the following will be a problem as well. Suppose
        > I break up my very long module into smaller modules and import them
        > into another module 'main'. Will I get the same error running main if
        > the total number of lines in the smaller modules is > 10k?[/color]

        No. There exist quite a few projects out there with several 10K lines of
        code.



        Diez

        Comment

        • alisonken1

          #5
          Re: error

          > Will I get the same error running main if
          the total number of lines in the smaller modules is > 10k?

          Not sure if this would solve your problem, but I noticed the 10K
          filesize.

          I don't know about other programmers, but I find it >much< easier to
          keep track of stuff if I keep the individual file sizes less than 10K
          in size.

          Another thought would be to create a module with several submodules of
          grouped functionality (similar to the xml module where submodules
          dom/parsers/sax are) - this way it's easier to keep track of the
          differences/problems.

          Comment

          • markscala@gmail.com

            #6
            Re: error

            thanks for the help.
            cheers.

            Comment

            Working...