Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^5: pp with gui (debug without --gui)

by marto (Chancellor)
on Mar 31, 2013 at 18:39 UTC ( #1026375=note: print w/ replies, xml ) Need Help??


in reply to Re^4: pp with gui (debug without --gui)
in thread pp with gui

I don't think you understand what the -gui option does. Please read the pp documentation. If you have a run time error you need to address it, if you want advice you should tell us what it says. How do I post a question effectively?.


Comment on Re^5: pp with gui (debug without --gui)
Download Code
Re^6: pp with gui (debug without --gui)
by mkmal (Novice) on Apr 01, 2013 at 03:09 UTC
    Here's what happens at run-time when I run without --gui.

    gui1
    Could not access registry "HKLM\Software\ActiveState\ActiveTcl"
    Could not access registry "Software\ActiveState\ActiveTcl\8.5.13"
    Failed to load Tcl dll! at C:/Perl/lib/DynaLoader.pm line 214.
    Unable to initialize Tcl at C:/Perl/lib/DynaLoader.pm line 214.
    Compilation failed in require at Tkx.pm line 215.
    BEGIN failed--compilation aborted at Tkx.pm line 215.
    Compilation failed in require at script/gui1.pl line 1.
    BEGIN failed--compilation aborted at script/gui1.pl line 1.

      So, did you even go so far as to search google using these messages, or even the first one? You reported this problem two weeks ago, various suggestions and diagnostic avenues have been suggested, most of which you seem to have ignored. Your code provided is essentially a copy/paste from this SO post, with an additional button on the GUI, which includes one solution (already suggested here). If explicitly linking a library ensure they actually exist at the path you provide.

      If you want to use tool to successfully achieve a goal you need to learn how they work and how to use them. If people make suggestions it's usually not for their own good. If someone suggests various things to try, try them all before replying

      The example works properly with the pp call provided under Windows 7 with Strawberry Perl.

        I explained in another post why I haven't had a lot of time to work with this. Under normal circumstances yes it would be good to learn the tool inside out and only then ask questions. Right now this is a side issue that I just need to get working for a specific purpose. I have done everything that I knew or figured out how to do (read the old posts). I have been sending the output as I do them in hopes it will point someone more knowledgeable to the problem. What is the sense of me going step 1 though 10 if someone could have looked at step 5 and saw the problem. If you do not wish to help or don't think I'm worth the effort then nobody is forcing you to.
        Oh, I was so hoping is was going to be that simple but I fixed the typo and am getting the same result.

        Here is the command I am using now. Please let me know if you see any more errors.

        pp --gui -o gui1.exe gui1.pl -l C:/Perl/lib/auto/Tcl/tkkit.dll -l C:/Perl/lib/auto/Tcl/Tcl.dll -x

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1026375]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2014-07-22 11:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (110 votes), past polls