maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [M5] [Announce] OpenSSH status widget (https://talk.maemo.org/showthread.php?t=95429)

rasmarc 2015-05-07 14:49

Re: [Announce] OpenSSH status widget
 
Quote:

Originally Posted by ThomasAH (Post 1469623)
Is there any change you could place the deb here in the first post? I don't have extras-devel enabled.

You can download the latest deb from the package website. I added a link in the first post. Thanx for the hint.

handaxe 2015-05-07 16:11

Re: [Announce] OpenSSH status widget
 
I uninstalled SSH Status and Switcher thinking it might be the root of my issue, but this persists:

Code:

~ $ openssh-status-config.py
Traceback (most recent call last):
  File "/usr/bin/openssh-status-config.py", line 172, in <module>
    Main()
  File "/usr/bin/openssh-status-config.py", line 37, in __init__
    confirmDisconnect = self.parser.getboolean('options', 'confirmDisconnect')
  File "/usr/lib/python2.5/ConfigParser.py", line 330, in getboolean
    v = self.get(section, option)
  File "/usr/lib/python2.5/ConfigParser.py", line 511, in get
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'options'


rasmarc 2015-05-07 17:01

Re: [Announce] OpenSSH status widget
 
Quote:

Originally Posted by handaxe (Post 1469629)
I uninstalled SSH Status and Switcher thinking it might be the root of my issue, but this persists:

There's a typo in the code that appeared when i changed a variable name, sorry. Now the created config file remains empty - which i didn't recognize because it was already created on my device. If you don't want to wait for the fix you may open

/home/user/.openssh-status-widget

and copy these lines:
Code:

[options]
confirmDisconnect = True
stopTracking = False
skipSystemCheck = False

Doing this, the configuration dialog shouldn't crash anymore.

rasmarc 2015-05-07 19:16

Re: [Announce] OpenSSH status widget
 
I just uploaded v1.1-3 to extras-devel.

Changes:
*bugfix: empty config file made app crash:eek:


All cases of a non-working config file are tested, but if there's still a fault, please let me know.

ThomasAH 2015-05-07 21:21

Re: [Announce] OpenSSH status widget
 
Nice! Well, due to extreme slowness of http://maemo.org/packages/ (is it that slow for everybody or just me?) I wasn't able to download any of the packages, so I guess I'll just wait 'til it hits extras-testing :D

handaxe 2015-05-07 21:34

Re: [Announce] OpenSSH status widget
 
Quote:

Originally Posted by rasmarc (Post 1469642)
I just uploaded v1.1-3 to extras-devel.

...
All cases of a non-working config file are tested, but if there's still a fault, please let me know.

Thanks for this. I might have a permissions issue or an odd config entry somewhere or other, as the widget cannot start the ssh server.
Code:

/etc/init.d/ssh start
does just fine. Will look into this tomorrow.

rasmarc 2015-05-07 21:48

Re: [Announce] OpenSSH status widget
 
Quote:

Originally Posted by ThomasAH (Post 1469655)
Nice! Well, due to extreme slowness of http://maemo.org/packages/ (is it that slow for everybody or just me?) I wasn't able to download any of the packages, so I guess I'll just wait 'til it hits extras-testing :D

Downloading the deb file (32KB) from here does not work for you?

http://maemo.org/packages/package_in...-widget/1.1-3/

rasmarc 2015-05-07 22:10

Re: [Announce] OpenSSH status widget
 
Quote:

Originally Posted by handaxe (Post 1469657)
Thanks for this. I might have a permissions issue or an odd config entry somewhere or other, as the widget cannot start the ssh server.
Code:

/etc/init.d/ssh start
does just fine. Will look into this tomorrow.

The widget uses the same command ("sudo /etc/init.d/ssh start"). What about stopping the server by short pressing (that's "sudo /etc/init.d/ssh stop") and long pressing ("sudo killall sshd") the button? Does that work for you?

ThomasAH 2015-05-07 22:34

Re: [Announce] OpenSSH status widget
 
1 Attachment(s)
Quote:

Originally Posted by rasmarc (Post 1469658)
Downloading the deb file (32KB) from here does not work for you?

http://maemo.org/packages/package_in...-widget/1.1-3/

Indeed, it does not. Connection times out for me.

Edit: Scratch that, the package website just takes really long to load, and I managed to download the package after waiting for 5-10 minutes... So I downloaded and installed openssh-status-widget_1.1-3_armel.deb, however, the status-applet does not appear to display any image (see attachment (yeah, my battery is really low :D ), it's the blank entry at the bottom-right). When pressed, it does not respond at all. Any idea what might cause this?

rasmarc 2015-05-07 23:22

Re: [Announce] OpenSSH status widget
 
Quote:

Originally Posted by ThomasAH (Post 1469664)
it's the blank entry at the bottom-right). When pressed, it does not respond at all. Any idea what might cause this?

Does
Code:

/usr/lib/hildon-desktop/openssh-status-widget.py
give you any output on the terminal?


All times are GMT. The time now is 13:55.

vBulletin® Version 3.8.8