Bug 6770 - Added missing dependancies to pyhoca-gui and python-gevent
Summary: Added missing dependancies to pyhoca-gui and python-gevent
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: has_procedure MGA2-32-OK MGA2-64-OK
Keywords: validated_update
Depends on: 2317
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-13 10:09 CEST by Oliver Burger
Modified: 2012-08-18 13:55 CEST (History)
3 users (show)

See Also:
Source RPM: pyhoca-gui-0.1.0.10-2.mga2.src.rpm
CVE:
Status comment:


Attachments

Description Oliver Burger 2012-07-13 10:09:16 CEST
pyhoca-gui and python-gevent were both missing a dependancy so they would not work.
I did add that dependancy to the packages and rebuilt them for 2.

Steps to test:

- Install x2goserver (using the sqlite package) and pyhoca-gui,
- Become root
- Create the database as told by README.urpmi
- Start the server as told by README.urpmi
- Start pyhocy-gui from the menu (this will only result in a small icon in the taskbar)
- Right click on it and add a profile
- Left click on it and connect to the server
- Start a session
Samuel Verschelde 2012-07-31 21:13:38 CEST

CC: (none) => stormi
Whiteboard: (none) => has_procedure

Comment 1 claire robinson 2012-08-01 18:58:22 CEST
Is it just pyhoca-gui and python-gevent being updated here Oliver?

Could you list SRPMs and RPMs in update requests please.

Thanks!
Comment 2 claire robinson 2012-08-01 18:59:49 CEST
Adding bug 2317 as a depends

----------------------------------------
Running checks for "pyhoca-gui" using media
"Core Release" and "Core Updates Testing".
----------------------------------------
Mageia release 2 (Official) for x86_64
Latest version found in "Core Release" is pyhoca-gui-0.1.0.10-2.mga2
Latest version found in "Core Updates Testing" is pyhoca-gui-0.1.0.10-2.2.mga2
----------------------------------------
The following packages will require linking:

lib64aa1-1.4.0-0.rc5.23.mga2 (Core Release)
lib64directfb1.5_0-1.5.3-4.mga2 (Core Release)
lib64ggi2-2.2.2-18.mga2 (Core Release)
lib64gii1-1.0.2-16.mga2 (Core Release)
lib64gpm2-1.20.6-7.mga2 (Core Release)
lib64SDL1.2_0-1.2.14-10.mga2 (Core Release)
lib64slang2-2.2.4-3.mga2 (Core Release)
lib64sysfs2-2.1.0-14.mga2 (Core Release)
lib64vncserver0-0.9.8.2-1.mga2 (Core Release)
lib64wxgtku2.8_0-2.8.12-9.mga2 (Core Release)
lib64wxgtkugl2.8_0-2.8.12-9.mga2 (Core Release)
lib64xcomp3-3.5.0.12-1.mga2 (Core Release)
lib64xxf86dga1-1.1.3-1.mga2 (Core Release)
libggi-2.2.2-18.mga2 (Core 32bit Release)
libggi-2.2.2-18.mga2 (Core Release)
nxproxy-3.5.0.12-1.mga2 (Core 32bit Release)
nxproxy-3.5.0.12-1.mga2 (Core Release)
wxgtk2.8-2.8.12-9.mga2 (Core 32bit Release)
wxgtk2.8-2.8.12-9.mga2 (Core Release)
wxPython-2.8.12.1-1.mga2 (Core 32bit Release)
wxPython-2.8.12.1-1.mga2 (Core Release)
wxPython-wxversion-2.8.12.1-1.mga2 (Core 32bit Release)
wxPython-wxversion-2.8.12.1-1.mga2 (Core Release)
----------------------------------------
Done.


----------------------------------------
Running checks for "python-gevent" using media
"Core Release" and "Core Updates Testing".
----------------------------------------
Mageia release 2 (Official) for x86_64
Latest version found in "Core Release" is python-gevent-0.13.6-1.mga2
Latest version found in "Core Updates Testing" is python-gevent-0.13.6-1.1.mga2
----------------------------------------
The following packages will require linking:

python-greenlet-0.3.4-1.mga2 (Core 32bit Release)
python-greenlet-0.3.4-1.mga2 (Core Release)
----------------------------------------
Done.

Depends on: (none) => 2317

Comment 3 Samuel Verschelde 2012-08-02 10:09:12 CEST
Thanks for the testing procedure, much appreciated!

I have 2 problems:
- quickly after I start the server it seems to go away. Doesn't seem normal to me.
- pyhoca-GUI doesn't start:

[samuel@localhost ~]$ pyhoca-gui 

** (process:29648): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** (process:29648): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

