Rocket Database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Solomoriah
    Incorrigible Kit Basher
    • Jul 2006
    • 1940
    • USA

    #46
    Okay, just tested it, and it does NOT work correctly when installed fresh.

    I suspect I'll need to regenerate the setup program again. Sorry for the hassle.
    NAR # 115523
    Once upon a better day... SAM #0076
    My site: http://rocketry.gonnerman.org

    Comment

    • Daniel Runyon
      Cosmic American
      • Jan 2007
      • 350
      • Deep South

      #47
      Originally posted by Solomoriah
      Sorry for the hassle.
      No worries, I have no problem helping you to figure this stuff out... you mentioned that it's your first attempt at programming and I would assume that it's a fairly complicated undertaking!
      Daniel Runyon Net

      Comment

      • CPMcGraw
        In Memoriam
        • Mar 2005
        • 5357
        • Mobile, Alabama

        #48
        Originally posted by Solomoriah
        Okay, just tested it, and it does NOT work correctly when installed fresh.

        I suspect I'll need to regenerate the setup program again. Sorry for the hassle.
        No hassle, like DR said, I know it's fresh code. Just keep plugging at it.
        Craig McGraw

        BARCLONE Rocketry -- http://barclone.rocketshoppe.com
        BARCLONE Blogsite -- http://barclone.wordpress.com
        BARCLONE Forum -- BARCLONE Forum

        BARs helping BARs

        SAM 0044
        AMA 352635

        Comment

        • Solomoriah
          Incorrigible Kit Basher
          • Jul 2006
          • 1940
          • USA

          #49
          Originally posted by Daniel Runyon
          No worries, I have no problem helping you to figure this stuff out... you mentioned that it's your first attempt at programming and I would assume that it's a fairly complicated undertaking!
          Gah, no, been programming since 1984. First attempt at building an NSIS installer of a Python program "frozen" with Py2Exe.
          NAR # 115523
          Once upon a better day... SAM #0076
          My site: http://rocketry.gonnerman.org

          Comment

          • Solomoriah
            Incorrigible Kit Basher
            • Jul 2006
            • 1940
            • USA

            #50
            Okay, if any of you are still hanging with me... I just uploaded a new RocketDatabaseSetup.exe which should (if the stars are aligned just so) install and run correctly.

            http://rocketry.newcenturycomputers.net/database.html

            Thanks in advance to anyone who tests it.
            NAR # 115523
            Once upon a better day... SAM #0076
            My site: http://rocketry.gonnerman.org

            Comment

            • Daniel Runyon
              Cosmic American
              • Jan 2007
              • 350
              • Deep South

              #51
              Sorry dude...

              An Error Has Occured:

              Traceback (most recent call last):
              File "rocketlib.pyc", line 881, in handle_request
              File "rocketlib.pyc", line 768, in getpage
              File "rocketlib.pyc", line 69, in index
              OperationalError: no such table: rockets

              I know it's gotta be frustrating.

              When you get this one completed, I was thinking you might want
              to have a go at making us a cockpit/canopy template generator
              with parameters for each body tube size... many of us need that
              BAD! I'd even pay for it if it were pretty reasonable. You'd
              probably sell TONS of em at $10 (come on, we're already nickle
              and dimed to death... don't think I'm being a cheapskate, but
              everybody wants at least $20 for an app that does the simplest
              things).
              Daniel Runyon Net

              Comment

              • CPMcGraw
                In Memoriam
                • Mar 2005
                • 5357
                • Mobile, Alabama

                #52
                Here's what my computer tells me:


                D:\Rocket Database 2>dir
                Volume in drive D is Applications
                Volume Serial Number is B445-EEE9


                Directory of D:\Rocket Database 2

                05/07/2007 09:46 PM <DIR> .
                05/07/2007 09:46 PM <DIR> ..
                09/19/2006 09:52 AM 77,824 bz2.pyd
                05/07/2007 08:46 PM 1,796,593 library.zip
                02/21/2003 05:42 AM 348,160 MSVCR71.dll
                09/19/2006 09:52 AM 2,109,440 python25.dll
                05/07/2007 09:46 PM 65 Rocket Database.url
                05/07/2007 09:46 PM 13,312 rocketry.db
                05/07/2007 08:46 PM 15,872 rockets.exe
                05/07/2007 10:52 AM 86,981 rockets.zip
                09/19/2006 09:52 AM 7,680 select.pyd
                09/19/2006 09:52 AM 475,136 unicodedata.pyd
                05/07/2007 09:46 PM 48,163 uninst.exe
                09/19/2006 09:52 AM 4,608 w9xpopen.exe
                01/20/2007 08:49 AM 4,608 _rlsetup.pyd
                09/19/2006 09:52 AM 53,248 _socket.pyd
                05/01/2007 08:42 PM 299,008 _sqlite.pyd
                09/19/2006 09:52 AM 655,360 _ssl.pyd
                16 File(s) 5,996,058 bytes
                2 Dir(s) 15,639,228,416 bytes free


                D:\Rocket Database 2>rockets
                New Century Rocketry
                Rocket Database Server


                Server Initialized, Port 8085

                (If you forget to click Exit in the web interface,
                and need to close this window, press CTRL-BREAK.)
                Traceback (most recent call last):
                File "rockets.py", line 6, in <module>
                File "rocketlib.pyc", line 930, in run
                File "webbrowser.pyc", line 55, in open
                File "webbrowser.pyc", line 505, in open
                WindowsError: [Error 22] Application not found: 'http://127.0.0.1:8085/'


                D:\Rocket Database 2>
                Hope this screen dump can help you.
                Craig McGraw

                BARCLONE Rocketry -- http://barclone.rocketshoppe.com
                BARCLONE Blogsite -- http://barclone.wordpress.com
                BARCLONE Forum -- BARCLONE Forum

                BARs helping BARs

                SAM 0044
                AMA 352635

                Comment

                • Solomoriah
                  Incorrigible Kit Basher
                  • Jul 2006
                  • 1940
                  • USA

                  #53
                  Originally posted by Daniel Runyon
                  Sorry dude...

                  An Error Has Occured:

                  Traceback (most recent call last):
                  File "rocketlib.pyc", line 881, in handle_request
                  File "rocketlib.pyc", line 768, in getpage
                  File "rocketlib.pyc", line 69, in index
                  OperationalError: no such table: rockets

                  I know it's gotta be frustrating.
                  The "rocketry.db" file in your Program Files/New Century Rocketry/Rocket Database folder needs to be removed. It's a leftover from the buggy version, and it's effectively empty.

                  I will likely add a sanity check to the next version to handle this problem automatically.
                  NAR # 115523
                  Once upon a better day... SAM #0076
                  My site: http://rocketry.gonnerman.org

                  Comment

                  • Daniel Runyon
                    Cosmic American
                    • Jan 2007
                    • 350
                    • Deep South

                    #54
                    Uninstalled, deleted the folder from Program Files, reinstalled and WORKS!
                    Daniel Runyon Net

                    Comment

                    • Solomoriah
                      Incorrigible Kit Basher
                      • Jul 2006
                      • 1940
                      • USA

                      #55
                      Originally posted by CPMcGraw
                      Here's what my computer tells me:
                      ... hack ...
                      WindowsError: [Error 22] Application not found: 'http://127.0.0.1:8085/'
                      For some reason, your computer doesn't know how to resolve web addresses through the "run" interface. That is, if you go to Start, Run, and enter a URL, your system can't resolve it. It should be able to do so; the only reason I can think of off the top of my head is that a spyware application (or a somewhat overzealous spyware remover) has mangled the appropriate registry entries (or removed them).

                      The Python webbrowser module uses the "preferred method" of starting the browser on any given platform. For Windows, using the standard "default browser" feature in the registry is the "preferred method."

                      While that is technically a system bug, not a program bug, I'll most likely add a handler for this error to the next version. Figuring out what to do if the "preferred method" fails may be a bit tricky...

                      The easiest way for you to resolve it is to get your preferred browser to re-register itself; for Firefox, reinstalling over the current install should do the trick. In Internet Explorer, the Restore Web Settings option (or whatever they call it now) will fix it.
                      NAR # 115523
                      Once upon a better day... SAM #0076
                      My site: http://rocketry.gonnerman.org

                      Comment

                      • Solomoriah
                        Incorrigible Kit Basher
                        • Jul 2006
                        • 1940
                        • USA

                        #56
                        Originally posted by Daniel Runyon
                        Uninstalled, deleted the folder from Program Files, reinstalled and WORKS!
                        Good. Remember to back up the "rocketry.db" file if you put significant work into it.
                        NAR # 115523
                        Once upon a better day... SAM #0076
                        My site: http://rocketry.gonnerman.org

                        Comment

                        • Eagle3
                          Administrator
                          • Jun 2004
                          • 1424
                          • Manchester, MI

                          #57
                          I was getting ready to add a bunch of info to my Rocket DB when I discovered something that may not be a real problem, but it sure would be nice to change.

                          I was entering the quantity of motors I have and adding one that aren't in the original build when I noticed the DB does not save the quantities. Is there any chance to to get that changed? It would be a great tool for letting me know what's in my motor boxes prior to a launch date. Thanks!
                          Buzz
                          NAR 38803 L3
                          S.A.M. 0007

                          Comment

                          • Solomoriah
                            Incorrigible Kit Basher
                            • Jul 2006
                            • 1940
                            • USA

                            #58
                            Not sure what you mean. That's what I created the program for... to keep track of my engine inventory and compare it to the rockets I have in my fleet.

                            When you enter a number in any of the quantity fields, and then leave the field (tab out, click another field, etc.) the quantity field you just left should flash yellow, signifying that the quantity has been saved. Are you not seeing that?

                            What web browser are you using? Have you turned off Javascript, or restricted it somehow beyond the usual security limits?
                            NAR # 115523
                            Once upon a better day... SAM #0076
                            My site: http://rocketry.gonnerman.org

                            Comment

                            • Eagle3
                              Administrator
                              • Jun 2004
                              • 1424
                              • Manchester, MI

                              #59
                              Well, it worked fine on my system here at work. I'll have to see what the issue is with the laptop at home. Thanks, great tool!
                              Buzz
                              NAR 38803 L3
                              S.A.M. 0007

                              Comment

                              • Solomoriah
                                Incorrigible Kit Basher
                                • Jul 2006
                                • 1940
                                • USA

                                #60
                                Okay, I have finally updated the program. This version is SUPPOSED to automatically upgrade the database format, but if you don't make a backup copy of your existing database, I'm NOT responsible!

                                Having said that, if you are interested, get it here:

                                http://rocketry.newcenturycomputers.net/database.html

                                I'm still not adding it to my front page. I await a few reports on its functionality first.
                                NAR # 115523
                                Once upon a better day... SAM #0076
                                My site: http://rocketry.gonnerman.org

                                Comment

                                Working...