GoogleCodeArchives / hotot

Automatically exported from code.google.com/p/hotot
0 stars 0 forks source link

Not starting on Ubuntu 11.04 alpha1 - cannot import WebView #234

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install natty version from ppa:hotot-team repository on Ubuntu 11.04 with 
updates as of 14th December 2010
2. run hotot from a terminal window
3. Hotot does not run and gives the following error

~$ hotot
Traceback (most recent call last):
  File "/usr/bin/hotot", line 13, in <module>
    import hotot.hotot
  File "/usr/lib/python2.7/dist-packages/hotot/hotot.py", line 13, in <module>
    import view
  File "/usr/lib/python2.7/dist-packages/hotot/view.py", line 8, in <module>
    from webkit import WebView
ImportError: cannot import name WebView

Using Hotot version 1:0.9.5~hg556-0ubuntu0ppa1~natty1 using 
hotot_1%3a0.9.5~hg556-0ubuntu0ppa1~natty1_amd64.deb

Using the Unity desktop on Natty Narwhal (Ubuntu 11.04 development release)

Original issue reported on code.google.com by johnstev...@gmail.com on 15 Dec 2010 at 4:12

GoogleCodeExporter commented 9 years ago
Other environment information:

Package: python-webkit
Versions: 
1.1.8-1build1

Package: python-keybinder
Versions: 
0.2.2-2build1

Original comment by johnstev...@gmail.com on 15 Dec 2010 at 4:20

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Sorry my fault, that's not the point.

Original comment by xu.jimmy.wrk on 15 Dec 2010 at 11:46

GoogleCodeExporter commented 9 years ago
Somehow when you move /usr/lib/python2.7/dist-packages/webkit/ to somewhere 
else, everything works fine. Nothing to do here :(

A Ubuntu bug?

Original comment by xu.jimmy.wrk on 15 Dec 2010 at 11:56

GoogleCodeExporter commented 9 years ago
Thank you for looking at the problem I raised, unfortunately when I move 
/usr/lib/python2.7/dist-packages/webkit/ to /root using sudo and then run hotot 
from the command line as a normal user I get a different error.

Hotot normal login window displays, but also I get a warning dialog box with 
the following text and a single close button 

hotot:system/select_profile/default

When I press the close button, hotot locks up, as does the dialog box.  I am 
not even able to kill hotot via Cntrl-C on the command line, I have to kill the 
terminal window or use kill -9 pid

Hope you are still willing to look at this problem.

Thank you

Original comment by johnstev...@gmail.com on 15 Dec 2010 at 6:40

Attachments:

GoogleCodeExporter commented 9 years ago
hotot_action() is called in data/ui/ui.welcome.js and successfully alert()ed? 
Can't reproduce this locally...

Original comment by xu.jimmy.wrk on 17 Dec 2010 at 2:03

GoogleCodeExporter commented 9 years ago
Can you try to rm everything found in a `find / -name "*hotot*"` and retry? 
Thanks.

Original comment by xu.jimmy.wrk on 17 Dec 2010 at 2:05

GoogleCodeExporter commented 9 years ago
Also please install the latest version from PPA and retry. Apologize for the 
inconvenience :)

Original comment by xu.jimmy.wrk on 17 Dec 2010 at 2:09

GoogleCodeExporter commented 9 years ago
Thank you for all your efforts and suggestions, unfortunately I still have the 
initial error after rm'ing everything found by *hotot* and installing the 
latest ppa.

As Natty is still in heavy development I'll do a clean install when alpha2 
comes out and try hotot again.  If I get chance, I'll try run alpha1 without 
updates from a USB stick and see if Hotot will run from there (to see if its 
ever worked with Natty).

Thanks again

Original comment by johnstev...@gmail.com on 20 Dec 2010 at 12:19

GoogleCodeExporter commented 9 years ago
Can you still reproduce this? For there've been a lot of updates on natty since 
then.

Original comment by xu.jimmy.wrk on 24 Jan 2011 at 6:49