** (process:29648): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
Traceback (most recent call last):
  File "/usr/bin/pyhoca-gui", line 66, in <module>
    from pyhoca.wxgui.basepath import locale_basepath
  File "/usr/lib/python2.7/site-packages/pyhoca/wxgui/__init__.py", line 23, in <module>
    from frontend import *
  File "/usr/lib/python2.7/site-packages/pyhoca/wxgui/frontend.py", line 60, in <module>
    import printingprefs
  File "/usr/lib/python2.7/site-packages/pyhoca/wxgui/printingprefs.py", line 32, in <module>
    import cups
ImportError: No module named cups
Samuel Verschelde 2012-08-04 10:39:48 CEST

Whiteboard: has_procedure => has_procedure feedback

Comment 4 Oliver Burger 2012-08-08 15:24:06 CEST
Fixed another missing dep and submitted it. Please do try again.

What do you mean by: "the server [...] seems to go away"?
Comment 5 Samuel Verschelde 2012-08-08 19:38:44 CEST
(In reply to comment #4)
> Fixed another missing dep and submitted it. Please do try again.
> 
> What do you mean by: "the server [...] seems to go away"?

nevermind, I thought it did but it didn't :)

Trying to follow your procedure, I'm stuck at the last step, starting a session:

pyhoca-gui[7034] (x2gosessregistry-pylib) NOTICE: registering X2go session test...
pyhoca-gui[7034] (x2goclient-pylib) NOTICE: initializing X2go session...
pyhoca-gui[7034] (PyHoca-GUI) WARN: the current release of PyHoca-GUI does not support client configuration
pyhoca-gui[7034] (x2gosessregistry-pylib) NOTICE: using already initially-registered yet-unused session 935642da-e17f-11e1-8b1b-080027876da6
pyhoca-gui[7034] (x2goclient-pylib) NOTICE: initializing X2go session...
pyhoca-gui[7034] (x2gocontrolsession-pylib) NOTICE: connecting to []:22
pyhoca-gui[7034] (PyHoca-GUI) NOTICE: [test - connect error] Name or service not known!

I let all default settings when I created a new profile, which I named test.
Comment 6 Oliver Burger 2012-08-08 20:39:53 CEST
On a hunch I did rebuild x2goserver since it wasn't working here either.
And this did fix it here...

Could you try it again, please?

And I see in your "logs", that you didn't set a server in the config:
"pyhoca-gui[7034] (x2gocontrolsession-pylib) NOTICE: connecting to []:22"

Please do so in pyhoca-gui settings.
Comment 7 Samuel Verschelde 2012-08-08 20:44:22 CEST
Ok, I'll test with x2goserver-3.1.1.0-1.2.mga2

The procedure didn't tell to set a server, I followed it blindly :) 

What server should I put? Localhost? If so, is port 22 OK since I haven't installed openssh-server?

Whiteboard: has_procedure feedback => has_procedure

Comment 8 Samuel Verschelde 2012-08-08 21:05:20 CEST
Ok, localhost worked. I managed to connect to the server then start a session, which opened a terminal.

I got some frightening error messages in console though, do you want to look at them or can I consider testing complete for Mageia 2 32?

Encountered IndexError: invalid literal for int() with base 10: ''
THIS SHOULD NOT HAPPEN... HERE IS THE x2golistsessions OUTPUT THAT CAUSED THE ERROR...
|samuel-50-1344452489_stRTERMINAL_dp24|50|localhost|R|2012-08-08T21:01:31|||||2012-08-08T21:01:31|samuel|7||
Encountered IndexError: invalid literal for int() with base 10: ''
THIS SHOULD NOT HAPPEN... HERE IS THE x2golistsessions OUTPUT THAT CAUSED THE ERROR...
|samuel-50-1344452489_stRTERMINAL_dp24|50|localhost|R|2012-08-08T21:01:31|||||2012-08-08T21:01:31|samuel|12||
Encountered IndexError: invalid literal for int() with base 10: ''
THIS SHOULD NOT HAPPEN... HERE IS THE x2golistsessions OUTPUT THAT CAUSED THE ERROR...
|samuel-50-1344452489_stRTERMINAL_dp24|50|localhost|R|2012-08-08T21:01:31|||||2012-08-08T21:01:31|samuel|16||
Encountered IndexError: invalid literal for int() with base 10: ''
THIS SHOULD NOT HAPPEN... HERE IS THE x2golistsessions OUTPUT THAT CAUSED THE ERROR...
|samuel-50-1344452489_stRTERMINAL_dp24|50|localhost|R|2012-08-08T21:01:31|||||2012-08-08T21:01:31|samuel|20||
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
Comment 9 Samuel Verschelde 2012-08-08 21:26:26 CEST
It works with x2goserver from Core Release too, so I'm not sure the rebuild was needed.
Samuel Verschelde 2012-08-10 09:26:06 CEST

Whiteboard: has_procedure => has_procedure MGA2-32-OK

Comment 10 Samuel Verschelde 2012-08-10 09:27:11 CEST
Oliver, can you answer to "I got some frightening error messages in console though, do you want to look at them or can I consider testing complete for Mageia 2 32?" and tell us if the rebuild is really needed?
Samuel Verschelde 2012-08-10 09:27:22 CEST

Whiteboard: has_procedure MGA2-32-OK => has_procedure MGA2-32-OK feedback

Comment 11 Oliver Burger 2012-08-10 10:12:47 CEST
Hm, so maybe my server was hanging and the installation of the new one, just cleaned it up...

I'd say, let's consider testing complete for 32.

About the server: Did you install openssh-server or was it running without? I always thought x2go needs an ssh server and I'm not aware it brings one of its own...
Comment 12 Samuel Verschelde 2012-08-10 10:23:02 CEST
(In reply to comment #11)
> About the server: Did you install openssh-server or was it running without? I
> always thought x2go needs an ssh server and I'm not aware it brings one of its
> own...

x2goserver requires openssh-server so I'd say my question wasn't relevant in the first place :)
Samuel Verschelde 2012-08-10 10:31:23 CEST

Whiteboard: has_procedure MGA2-32-OK feedback => has_procedure MGA2-32-OK

Comment 13 Oliver Burger 2012-08-10 11:01:54 CEST
:D

Ok, so let's kill the x2goserver update package, that was unneeded and let's find someone for testing pyhoca-gui for 64...
Comment 14 Samuel Verschelde 2012-08-13 11:27:44 CEST
Testing complete on Mageia 2 x86_64.

Update validated.

SRPMs:
- pyhoca-gui-0.1.0.10-2.3.mga2
- python-gevent-0.13.6-1.1.mga2

--- Advisory ---
pyhoca-gui and python-gevent could fail to work because of missing RPM dependencies. This update adds the missing dependencies to solve this problem.



Linking:

$ ./depcheck pyhoca-gui "Core Release" "Core Updates Testing"
----------------------------------------
Running checks for "pyhoca-gui" using media
"Core Release" and "Core Updates Testing".
----------------------------------------
Mageia release 2 (Official) for x86_64
Latest version found in "Core Release" is pyhoca-gui-0.1.0.10-2.mga2
Latest version found in "Core Updates Testing" is pyhoca-gui-0.1.0.10-2.3.mga2
----------------------------------------
The following packages will require linking:

lib64aa1-1.4.0-0.rc5.23.mga2 (Core Release)
lib64directfb1.5_0-1.5.3-4.mga2 (Core Release)
lib64ggi2-2.2.2-18.mga2 (Core Release)
lib64gii1-1.0.2-16.mga2 (Core Release)
lib64gpm2-1.20.6-7.mga2 (Core Release)
lib64SDL1.2_0-1.2.14-10.mga2 (Core Release)
lib64slang2-2.2.4-3.mga2 (Core Release)
lib64sysfs2-2.1.0-14.mga2 (Core Release)
lib64vncserver0-0.9.8.2-1.mga2 (Core Release)
lib64wxgtku2.8_0-2.8.12-9.mga2 (Core Release)
lib64wxgtkugl2.8_0-2.8.12-9.mga2 (Core Release)
lib64xcomp3-3.5.0.12-1.mga2 (Core Release)
lib64xxf86dga1-1.1.3-1.mga2 (Core Release)
libggi-2.2.2-18.mga2 (Core 32bit Release)
libggi-2.2.2-18.mga2 (Core Release)
nxproxy-3.5.0.12-1.mga2 (Core 32bit Release)
nxproxy-3.5.0.12-1.mga2 (Core Release)
python-cups-1.9.61-2.mga2 (Core 32bit Release)
python-cups-1.9.61-2.mga2 (Core Release)
wxgtk2.8-2.8.12-9.mga2 (Core 32bit Release)
wxgtk2.8-2.8.12-9.mga2 (Core Release)
wxPython-2.8.12.1-1.mga2 (Core 32bit Release)
wxPython-2.8.12.1-1.mga2 (Core Release)
wxPython-wxversion-2.8.12.1-1.mga2 (Core 32bit Release)
wxPython-wxversion-2.8.12.1-1.mga2 (Core Release)
----------------------------------------
Done.

$ ./depcheck python-gevent "Core Release" "Core Updates Testing"
----------------------------------------
Running checks for "python-gevent" using media
"Core Release" and "Core Updates Testing".
----------------------------------------
Mageia release 2 (Official) for x86_64
Latest version found in "Core Release" is python-gevent-0.13.6-1.mga2
Latest version found in "Core Updates Testing" is python-gevent-0.13.6-1.1.mga2
----------------------------------------
The following packages will require linking:

python-greenlet-0.3.4-1.mga2 (Core 32bit Release)
python-greenlet-0.3.4-1.mga2 (Core Release)
----------------------------------------
Done.

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs
Whiteboard: has_procedure MGA2-32-OK => has_procedure MGA2-32-OK MGA2-64-OK

Comment 15 Thomas Backlund 2012-08-18 13:55:43 CEST
Packages linked and update pushed:
https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0162

Status: NEW => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.