Campus-FB-Logo

Problem with scripts running in X9

Home of the Scrapbook Campus Forums Let’s talk PSP stuff Problem with scripts running in X9

Viewing 30 posts - 1 through 30 (of 45 total)
  • Author
    Posts
  • #11493
    Linda Hitt
    Participant
      • 18
      • Rookie

      I just upgraded to X9 and am having a problem getting scripts to work.  I have loaded all the patches.  I loaded my scripts to either the trusted or restricted folders (depending on instructions) by going to Documents – Corel PaintShop Pro – 19.0.  I get the same error on each script I have tried.  I am attaching a screenshot.  Is there something else I need to adjust?

      Thanks,

      Linda

       

      #11494
      Cassel
      Keymaster
        • 2522
        • Superfan

        Hi LInda,

        I cannot zoom in far enough but is it possible that the error message mentions the Random module?

        #11498
        Linda Hitt
        Participant
          • 18
          • Rookie

          I cropped the pic now so maybe that will help.  It says there is no module named random.

          #11499
          Cassel
          Keymaster
            • 2522
            • Superfan

            That is what i suspected. See, when they released X9, initially, they wanted to “clean up” the code and they removed the Python modules, probably thinking they were not needed for the general users, but they quickly realized that those modules were needed, even to run the scripts that came with PSP, so they added them to the first update.

            Go to this page, and download the updates 1 to 3. That should fix the problem. Make sure you download all the updates, and save them to your computer, and install them one by one. Even though, downloading the whole PSP version might do the same, it is always a good idea to keep all the updates/patches for the future!

            Do that and let me know if it fixes the problem as i expect.

            #11506
            Linda Hitt
            Participant
              • 18
              • Rookie

              I read all the prior message in this folder about X9 and had already tried all the updates, however, they all say that no update is needed. I restarted my computer and tried them all again and got the same message.

              #11507
              Cassel
              Keymaster
                • 2522
                • Superfan

                What is the actual version number that you have? The fully updated version shows 19.1.0.29

                #11509
                Linda Hitt
                Participant
                  • 18
                  • Rookie

                  Yes that is the version number.  Does it matter if I am using 32 or 64 bit?

                  #11510
                  Cassel
                  Keymaster
                    • 2522
                    • Superfan

                    It should not matter. Let  me check around. You are the second person going through all the upgrades and still getting the same error. I’ll get back to you.

                    #11511
                    Cassel
                    Keymaster
                      • 2522
                      • Superfan

                      Linda, i heard that sometimes, PSP just seems to “forget” to look for the Python modules that are actually there.

                      https://support.corel.com/hc/en-us/articles/215917658-Resetting-PaintShop-Pro-X6-To-Default-Configuration

                      Check out the instructions here to reset the workspace. Even if it is explaining about X6, it works the same with X9. Make sure you save your workspace, especially if you had any customization you don’t want to lose.

                      #11512
                      Linda Hitt
                      Participant
                        • 18
                        • Rookie

                        I did the reset but scripts are still giving the same error as before.

                        #11513
                        Cassel
                        Keymaster
                          • 2522
                          • Superfan

                          Hum… I have no idea at this point.

                          I’ll check further to see if there is another solution (aside from reinstalling X9, which is often a PITA).

                          #11525
                          AprilDawn
                          Participant
                            • 858
                            • Superfan

                            Hello Linda and Cassel… just to say that I am having trouble with scripts in the upgrade to PSPX9 that I purchased yesterday… I can’t understand why Corel sells something that is not working properly..

                            I have captured a screenshot of the error message I get when I try to run them.. hopefully they will fix this issue….

                             

                            #11529
                            Linda Hitt
                            Participant
                              • 18
                              • Rookie

                              Thank you for trying to help Cassel.  I decided to uninstall and reinstall, hoping that it would fix the problem but no luck there either.  I will just continue to use the older version until I can get it fixed.

                               

                               

                              #11530
                              Cassel
                              Keymaster
                                • 2522
                                • Superfan

                                Linda, can you give me a list of some of the scripts that give you that error?

                                #11532
                                Cassel
                                Keymaster
                                  • 2522
                                  • Superfan

                                  Linda and Dawn, could you uninstall your PSPX9 and download the Ultimate version on this page:

                                  https://www.paintshoppro.com/en/

                                  It should have the latest version, without having to add the updates.

                                  Make sure you download the ULTIMATE version, even if you didn’t buy it. The PSP version itself is the same, but you would just not be able to unlock the extra content if you didn’t purchase the ultimate version.

                                  If your workspace had customizations, you might want to save your workspace and save it somewhere else than the default folders for X9, in case they get overwritten (better safe than sorry).

                                  Then, try the scripts that have caused that error, and let me know. Tech support is on hand for now.

                                  #11538
                                  Linda Hitt
                                  Participant
                                    • 18
                                    • Rookie

                                    Hi Cassel,

                                    No luck with that either.  I downloaded the Ultimate trial and I still get the same error on all my scripts.  I have tried several of your scripts (scrabble tiles, calendar maker, and preview maker just to name a few) as well as a few that I recorded myself to add shadows.

                                     

                                    #11539
                                    Cassel
                                    Keymaster
                                      • 2522
                                      • Superfan

                                      Thanks for giving this a try. Unfortunately, at this point, we don’t have anything else to try.

                                      Can you tell me what Windows version you are using? We are trying to figure out a common denominator.

                                      #11541
                                      Linda Hitt
                                      Participant
                                        • 18
                                        • Rookie

                                        Windows 10 and I seem to have had all kinds of problems with PSP since I upgraded to this version.  I was running X8 and after the update to Windows 10 it started “crashing” all the time….especially when using the flood fill tool. I had a hard time completing anything without it crashing at least once.  I figured since they came out with X9 I would update and my problems would be gone….

                                        #11542
                                        Cassel
                                        Keymaster
                                          • 2522
                                          • Superfan

                                          Thanks Linda.

                                          I am trying to figure out why some people using the same version i am, are experiencing issues i don’t have.

                                          Other scripts should work fine, if they are not using the Random. At least.

                                          #11559
                                          Cassel
                                          Keymaster
                                            • 2522
                                            • Superfan

                                            Eureka!

                                            If you are experiencing issues where you get the error message referring to the Random module on line 3, it is because your PSPX9 installation is missing some modules. You can install them yourself in seconds.

                                            Download the package here:  https://dl.dropboxusercontent.com/u/54692421/PaintShop/X9/PSPX9_PythonPackage.exe

                                            Install it, and see your X9 work!

                                            #11561
                                            Linda Hitt
                                            Participant
                                              • 18
                                              • Rookie

                                              Oh Cassel…..thank you so much….I knew you would figure it out!!

                                              Now I am getting an error when I close PSP but it doesn’t seem to effect anything….here is what it looks like.

                                               

                                              #11562
                                              Cassel
                                              Keymaster
                                                • 2522
                                                • Superfan

                                                That has also been reported by others who had this solution. As you said, it does not affect the running of the scripts or X9 itself since you get it when closing it. I’ll report that as i suspect that is at a level i never have accessed. Possibly in the programming of the PSP itself.

                                                #11565
                                                Sheila Hogg
                                                Participant
                                                  • 468
                                                  • Enthusiast

                                                  I get this and have done for ages when I shut down X8 and now when I shut down X9. However, as Cassel says it doesn’t effect the running of anything but if you close PSP and open up another window to look at something else the ‘bonging’ from this pop up error message can make you jump, it has me a few times.

                                                   

                                                  #11590
                                                  AprilDawn
                                                  Participant
                                                    • 858
                                                    • Superfan

                                                    Thank you Cassel for all your help in fixing the script issue in X9. I installed the python package and the scripts are working now. also I have had that run time error message but I do not remember whether it was x9 or x8, however I only saw it one time.

                                                    Once again Thank You Cassel . I will now settle in to working with X9 and continue  my learning journey.

                                                    #11633
                                                    Barbara Ruddick
                                                    Participant
                                                      • 10
                                                      • Rookie

                                                      Hi Cassel….I downloaded and installed this patch and it works fine, but since I have done that my PSP X9 freezes when I got to use the text tool. If I am using the same font as previously, it is fine, but if I want to change fonts, that is when it freezes. Any solutions for this? thank you. By the way, I have so many of your scripts and I love them. so handy. hugs, Barbara

                                                      #11634
                                                      Cassel
                                                      Keymaster
                                                        • 2522
                                                        • Superfan

                                                        Actually, Barbara, i am not aware of such issue affecting the Text tool. When tools and commands misbehave, there is always the option of resetting to default. The instructions are in a link earlier in this thread. Make sure you save your workspace first, if you have any customizations as they likely will be lost. It is not a fun process as you have to manually reset your preferences and such, but it has been known to fix issues when commands/tools seem to get “corrupted”. I don’t think it would affect the Python modules, but worse comes to worse, you know how to fix that issue.

                                                        Keep me updated.

                                                        #11642
                                                        Barbara Ruddick
                                                        Participant
                                                          • 10
                                                          • Rookie

                                                          Cassel..I went to File>workspace>default and it changed to the default. Then I put my workspace back on and it did the same thing when I went to change the font. Did I reset the default correctly? Its only if I want to change the font. hugs Barbara

                                                          #11645
                                                          Cassel
                                                          Keymaster
                                                            • 2522
                                                            • Superfan

                                                            No, that just changes the workspace. Check the instructions in here:

                                                            https://support.corel.com/hc/en-us/articles/215917658-Resetting-PaintShop-Pro-X6-To-Default-Configuration

                                                            even if it is said to be for X6, it work the same for X9.

                                                            #11646
                                                            Barbara Ruddick
                                                            Participant
                                                              • 10
                                                              • Rookie

                                                              Cassel…I went back to default the proper way now. I always thought that changing it to default was resetting it…now I know differently and touch wood….IT IS WORKING NOW> thanks very much. hugs, Barbara

                                                              #11670
                                                              Barbara Ruddick
                                                              Participant
                                                                • 10
                                                                • Rookie

                                                                Cassel…the problem with my PSP X9 freezing when using text is happening again. I have taken it down to the default and even tried to write text with it like that and it does not work. the font line on the pull down menu for choice of fonts, starts to shake like a strobe light and nothing will work. I will either have to use my psp X5 because I need it right now for making cards, or find a solution. Perhaps as a last resort I could uninstall it and then re-install it without the patch? Is that the right solution? But I am sure it will ask me for updates and then it might be installed again. Or another solution: is it possible to uninstall the patch? This happened at a very bad time of year and its stressful for me. Do you have an ideas for me? Thanks so much. Barbara

                                                              Viewing 30 posts - 1 through 30 (of 45 total)
                                                              • The forum ‘PSP stuff’ is closed to new topics and replies.