GoogleCodeExporter commented 9 years ago
I am still experiencing an error when running hotot on Ubuntu 11.04 alpha1 with 
all updates as of 24th January.  Hotot does not run and I get the error pasted 
below.

I will either create a USB live Ubuntu system from a nightly build and test 
hotot with just the default applications, or I will do a clean install from the 
alpha2 release over the weekend of 19th 20th of February and see if I still 
experience this issue.

Thank you for following up on this issue.

John
----

Traceback (most recent call last):
  File "/usr/bin/hotot", line 13, in <module>
    import hotot.hotot
  File "/usr/lib/pymodules/python2.7/hotot/hotot.py", line 13, in <module>
    import view
  File "/usr/lib/pymodules/python2.7/hotot/view.py", line 8, in <module>
    from webkit import WebView
ImportError: cannot import name WebView

Original comment by johnstev...@gmail.com on 24 Jan 2011 at 12:23

GoogleCodeExporter commented 9 years ago
Hotot successfully runs using a daily build of the 32-bit image downloaded 
today (24th January) using TestDrive.

There is a requirement to enable the Ubuntu Universe repository in order to 
install the python-keybinder package, otherwise hotot will not install.

Therefore it seems that there is some conflict on my directly installed version 
of alpha1 with one of the many package upgrades I have gone throw.

As I am running a Ubuntu as virtual machine, I have not tested Hotot with the 
Unity desktop, only the "Classic" Gnome 2 desktop.

I will also test Hotot using the 64-bit version of Ubuntu to confirm.

Thank you for your work on this issue.

Original comment by johnstev...@gmail.com on 24 Jan 2011 at 2:28

GoogleCodeExporter commented 9 years ago
I can install Hotot on the 64-bit image of todays daily build (24 January) but 
when I run hotot it causes a segmentation fault (core dump).

I will try again in a few days to see if this was just a particular issue with 
this particular image.

Thank you

Original comment by johnstev...@gmail.com on 25 Jan 2011 at 12:57

GoogleCodeExporter commented 9 years ago
On the 64-bit image of Ubuntu 11.04 daily build (24 January) when I run hotot 
it causes a segmentation fault (core dump). In /var/log/syslog I find the 
following error mesage:

Jan 25 09:34:57 ubuntu kernel: [31851.317954] hotot[4988]: segfault at bbadbeef 
ip 00007f36ead425c5 sp 00007fffce361260 error 6 in 
libwebkitgtk-1.0.so.0.5.2[7f36e9ba4000+14bc000]

Original comment by johnstev...@gmail.com on 25 Jan 2011 at 9:43

GoogleCodeExporter commented 9 years ago
segfaults are more likely to be a python bug. Anyway it's weird since 
everything's fine here... (natty on amd64)

However I'm using metacity instead of unity (don't like to change my habits so 
quickly and compiz sucks here), so will grab a virtual machine to test.

Apologize for any inconvenience.

Original comment by xu.jimmy.wrk on 26 Jan 2011 at 12:42

GoogleCodeExporter commented 9 years ago
New version of hotot upgraded as of 2nd February and is now working on 64bit 
Ubuntu 11.04 - using the classic desktop with compiz enabled.

Version: 1:0.9.5~hg626-0ubuntu0ppa1~natty1
hotot_0.9.5~hg626-0ubuntu0ppa1~natty1_amd64.deb

I have run hotot successfully and connected to Twitter.  When running hotot on 
the console there is a lot of error information output, but hotot keeps on 
working

Sample errors:

(hotot:22927): libsoup-CRITICAL **: soup_message_io_pause: assertion `io != 
NULL' failed

Original comment by johnstev...@gmail.com on 2 Feb 2011 at 2:50

GoogleCodeExporter commented 9 years ago
Got a bunch of ``libsoup''s too, let's just assume that thing sucks for now...

Glad to see it finally works.

Original comment by xu.jimmy.wrk on 2 Feb 2011 at 11:35