<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
            <div>So, finally got it to work.  Changed my shebang from <span> #!/usr/bin python to   #!/usr/bin/python (without space)</span><br></div><div>I was still getting an error for the working directory so i moved %d/%f into the command then it worked.</div><div>Thanks for your help.<br></div><div><br></div>
            
            <div id="ydpb22d71e7yahoo_quoted_7941360819" class="ydpb22d71e7yahoo_quoted">
                <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                    
                    <div>
                        On Wednesday, May 23, 2018, 12:58:57 AM EDT, Lex Trotman <elextr@gmail.com> wrote:
                    </div>
                    <div><br></div>
                    <div><br></div>
                    <div><div dir="ltr">On 23 May 2018 at 14:44, Joe McCarron via Users <<a shape="rect" href="mailto:users@lists.geany.org" rel="nofollow" target="_blank">users@lists.geany.org</a>> wrote:<br clear="none">> 1.27  I think it came with mint. So I guess I should upgrade.<br clear="none"><br clear="none">Yes, I'm afraid old versions are one downside of stable distros like<br clear="none">Mint, on the other hand most of their stuff doesn't suffer from<br clear="none">bleeding edge bugs.<br clear="none"><br clear="none">Just be aware that both Debian and Ubuntu (the underlying distros that<br clear="none">Mint is based on and where you would get your upgrade from) have<br clear="none">switched to the GTK3 version of Geany for 1.33, might be better to<br clear="none">stick to 1.32, it still has the Arduino filetype.<br clear="none"><br clear="none">> Thanks<br clear="none">><br clear="none">><br clear="none">> On Wednesday, May 23, 2018, 12:30:08 AM EDT, Lex Trotman <<a shape="rect" href="mailto:elextr@gmail.com" rel="nofollow" target="_blank">elextr@gmail.com</a>><br clear="none">> wrote:<br clear="none">><br clear="none">><br clear="none">>> Yes, I now know how Geany works as I have been fighting this for a whole<br clear="none">>> day. I don't know what it doesnt like. I may just do another installation<br clear="none">>> of<br clear="none">>> it.<br clear="none">>><br clear="none">>> I have another issue trying to create filetypes for *.ino files (arduino)<br clear="none">>> but that<br clear="none">>> doesnt seem to work. I have been ALL OVER the manual and I dont know<br clear="none">>> what I am doing wrong.<br clear="none">><br clear="none">> What version of Geany are you using?  The current release (1.33) comes<br clear="none">> with an Arduino filetype that .ino maps to.<br clear="none">><br clear="none">>><br clear="none">>> I will start another topic though and not include it in this.<br clear="none">>><br clear="none">>> Thanks for your help. I had just installed linux and got rid of windows so<br clear="none">>> thats<br clear="none">>> another hurdle I am working with. Way different than Windows. Windows is<br clear="none">>> like a<br clear="none">>> personnal computer linux is like working at a terminal and there's a main<br clear="none">>> frame<br clear="none">>> somewhere on campus ; )<br clear="none">><br clear="none">> Well, thats what it was when Unix was first conceived :)<br clear="none">><br clear="none">>><br clear="none">>><br clear="none">>> Cheers<br clear="none">>> Lex<br clear="none">>><br clear="none">>>> Cheers<br clear="none">>>> Lex<br clear="none">>>><br clear="none">>>> On 23 May 2018 at 12:01, Joe McCarron via Users <<a shape="rect" href="mailto:users@lists.geany.org" rel="nofollow" target="_blank">users@lists.geany.org</a>><br clear="none">>>> wrote:<br clear="none">>>>><br clear="none">>>>><br clear="none">>>>> On Tuesday, May 22, 2018, 9:34:41 PM EDT, Lex Trotman <<a shape="rect" href="mailto:elextr@gmail.com" rel="nofollow" target="_blank">elextr@gmail.com</a>><br clear="none">>>>> wrote:<br clear="none">>>>> pythonbuild.py  is in /home/joe<br clear="none">>>>><br clear="none">>>>><br clear="none">>>>><br clear="none">>>>> What directory is 'pythonbuild.py' located in and what was the working<br clear="none">>>>> directory when you ran the CLI command?<br clear="none">>>>><br clear="none">>>>> has always been in /home/joe    I am running the CLI from there also<br clear="none">>>>> the working directory is dev/Arduino/sample/sample.ino  which is<br clear="none">>>>> relative<br clear="none">>>>> to my ~ location. The abs path of the working directory would be<br clear="none">>>>> /home/joe/dev/Arduino/sample/sample.ino<br clear="none">>>>><br clear="none">>>>> If your command is 'python pythonbuild.py<br clear="none">>>>> dev/Arduino/sample/sample.ino' then it must be executed in the<br clear="none">>>>> directory that contains 'pythonbuild.py' since the path is given<br clear="none">>>>> relative to the working directory (and so is<br clear="none">>>>> 'dev/Arduino/sample/sample.ino' but we havn't gotten to it yet :).<br clear="none">>>>><br clear="none">>>>> yes, that is true<br clear="none">>>>><br clear="none">>>>> Geany commands (by default) run with a working directory that is the<br clear="none">>>>> directory of the current file displayed in the edit area, you can<br clear="none">>>>> change this in the "working directory" column of the "set build<br clear="none">>>>> commands" dialog to make it a fixed location such as the directory<br clear="none">>>>> where 'pythonbuild.py' lives.<br clear="none">>>>><br clear="none">>>>> so your saying move pythonbuild to my working directory, correct ?<br clear="none">>>>> Ok, I will try that. So maybe the problem is the there is no way for the<br clear="none">>>>> working<br clear="none">>>>> directory to get to reference the up stream directory ? as in its ok to<br clear="none">>>>> drill down but<br clear="none">>>>> not up ?? I will try try moving the *.py file to the working directory.<br clear="none">>>>><br clear="none">>>>> Yes, so the working directory is just use  %d%f so the whole thing in<br clear="none">>>>> Geany<br clear="none">>>>> python home/joe/pythonbuild.py  %d/%f<br clear="none">>>>><br clear="none">>>>> but I get Invalid working directory<br clear="none">>>>> "/home/joe/dev/Arduino/4X20OLED/4X20OLED.ino"<br clear="none">>>>><br clear="none">>>>><br clear="none">>>>><br clear="none">>>>><br clear="none">>>> _______________________________________________<br clear="none">>>> Users mailing list<br clear="none">>>> <a shape="rect" href="mailto:Users@lists.geany.org" rel="nofollow" target="_blank">Users@lists.geany.org</a><br clear="none">>>> <a shape="rect" href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" rel="nofollow" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a><br clear="none">>>><br clear="none">>>> _______________________________________________<br clear="none">>>> Users mailing list<br clear="none">>>> <a shape="rect" href="mailto:Users@lists.geany.org" rel="nofollow" target="_blank">Users@lists.geany.org</a><br clear="none">>>> <a shape="rect" href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" rel="nofollow" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a><div class="ydpb22d71e7yqt6771914633" id="ydpb22d71e7yqtfd42070"><br clear="none">><br clear="none">>><br clear="none">>>><br clear="none">>> _______________________________________________<br clear="none">>> Users mailing list<br clear="none">>> <a shape="rect" href="mailto:Users@lists.geany.org" rel="nofollow" target="_blank">Users@lists.geany.org</a><br clear="none">>> <a shape="rect" href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" rel="nofollow" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a><br clear="none">>><br clear="none">>> _______________________________________________<br clear="none">>> Users mailing list<br clear="none">>> <a shape="rect" href="mailto:Users@lists.geany.org" rel="nofollow" target="_blank">Users@lists.geany.org</a><br clear="none">>> <a shape="rect" href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" rel="nofollow" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a><br clear="none">>><br clear="none">> _______________________________________________<br clear="none">> Users mailing list<br clear="none">> <a shape="rect" href="mailto:Users@lists.geany.org" rel="nofollow" target="_blank">Users@lists.geany.org</a><br clear="none">> <a shape="rect" href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" rel="nofollow" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a><br clear="none">><br clear="none">> _______________________________________________<br clear="none">> Users mailing list<br clear="none">> <a shape="rect" href="mailto:Users@lists.geany.org" rel="nofollow" target="_blank">Users@lists.geany.org</a><br clear="none">> <a shape="rect" href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" rel="nofollow" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a><br clear="none">><br clear="none">_______________________________________________<br clear="none">Users mailing list<br clear="none"><a shape="rect" href="mailto:Users@lists.geany.org" rel="nofollow" target="_blank">Users@lists.geany.org</a><br clear="none"><a shape="rect" href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" rel="nofollow" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a><br clear="none"></div></div></div>
                </div>
            </div></div></body></html>