Re: problems associating Komodo with file extensionson Windows

Michael Geary <[email protected]> Sun, 4 Mar 2012 18:19:57 -0800
Newsgroups gmane.comp.ide.komodo.general
Message-ID <CABJOuvoJRK7Edi=FMy7zEPsjCJ83v2RUmjE8s0DM1JBiQN20Nw@mail.gmail.com>
--===============0528827054==
Content-Type: multipart/alternative; boundary=20cf307ac775692c0b04ba75923e

--20cf307ac775692c0b04ba75923e
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

>  As I have written below I only elevate *my* privileges long enough to
save "file associations" and nothing else. [emphasis added]

But that's not what you are doing when you log into the Administrator
account. You are not elevating the privileges in *your* user account. You
are logging into a separate, unrelated account.

User accounts do not share user settings. They do not share file
associations.

When you save settings or change file associations in the Administrator
account (or any other account) it should never affect settings or
associations in your own account. They are completely separate accounts.

Could you try what two of us have suggested? Stop logging out and logging
into a different account. Instead, run Komodo with elevated privileges in
your own account.

Make sure Komodo is not already running, then find it in your Start menu
(e.g. type "ko" and it will find it fast for you), right click it, and
select "Run as administrator". Then you can apply your Windows settings in
Komodo.

Exit out of Komodo when you're done, then restart it in your normal user
mode. All should be good.

-Mike

On Sun, Mar 4, 2012 at 6:09 PM, Gregory M. Caughey <[email protected]>w=
rote:

