public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Using terminator with cygwin
@ 2022-03-17 10:54 zweiund40
  2022-03-17 11:56 ` Adam Dinwoodie
  0 siblings, 1 reply; 3+ messages in thread
From: zweiund40 @ 2022-03-17 10:54 UTC (permalink / raw)
  To: cygwin

Hi all,

I've got a question and I hope u can help there. I guess the question 
may be a bit silly for some of u, but, u know, I'm not an expert. I want 
to use terminator with cygwin and was excited when I found it as package 
listed in the setup.exe, So, I installed it and since there was no 
terminator.exe to be found I tried "terminator" on the command line, but 
it didn't work. Error-message is rather confusing:

$ terminator
   File "/usr/bin/terminator", line 119
     except (KeyError,ValueError), ex:
                                 ^
SyntaxError: invalid syntax


What am I doing wrong? I think I didn't understand something very basal.

Thank you

zweiund40


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Using terminator with cygwin
  2022-03-17 10:54 Using terminator with cygwin zweiund40
@ 2022-03-17 11:56 ` Adam Dinwoodie
  2022-03-17 14:58   ` zweiund40
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Dinwoodie @ 2022-03-17 11:56 UTC (permalink / raw)
  To: cygwin

On Thu, Mar 17, 2022 at 11:54:02AM +0100, zweiund40 wrote:
> Hi all,
> 
> I've got a question and I hope u can help there. I guess the question may be
> a bit silly for some of u, but, u know, I'm not an expert. I want to use
> terminator with cygwin and was excited when I found it as package listed in
> the setup.exe, So, I installed it and since there was no terminator.exe to
> be found I tried "terminator" on the command line, but it didn't work.
> Error-message is rather confusing:
> 
> $ terminator
>   File "/usr/bin/terminator", line 119
>     except (KeyError,ValueError), ex:
>                                 ^
> SyntaxError: invalid syntax
> 
> 
> What am I doing wrong? I think I didn't understand something very basal.

It looks like terminator hasn't been updated since Cygwin moved from
/usr/bin/python being Python2 to Python3, and it doesn't explicitly
specify the Python version it needs.

This really needs a fix from the terminator maintainer, Mike DePaulo,
but while Mike used to be fairly active on these lists, I've not seen
him post for several years.  Mike: are you there? Are you able to update
this package?

In the meantime, you might be able to work around this by manually
editing /usr/bin/terminator and /usr/bin/remotinator, and changing the
first line from this:

    #!/usr/bin/python

to this:

    #!/usr/bin/python2

That said, it's worth noting the version of terminator that's available
from the Cygwin package repositories is almost six years old, and relies
on a Python version that has been completely out of support for almost
two years, so I wouldn't be vastly surprised if this isn't fixable
without a more significant update from the Cygwin package maintainer.

HTH

Adam

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Using terminator with cygwin
  2022-03-17 11:56 ` Adam Dinwoodie
@ 2022-03-17 14:58   ` zweiund40
  0 siblings, 0 replies; 3+ messages in thread
From: zweiund40 @ 2022-03-17 14:58 UTC (permalink / raw)
  To: cygwin

Thx.


On 17.03.22 12:56, Adam Dinwoodie wrote:
> On Thu, Mar 17, 2022 at 11:54:02AM +0100, zweiund40 wrote:
>> Hi all,
>>
>> I've got a question and I hope u can help there. I guess the question may be
>> a bit silly for some of u, but, u know, I'm not an expert. I want to use
>> terminator with cygwin and was excited when I found it as package listed in
>> the setup.exe, So, I installed it and since there was no terminator.exe to
>> be found I tried "terminator" on the command line, but it didn't work.
>> Error-message is rather confusing:
>>
>> $ terminator
>>    File "/usr/bin/terminator", line 119
>>      except (KeyError,ValueError), ex:
>>                                  ^
>> SyntaxError: invalid syntax
>>
>>
>> What am I doing wrong? I think I didn't understand something very basal.
> It looks like terminator hasn't been updated since Cygwin moved from
> /usr/bin/python being Python2 to Python3, and it doesn't explicitly
> specify the Python version it needs.
>
> This really needs a fix from the terminator maintainer, Mike DePaulo,
> but while Mike used to be fairly active on these lists, I've not seen
> him post for several years.  Mike: are you there? Are you able to update
> this package?
>
> In the meantime, you might be able to work around this by manually
> editing /usr/bin/terminator and /usr/bin/remotinator, and changing the
> first line from this:
>
>      #!/usr/bin/python
>
> to this:
>
>      #!/usr/bin/python2
>
> That said, it's worth noting the version of terminator that's available
> from the Cygwin package repositories is almost six years old, and relies
> on a Python version that has been completely out of support for almost
> two years, so I wouldn't be vastly surprised if this isn't fixable
> without a more significant update from the Cygwin package maintainer.
>
> HTH
>
> Adam

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-03-17 14:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-17 10:54 Using terminator with cygwin zweiund40
2022-03-17 11:56 ` Adam Dinwoodie
2022-03-17 14:58   ` zweiund40

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).