>  OK, the forum wouldn't allow my screenshot, so deleted it.
> Komodo-7.0.1 (latest release) is the one having these issues all other
> releases have worked just fine excepting "file associations" which is an
> old problem and has been discussed in this forum for quite sometime.
> I do run Komodo in my own user account. As I have written below I only
> elevate my privileges long enough to save "file associations" and nothing
> else. Lots of users have this trouble with "*file associations*" not file
> paths. I don't know how describe this problem any clearer. If I modify fi=
le
> associations and try to save under my own user account Komodo throws an
> error message. I will try to send a screenshot of this but don't know if
> the forum will allow this attachment or its size to post.
>
> Thanks for your advice thus far
>
>
> On 3/4/2012 5:07 PM, Michael Geary wrote:
>
> Why are you logging in as Administrator? That's a separate user account.
> Komodo settings are unique to each user account.
>
>  It sounds like your Python file paths are also in your User path, not
> the System path. That would explain why the Administrator account doesn't
> see them.
>
>  Why not try what two of us have already suggested and run Komodo in your
> normal user account with elevated privileges?
>
>  -Mike
>
> On Sun, Mar 4, 2012 at 4:42 PM, Gregory M. Caughey <[email protected]=
>wrote:
>
>>  Hello,
>> Sorry I'm slow to respond back, working very long hours these days.
>> OK, will do a better job of describing my situation. When logged in as
>> myself my preference file has been working properly excepting not being
>> able to save my Windows 7 file associations. To accomplish this I must
>> log-out and then log back on using elevated (Administrator) privileges,
>> then I can save my file association selections. At this point I would
>> log-out again and then logon as myself (without elevated Administrator)
>> privileges. All other configuration options have been savable including
>> file paths and other preferences up to and including KomodoIDE-7.0.
>>
>> As of Komodo-7.1 my preference file can't find my python file paths. Whe=
n
>> I insert these paths manually and attempt to save them (no errors are be=
ing
>> reported) Komodo-7.1 is not remembering these locations. Again, I'm only
>> talking about being logged on as myself and not with elevated
>> Administrative privileges.
>>
>> In addition, if I click on Komodo's start page (quick Links section)
>> "Check Configuration" link it will just sit there and grind away trying
>> create a report but never does. I have not seen this behavior on any oth=
er
>> Komodo IDE release and I've been using Komodo for years now. I have not
>> submitted a bug report on this as I was waiting see if other folks obser=
ved
>> these problems.
>>
>> What do you think?
>>
>>
>> On 3/1/2012 12:02 PM, Michael Geary wrote:
>>
>> Do you mean you are logging in under the Administrator account? That
>> would explain most of those problems. (But what is the "Check
>> Configuration" link?)
>>
>>  Komodo configuration is per-user. You want to be logged into the same
>> account your normally use, but with elevated privileges. So try what Rob=
ert
>> described instead: log in under your normal user account. Find Komodo in
>> the Start menu, right-click it and click "Run as administrator". (Make s=
ure
>> Komodo isn't already running before you do that.)
>>
>>  Now Komodo should still see your user paths and other configuration
>> details, and the "Re-apply settings to system" button in Komodo's Window=
s
>> Configuration panel should work.
>>
>>  If I misunderstood what you tried, please forgive me and explain in
>> more detail so I have a better clue. :-)
>>
>>  -Mike
>>
>> On Thu, Mar 1, 2012 at 5:48 AM, Gregory M. Caughey <[email protected]=
t
>> > wrote:
>>
>>>  Hello,
>>> I too am having problems with Komodo-7.1 resolving my preferences file.
>>> While this problem of file associations (with the Administrator login w=
ork
>>> around) does work on my installation I now have a new problem. When I c=
lick
>>> on the "Check Configuration" link Komodo will just sit there and grind =
away
>>> indefinitely, with no report being displayed. When I login (as
>>> Administrator) and edit my preference file Komodo can not find my pytho=
n or
>>> python3 installs. When I insert these various locations manually Komodo
>>> will not remember them.
>>>
>>> I've tried changing file and directory ownership with no change in
>>> behavior. I have also changed file and directory permissions and that
>>> produced no change either.
>>>
>>> I'm running an HP Pavilion box with Windows 7 O/S.
>>> The box is up-to-date with all Windows 7 upgrades and security patches
>>> installed.
>>> I had been running Komodo-7.0 without issues except the old and ongoing
>>> problem with "file associations". I completed a successful upgrade to
>>> Komodo-7.1 via the "Check for Updates" menu. I also tried a fresh full
>>> install Komodo-7.1 package and still no joy.
>>>
>>> Regards, Greg
>>>
>>>
>>>
>>> On 2/29/2012 11:27 AM, Myk Melez wrote:
>>>
>>>  On 2012-02-29 11:17 , Robert Crowther wrote:
>>>
>>> This works for me:
>>>
>>>
>>>
>>> 1.     Exit Komodo
>>>
>>> 2.     Right click on your Komodo shortcut/icon/start menu entry and
>>> select =91Run as Administrator=92
>>>
>>> 3.     Go to preferences and edit your settings, click apply
>>>
>>> 4.     Exit, then start Komodo normally
>>>
>>> Thanks for the tip! Unfortunately, when I tried this, it didn't work fo=
r
>>> me. I no longer saw the error after pressing the "re-apply settings to
>>> system" button, but the associations weren't made, neither the ones I a=
dded
>>> via the "configure common associations..." dialog (like .js) nor one I
>>> added manually via the Add... button (.json).
>>>
>>> -myk
>>>
>>>
>>>
>>>  _______________________________________________
>>> Komodo-discuss mailing [email protected]
>>> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>>> Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-=
discuss
>>>
>>>
>>> _______________________________________________
>>> Komodo-discuss mailing list
>>> [email protected]
>>> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>>> Other options:
>>> http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss
>>>
>>>
>>
>> _______________________________________________
>> Komodo-discuss mailing list
>> [email protected]
>> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>> Other options:
>> http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss
>>
>>
>
> _______________________________________________
> Komodo-discuss mailing list
> [email protected]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> Other options:
> http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss
>
>

--20cf307ac775692c0b04ba75923e
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

&gt;=A0
As I have written below I only elevate *my* privileges long enough to save =
&quot;file associations&quot; and nothing else. [emphasis added]<div><br></=
div><div>But that&#39;s not what you are doing when you log into the Admini=
strator account. You are not elevating the privileges in *your* user accoun=
t. You are logging into a separate, unrelated account.</div>


<div><br></div><div>User accounts do not share user settings. They do not s=
hare file associations.</div><div><br></div><div>When you save settings or =
change file associations in the Administrator account (or any other account=
) it should never affect settings or associations in your own account. They=
 are completely separate accounts.</div>


<div><br></div><div>Could you try what two of us have suggested? Stop loggi=
ng out and logging into a different account. Instead, run Komodo with eleva=
ted privileges in your own account.</div><div><br></div><div>Make sure Komo=
do is not already running, then find it in your Start menu (e.g. type &quot=
;ko&quot; and it will find it fast for you), right click it, and select &qu=
ot;Run as administrator&quot;. Then you can apply your Windows settings in =
Komodo.</div>


<div><br></div><div>Exit out of Komodo when you&#39;re done, then restart i=
t in your normal user mode. All should be good.</div><div><br></div><div>-M=
ike</div><div><br><div class=3D"gmail_quote">On Sun, Mar 4, 2012 at 6:09 PM=
, Gregory M. Caughey <span dir=3D"ltr">&lt;<a href=3D"mailto:caugheygm@comc=
ast.net" target=3D"_blank">[email protected]</a>&gt;</span> wrote:<br>


<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF" text=3D"#000000">
    OK, the forum wouldn&#39;t allow my screenshot, so deleted it.<br>
    Komodo-7.0.1 (latest release) is the one having these issues all
    other releases have worked just fine excepting &quot;file associations&=
quot;
    which is an old problem and has been discussed in this forum for
    quite sometime.<br>
    I do run Komodo in my own user account. As I have written below I
    only elevate my privileges long enough to save &quot;file associations&=
quot;
    and nothing else. Lots of users have this trouble with &quot;<u>file
      associations</u>&quot; not file paths. I don&#39;t know how describe =
this
    problem any clearer. If I modify file associations and try to save
    under my own user account Komodo throws an error message. I will try
    to send a screenshot of this but don&#39;t know if the forum will allow
    this attachment or its size to post.<br>
    <br>
    Thanks for your advice thus far<div><div><br>
    <br>
    On 3/4/2012 5:07 PM, Michael Geary wrote:
    <blockquote type=3D"cite">Why are you logging in as Administrator? That=
&#39;s a
      separate user account. Komodo settings are unique to each user
      account.
      <div><br>
      </div>
      <div>It sounds like your Python file paths are also in your User
        path, not the System path. That would explain why the
        Administrator account doesn&#39;t see them.</div>
      <div><br>
      </div>
      <div>Why not try what two of us have already suggested and run
        Komodo in your normal user account with elevated privileges?</div>
      <div><br>
      </div>
      <div>-Mike<br>
        <div><br>
          <div class=3D"gmail_quote">On Sun, Mar 4, 2012 at 4:42 PM,
            Gregory M. Caughey <span dir=3D"ltr">&lt;<a href=3D"mailto:caug=
[email protected]" target=3D"_blank">[email protected]</a>&gt;</span>
            wrote:<br>
            <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex">
              <div bgcolor=3D"#FFFFFF" text=3D"#000000"> Hello,<br>
                Sorry I&#39;m slow to respond back, working very long hours
                these days.<br>
                OK, will do a better job of describing my situation.
                When logged in as myself my preference file has been
                working properly excepting not being able to save my
                Windows 7 file associations. To accomplish this I must
                log-out and then log back on using elevated
                (Administrator) privileges, then I can save my file
                association selections. At this point I would log-out
                again and then logon as myself (without elevated
                Administrator) privileges. All other configuration
                options have been savable including file paths and other
                preferences up to and including KomodoIDE-7.0.<br>
                <br>
                As of Komodo-7.1 my preference file can&#39;t find my pytho=
n
                file paths. When I insert these paths manually and
                attempt to save them (no errors are being reported)
                Komodo-7.1 is not remembering these locations. Again,
                I&#39;m only talking about being logged on as myself and no=
t
                with elevated Administrative privileges. <br>
                <br>
                In addition, if I click on Komodo&#39;s start page (quick
                Links section) &quot;Check Configuration&quot; link it will=
 just
                sit there and grind away trying create a report but
                never does. I have not seen this behavior on any other
                Komodo IDE release and I&#39;ve been using Komodo for years
                now. I have not submitted a bug report on this as I was
                waiting see if other folks observed these problems. <br>
                <br>
                What do you think?
                <div>
                  <div><br>
                    <br>
                    On 3/1/2012 12:02 PM, Michael Geary wrote:
                    <blockquote type=3D"cite">Do you mean you are logging
                      in under the Administrator account? That would
                      explain most of those problems. (But what is the
                      &quot;Check Configuration&quot; link?)
                      <div><br>
                      </div>
                      <div>Komodo configuration is per-user. You want to
                        be logged into the same account your normally
                        use, but with elevated privileges. So try what
                        Robert described instead: log in under your
                        normal user account. Find Komodo in the Start
                        menu, right-click it and click &quot;Run as
                        administrator&quot;. (Make sure Komodo isn&#39;t al=
ready
                        running before you do that.)
                        <div> <br>
                        </div>
                        <div>Now Komodo should still see your user paths
                          and other configuration details, and the
                          &quot;Re-apply settings to system&quot; button in
                          Komodo&#39;s Windows Configuration panel should
                          work.</div>
                        <div><br>
                        </div>
                        <div>If I misunderstood what you tried, please
                          forgive me and explain in more detail so I
                          have a better clue. :-)</div>
                        <div><br>
                        </div>
                        <div>-Mike<br>
                          <br>
                          <div class=3D"gmail_quote">On Thu, Mar 1, 2012
                            at 5:48 AM, Gregory M. Caughey <span dir=3D"ltr=
">&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">caugheygm@=
comcast.net</a>&gt;</span>
                            wrote:<br>
                            <blockquote class=3D"gmail_quote" style=3D"marg=
in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                              <div bgcolor=3D"#FFFFFF" text=3D"#000000">
                                Hello,<br>
                                I too am having problems with Komodo-7.1
                                resolving my preferences file. While
                                this problem of file associations (with
                                the Administrator login work around)
                                does work on my installation I now have
                                a new problem. When I click on the
                                &quot;Check Configuration&quot; link Komodo=
 will
                                just sit there and grind away
                                indefinitely, with no report being
                                displayed. When I login (as
                                Administrator) and edit my preference
                                file Komodo can not find my python or
                                python3 installs. When I insert these
                                various locations manually Komodo will
                                not remember them. <br>
                                <br>
                                I&#39;ve tried changing file and directory
                                ownership with no change in behavior. I
                                have also changed file and directory
                                permissions and that produced no change
                                either.<br>
                                <br>
                                I&#39;m running an HP Pavilion box with
                                Windows 7 O/S.<br>
                                The box is up-to-date with all Windows 7
                                upgrades and security patches installed.<br=
>
                                I had been running Komodo-7.0 without
                                issues except the old and ongoing
                                problem with &quot;file associations&quot;.=
 I
                                completed a successful upgrade to
                                Komodo-7.1 via the &quot;Check for Updates&=
quot;
                                menu. I also tried a fresh full install
                                Komodo-7.1 package and still no joy.<br>
                                <br>
                                Regards, Greg
                                <div>
                                  <div><br>
                                    <br>
                                    <br>
                                    On 2/29/2012 11:27 AM, Myk Melez
                                    wrote: </div>
                                </div>
                                <blockquote type=3D"cite">
                                  <div>
                                    <div> On 2012-02-29 11:17 , Robert
                                      Crowther wrote:
                                      <blockquote type=3D"cite"> <span styl=
e=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;=
color:windowtext">This





                                          works for me:</span>
                                        <div>
                                          <p class=3D"MsoNormal"><span styl=
e=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;=
color:windowtext">=A0</span></p>
                                          <p><span style=3D"font-size:10.0p=
t;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:windowtext"><s=
pan>1.<span>=A0=A0=A0=A0

                                                </span></span></span><span =
style=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&qu=
ot;;color:windowtext">Exit





                                              Komodo</span></p>
                                          <p><span style=3D"font-size:10.0p=
t;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:windowtext"><s=
pan>2.<span>=A0=A0=A0=A0

                                                </span></span></span><span =
style=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&qu=
ot;;color:windowtext">Right





                                              click on your Komodo
                                              shortcut/icon/start menu
                                              entry and select =91Run as
                                              Administrator=92</span></p>
                                          <p><span style=3D"font-size:10.0p=
t;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:windowtext"><s=
pan>3.<span>=A0=A0=A0=A0

                                                </span></span></span><span =
style=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&qu=
ot;;color:windowtext">Go





                                              to preferences and edit
                                              your settings, click apply</s=
pan></p>
                                          <p><span style=3D"font-size:10.0p=
t;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:windowtext"><s=
pan>4.<span>=A0=A0=A0=A0

                                                </span></span></span><span =
style=3D"font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot=
;;color:windowtext">Exit,


                                              then start Komodo normally</s=
pan></p>
                                        </div>
                                      </blockquote>
                                      Thanks for the tip! Unfortunately,
                                      when I tried this, it didn&#39;t work
                                      for me. I no longer saw the error
                                      after pressing the &quot;re-apply
                                      settings to system&quot; button, but
                                      the associations weren&#39;t made,
                                      neither the ones I added via the
                                      &quot;configure common associations..=
.&quot;
                                      dialog (like .js) nor one I added
                                      manually via the Add... button
                                      (.json).<br>
                                      <br>
                                      -myk<br>
                                      <br>
                                      <br>
                                      <fieldset></fieldset>
                                      <br>
                                    </div>
                                  </div>
                                  <pre>____________________________________=
___________
Komodo-discuss mailing list
<a href=3D"mailto:[email protected]" target=3D"_blank=
">[email protected]</a>
To unsubscribe: <a href=3D"http://listserv.ActiveState.com/mailman/mysubs" =
target=3D"_blank">http://listserv.ActiveState.com/mailman/mysubs</a>
Other options: <a href=3D"http://listserv.ActiveState.com/mailman/listinfo/=
Komodo-discuss" target=3D"_blank">http://listserv.ActiveState.com/mailman/l=
istinfo/Komodo-discuss</a>
</pre>
                                </blockquote>
                              </div>
                              <br>
_______________________________________________<br>
                              Komodo-discuss mailing list<br>
                              <a href=3D"mailto:[email protected]=
iveState.com" target=3D"_blank">[email protected]</a>=
<br>
                              To unsubscribe: <a href=3D"http://listserv.Ac=
tiveState.com/mailman/mysubs" target=3D"_blank">http://listserv.ActiveState=
.com/mailman/mysubs</a><br>
                              Other options: <a href=3D"http://listserv.Act=
iveState.com/mailman/listinfo/Komodo-discuss" target=3D"_blank">http://list=
serv.ActiveState.com/mailman/listinfo/Komodo-discuss</a><br>
                              <br>
                            </blockquote>
                          </div>
                          <br>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                </div>
              </div>
              <br>
              _______________________________________________<br>
              Komodo-discuss mailing list<br>
              <a href=3D"mailto:[email protected]" ta=
rget=3D"_blank">[email protected]</a><br>
              To unsubscribe: <a href=3D"http://listserv.ActiveState.com/ma=
ilman/mysubs" target=3D"_blank">http://listserv.ActiveState.com/mailman/mys=
ubs</a><br>
              Other options: <a href=3D"http://listserv.ActiveState.com/mai=
lman/listinfo/Komodo-discuss" target=3D"_blank">http://listserv.ActiveState=
.com/mailman/listinfo/Komodo-discuss</a><br>
              <br>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
  </div></div></div>

<br>_______________________________________________<br>
Komodo-discuss mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank=
">[email protected]</a><br>
To unsubscribe: <a href=3D"http://listserv.ActiveState.com/mailman/mysubs" =
target=3D"_blank">http://listserv.ActiveState.com/mailman/mysubs</a><br>
Other options: <a href=3D"http://listserv.ActiveState.com/mailman/listinfo/=
Komodo-discuss" target=3D"_blank">http://listserv.ActiveState.com/mailman/l=
istinfo/Komodo-discuss</a><br>
<br></blockquote></div><br></div>

--20cf307ac775692c0b04ba75923e--

--===============0528827054==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Komodo-discuss mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss

--===============0528827054==--