Re: Problem running Sugar on openSUSE 11.0

2009-01-27 Thread James Simmons
Jigish,

I am convinced that my installation of openSUSE 11.1 is messed up and my 
best option is to do a fresh install rather than an upgrade.  David 
Fanning had asked me to do a ./sugar-jhbuild depscheck and the only way 
I could run that was to do a git-clone of sugar-jhbuild first.  When I 
tried to do that I got a message saying that git-clone was not found, 
yet YAST and rpm -V both said that git-core (which YAST showed as 
containing that command) was installed.  The file was definitely missing 
though.  I'm guessing that something similar is happening with 
python-telepathy.  I also find that neither of the DVD burning apps that 
come with the distro can recognize my DVD burner, but I have no trouble 
mounting DVDs on it.  11.0 also had some odd problems that I thought 
upgrading to 11.1 had fixed, but apparently some problems remain.

Tonight I'll do the clean install and run your zypper commands again and 
I'll let you know how it went.  Thanks,

James Simmons

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Problem running Sugar on openSUSE 11.0

2009-01-27 Thread James Simmons

Tomeu,

As I have described in a previous email, I think my openSUSE 11.1 
upgrade is messed up.  Several files seem to be missing even though YAST 
and rpm -V show the packages being installed.  I plan to do a fresh 
install rather than an upgrade to see if that helps.


I did run the command you asked to run last night.  In case the results 
are still of interest, here they are:


# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# /usr/lib/python2.6/site.pyc matches /usr/lib/python2.6/site.py
import site # precompiled from /usr/lib/python2.6/site.pyc
# /usr/lib/python2.6/os.pyc matches /usr/lib/python2.6/os.py
import os # precompiled from /usr/lib/python2.6/os.pyc
import errno # builtin
import posix # builtin
# /usr/lib/python2.6/posixpath.pyc matches /usr/lib/python2.6/posixpath.py
import posixpath # precompiled from /usr/lib/python2.6/posixpath.pyc
# /usr/lib/python2.6/stat.pyc matches /usr/lib/python2.6/stat.py
import stat # precompiled from /usr/lib/python2.6/stat.pyc
# /usr/lib/python2.6/genericpath.pyc matches /usr/lib/python2.6/genericpath.py
import genericpath # precompiled from /usr/lib/python2.6/genericpath.pyc
# /usr/lib/python2.6/warnings.pyc matches /usr/lib/python2.6/warnings.py
import warnings # precompiled from /usr/lib/python2.6/warnings.pyc
# /usr/lib/python2.6/linecache.pyc matches /usr/lib/python2.6/linecache.py
import linecache # precompiled from /usr/lib/python2.6/linecache.pyc
# /usr/lib/python2.6/types.pyc matches /usr/lib/python2.6/types.py
import types # precompiled from /usr/lib/python2.6/types.pyc
# /usr/lib/python2.6/UserDict.pyc matches /usr/lib/python2.6/UserDict.py
import UserDict # precompiled from /usr/lib/python2.6/UserDict.pyc
# /usr/lib/python2.6/_abcoll.pyc matches /usr/lib/python2.6/_abcoll.py
import _abcoll # precompiled from /usr/lib/python2.6/_abcoll.pyc
# /usr/lib/python2.6/abc.pyc matches /usr/lib/python2.6/abc.py
import abc # precompiled from /usr/lib/python2.6/abc.pyc
# /usr/lib/python2.6/copy_reg.pyc matches /usr/lib/python2.6/copy_reg.py
import copy_reg # precompiled from /usr/lib/python2.6/copy_reg.pyc
import encodings # directory /usr/lib/python2.6/encodings
# /usr/lib/python2.6/encodings/__init__.pyc matches 
/usr/lib/python2.6/encodings/__init__.py
import encodings # precompiled from /usr/lib/python2.6/encodings/__init__.pyc
# /usr/lib/python2.6/codecs.pyc matches /usr/lib/python2.6/codecs.py
import codecs # precompiled from /usr/lib/python2.6/codecs.pyc
import _codecs # builtin
# /usr/lib/python2.6/encodings/aliases.pyc matches 
/usr/lib/python2.6/encodings/aliases.py
import encodings.aliases # precompiled from 
/usr/lib/python2.6/encodings/aliases.pyc
# /usr/lib/python2.6/encodings/utf_8.pyc matches 
/usr/lib/python2.6/encodings/utf_8.py
import encodings.utf_8 # precompiled from /usr/lib/python2.6/encodings/utf_8.pyc
Python 2.6 (r26:66714, Dec  3 2008, 06:05:48) 
[GCC 4.3.2 [gcc-4_3-branch revision 141291]] on linux2

Type help, copyright, credits or license for more information.
Traceback (most recent call last):
 File string, line 1, in module
ImportError: No module named telepathy
# clear __builtin__._
# clear sys.path
# clear sys.argv
# clear sys.ps1
# clear sys.ps2
# clear sys.exitfunc
# clear sys.exc_type
# clear sys.exc_value
# clear sys.exc_traceback
# clear sys.last_type
# clear sys.last_value
# clear sys.last_traceback
# clear sys.path_hooks
# clear sys.path_importer_cache
# clear sys.meta_path
# clear sys.flags
# clear sys.float_info
# restore sys.stdin
# restore sys.stdout
# restore sys.stderr
# cleanup __main__
# cleanup[1] encodings
# cleanup[1] site
# cleanup[1] abc
# cleanup[1] _codecs
# cleanup[1] _warnings
# cleanup[1] zipimport
# cleanup[1] encodings.utf_8
# cleanup[1] codecs
# cleanup[1] signal
# cleanup[1] posix
# cleanup[1] encodings.aliases
# cleanup[1] exceptions
# cleanup[2] copy_reg
# cleanup[2] posixpath
# cleanup[2] errno
# cleanup[2] _abcoll
# cleanup[2] types
# cleanup[2] genericpath
# cleanup[2] stat
# cleanup[2] warnings
# cleanup[2] UserDict
# cleanup[2] os.path
# cleanup[2] linecache
# cleanup[2] os
# cleanup sys
# cleanup __builtin__
# cleanup ints: 19 unfreed ints
# cleanup floats

Thanks,

James Simmons


Tomeu Vizoso wrote:

Can you attach the output of:

python -v -c 'import telepathy'

Thanks,

Tomeu


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Problem running Sugar on openSUSE 11.0

2009-01-27 Thread Jigish Gohil
On Tue, Jan 27, 2009 at 8:49 PM, James Simmons
jim.simm...@walgreens.com wrote:
 Jigish,

 I am convinced that my installation of openSUSE 11.1 is messed up and my
 best option is to do a fresh install rather than an upgrade.  David Fanning
 had asked me to do a ./sugar-jhbuild depscheck and the only way I could run
 that was to do a git-clone of sugar-jhbuild first.  When I tried to do that
 I got a message saying that git-clone was not found, yet YAST and rpm -V
 both said that git-core (which YAST showed as containing that command) was
 installed.  The file was definitely missing though.  I'm guessing that

No, new git uses git clone instead of git-clone

 something similar is happening with python-telepathy.  I also find that
 neither of the DVD burning apps that come with the distro can recognize my
 DVD burner, but I have no trouble mounting DVDs on it.  11.0 also had some
 odd problems that I thought upgrading to 11.1 had fixed, but apparently some
 problems remain.


For DVD burning the issue is known, add your user to disk group.

 Tonight I'll do the clean install and run your zypper commands again and
 I'll let you know how it went.  Thanks,


OK, as I said, running the commands listed on the wiki got sugar
running here. Use sugar-emulator command instead of Xephyr commands I
posted before.

You can always drop in IRC Freenode #sugar if you need help, that
would probably be faster.

Good luck

-J
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Problem running Sugar on openSUSE 11.0

2009-01-24 Thread Tomeu Vizoso
[adding sugar-devel to cc]

2009/1/23 James Simmons jim.simm...@walgreens.com:
 Jigish,

 OK, I uninstalled both sugar and sugar-activities, then installed just
 sugar.  It did not complain of missing dependencies, and seemed to install
 just fine.  Then I tried running sugar from the command line as you
 instructed:

 dbus-launch sugar
 matchbox-window-manager: Failed to connect to session manager
 root window unavailible (maybe another wm is running?)
 /usr/lib/python2.6/site-packages/jarabe/desktop/meshbox.py:19:
 DeprecationWarning: the sha module is deprecated; use the hashlib module
 instead
   import sha
 Traceback (most recent call last):
   File /usr/bin/sugar-session, line 41, in module
 from jarabe.desktop.homewindow import HomeWindow
   File /usr/lib/python2.6/site-packages/jarabe/desktop/homewindow.py, line
 24, in module
 from jarabe.desktop.meshbox import MeshBox
   File /usr/lib/python2.6/site-packages/jarabe/desktop/meshbox.py, line
 35, in module
 from sugar.activity import activityfactory
   File /usr/lib/python2.6/site-packages/sugar/activity/activityfactory.py,
 line 29, in module
 from sugar.presence import presenceservice
   File /usr/lib/python2.6/site-packages/sugar/presence/presenceservice.py,
 line 32, in module
 from sugar.presence.activity import Activity
   File /usr/lib/python2.6/site-packages/sugar/presence/activity.py, line
 27, in module
 import telepathy
 ImportError: No module named telepathy

 I can see a couple of things here:

 1).  It still is complaining about the root window, so I'm guessing that
 even if it worked it wouldn't run in a window like sugar-jhbuild does.

Try running sugar-emulator instead of dbus-launch sugar, that will run
xephyr and inside it, sugar.

 2).  It still is complaining about telepathy.

Can you attach the output of:

python -v -c 'import telepathy'

Thanks,

Tomeu

 The traceback above is after I installed nearly everything telepathy-related
 from YAST.  The list of all I installed is as follows:

  rpm -qa | grep telepathy
 libtelepathy-0.3.3-1.83
 libtelepathy-glib0-0.7.17-1.29
 telepathy-mission-control-devel-4.67-18.20
 telepathy-gabble-0.7.10-1.27
 telepathy-haze-0.2.1-1.30
 telepathy-mission-control-4.67-18.20
 telepathy-glib-devel-0.7.17-1.17
 telepathy-stream-engine-0.5.3-1.66
 telepathy-salut-0.3.5-1.29
 telepathy-idle-0.1.2-2.35
 python-telepathy-0.15.0-1.1
 libtelepathy-devel-0.3.3-1.83
 gnome-phone-manager-telepathy-0.60-1.52

 As you can see python-telepathy is installed.

 I hope you can figure out what is wrong here.  I haven't been able to get a
 fully functioning development environment for Sugar on either of my Linux
 workstations, and it has made it difficult to write and test Activities.  I
 considered replacing openSUSE with Fedora but the Fedora live CD seems to
 need a lot more memory to run than I have (I have 256 meg).

 Thanks again,

 James Simmons


 ---


 Jigish Gohil wrote:

 On Thu, Jan 22, 2009 at 10:45 PM, James Simmons
 jim.simm...@walgreens.com wrote:


 Jigish,

 I'm pretty sure that one is installed.  The only telepathy stuff that was
 not installed was stuff for QT, IRC clients, etc.  And python-telepathy and
 the hippo canvas stuff should be in the RPM dependencies and get installed
 automatically, wouldn't you think?


 Not if you ignore deps when installing :)



 Also, is there a way to run sugar from the command line and have it run in a
 window like sugar-jhbuild does?



 Try dbus-launch sugar

 Ciao

 -J


 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Problem running Sugar on openSUSE 11.0

2009-01-24 Thread David Farning
James,

Can you try running ./sugar-jhbuild depscheck ?

david

On Sun, Jan 25, 2009 at 2:43 AM, Tomeu Vizoso to...@sugarlabs.org wrote:
 [adding sugar-devel to cc]

 2009/1/23 James Simmons jim.simm...@walgreens.com:
 Jigish,

 OK, I uninstalled both sugar and sugar-activities, then installed just
 sugar.  It did not complain of missing dependencies, and seemed to install
 just fine.  Then I tried running sugar from the command line as you
 instructed:

 dbus-launch sugar
 matchbox-window-manager: Failed to connect to session manager
 root window unavailible (maybe another wm is running?)
 /usr/lib/python2.6/site-packages/jarabe/desktop/meshbox.py:19:
 DeprecationWarning: the sha module is deprecated; use the hashlib module
 instead
   import sha
 Traceback (most recent call last):
   File /usr/bin/sugar-session, line 41, in module
 from jarabe.desktop.homewindow import HomeWindow
   File /usr/lib/python2.6/site-packages/jarabe/desktop/homewindow.py, line
 24, in module
 from jarabe.desktop.meshbox import MeshBox
   File /usr/lib/python2.6/site-packages/jarabe/desktop/meshbox.py, line
 35, in module
 from sugar.activity import activityfactory
   File /usr/lib/python2.6/site-packages/sugar/activity/activityfactory.py,
 line 29, in module
 from sugar.presence import presenceservice
   File /usr/lib/python2.6/site-packages/sugar/presence/presenceservice.py,
 line 32, in module
 from sugar.presence.activity import Activity
   File /usr/lib/python2.6/site-packages/sugar/presence/activity.py, line
 27, in module
 import telepathy
 ImportError: No module named telepathy

 I can see a couple of things here:

 1).  It still is complaining about the root window, so I'm guessing that
 even if it worked it wouldn't run in a window like sugar-jhbuild does.

 Try running sugar-emulator instead of dbus-launch sugar, that will run
 xephyr and inside it, sugar.

 2).  It still is complaining about telepathy.

 Can you attach the output of:

 python -v -c 'import telepathy'

 Thanks,

 Tomeu

 The traceback above is after I installed nearly everything telepathy-related
 from YAST.  The list of all I installed is as follows:

  rpm -qa | grep telepathy
 libtelepathy-0.3.3-1.83
 libtelepathy-glib0-0.7.17-1.29
 telepathy-mission-control-devel-4.67-18.20
 telepathy-gabble-0.7.10-1.27
 telepathy-haze-0.2.1-1.30
 telepathy-mission-control-4.67-18.20
 telepathy-glib-devel-0.7.17-1.17
 telepathy-stream-engine-0.5.3-1.66
 telepathy-salut-0.3.5-1.29
 telepathy-idle-0.1.2-2.35
 python-telepathy-0.15.0-1.1
 libtelepathy-devel-0.3.3-1.83
 gnome-phone-manager-telepathy-0.60-1.52

 As you can see python-telepathy is installed.

 I hope you can figure out what is wrong here.  I haven't been able to get a
 fully functioning development environment for Sugar on either of my Linux
 workstations, and it has made it difficult to write and test Activities.  I
 considered replacing openSUSE with Fedora but the Fedora live CD seems to
 need a lot more memory to run than I have (I have 256 meg).

 Thanks again,

 James Simmons


 ---


 Jigish Gohil wrote:

 On Thu, Jan 22, 2009 at 10:45 PM, James Simmons
 jim.simm...@walgreens.com wrote:


 Jigish,

 I'm pretty sure that one is installed.  The only telepathy stuff that was
 not installed was stuff for QT, IRC clients, etc.  And python-telepathy and
 the hippo canvas stuff should be in the RPM dependencies and get installed
 automatically, wouldn't you think?


 Not if you ignore deps when installing :)



 Also, is there a way to run sugar from the command line and have it run in a
 window like sugar-jhbuild does?



 Try dbus-launch sugar

 Ciao

 -J


 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel


 ___
 Sugar-devel mailing list
 sugar-de...@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Problem running Sugar on openSUSE 11.0

2009-01-23 Thread James Simmons

Jigish,

OK, I uninstalled both sugar and sugar-activities, then installed just 
sugar.  It did not complain of missing dependencies, and seemed to 
install just fine.  Then I tried running sugar from the command line as 
you instructed:


dbus-launch sugar
matchbox-window-manager: Failed to connect to session manager
root window unavailible (maybe another wm is running?)
/usr/lib/python2.6/site-packages/jarabe/desktop/meshbox.py:19: 
DeprecationWarning: the sha module is deprecated; use the hashlib module 
instead

 import sha
Traceback (most recent call last):
 File /usr/bin/sugar-session, line 41, in module
   from jarabe.desktop.homewindow import HomeWindow
 File /usr/lib/python2.6/site-packages/jarabe/desktop/homewindow.py, 
line 24, in module

   from jarabe.desktop.meshbox import MeshBox
 File /usr/lib/python2.6/site-packages/jarabe/desktop/meshbox.py, 
line 35, in module

   from sugar.activity import activityfactory
 File 
/usr/lib/python2.6/site-packages/sugar/activity/activityfactory.py, 
line 29, in module

   from sugar.presence import presenceservice
 File 
/usr/lib/python2.6/site-packages/sugar/presence/presenceservice.py, 
line 32, in module

   from sugar.presence.activity import Activity
 File /usr/lib/python2.6/site-packages/sugar/presence/activity.py, 
line 27, in module

   import telepathy
ImportError: No module named telepathy

I can see a couple of things here:

1).  It still is complaining about the root window, so I'm guessing that 
even if it worked it wouldn't run in a window like sugar-jhbuild does.

2).  It still is complaining about telepathy.

The traceback above is after I installed nearly everything 
telepathy-related from YAST.  The list of all I installed is as follows:


rpm -qa | grep telepathy
libtelepathy-0.3.3-1.83
libtelepathy-glib0-0.7.17-1.29
telepathy-mission-control-devel-4.67-18.20
telepathy-gabble-0.7.10-1.27
telepathy-haze-0.2.1-1.30
telepathy-mission-control-4.67-18.20
telepathy-glib-devel-0.7.17-1.17
telepathy-stream-engine-0.5.3-1.66
telepathy-salut-0.3.5-1.29
telepathy-idle-0.1.2-2.35
python-telepathy-0.15.0-1.1
libtelepathy-devel-0.3.3-1.83
gnome-phone-manager-telepathy-0.60-1.52

As you can see python-telepathy is installed.

I hope you can figure out what is wrong here.  I haven't been able to 
get a fully functioning development environment for Sugar on either of 
my Linux workstations, and it has made it difficult to write and test 
Activities.  I considered replacing openSUSE with Fedora but the Fedora 
live CD seems to need a lot more memory to run than I have (I have 256 meg).


Thanks again,

James Simmons


---


Jigish Gohil wrote:

On Thu, Jan 22, 2009 at 10:45 PM, James Simmons
jim.simm...@walgreens.com wrote:
  

Jigish,

I'm pretty sure that one is installed.  The only telepathy stuff that was
not installed was stuff for QT, IRC clients, etc.  And python-telepathy and
the hippo canvas stuff should be in the RPM dependencies and get installed
automatically, wouldn't you think?



Not if you ignore deps when installing :)

  

Also, is there a way to run sugar from the command line and have it run in a
window like sugar-jhbuild does?



Try dbus-launch sugar

Ciao

-J
  


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Problem running Sugar on openSUSE 11.0

2009-01-22 Thread James Simmons

Jigish,

I upgraded to open SUSE 11.1 last night, added the repositories and 
installed sugar and sugar-activities as you instructed.  Everything 
seemed to install just fine, except that sugar-activities said it 
required etoys and that was not available.  It did let me ignore this 
dependency and continue.


When I tried to logout and log back in with a Sugar session instead of 
my usual WindowMaker the screen went black for a bit, then I found 
myself at the login prompt.  I tried it a couple of times.  Then I 
logged back in using WindowMaker and tried to run sugar at the command 
prompt.  I got a stack trace with a message saying module hippo was 
not found.  I went to Yast and found that there were a couple of Hippo 
Canvas RPMs that were not installed, so I tried installing those.  
Running sugar gave me this:


sugar
matchbox-window-manager: Failed to connect to session manager
root window unavailible (maybe another wm is running?)
/usr/lib/python2.6/site-packages/jarabe/desktop/meshbox.py:19: 
DeprecationWarnin

g: the sha module is deprecated; use the hashlib module instead
 import sha
Traceback (most recent call last):
 File /usr/bin/sugar-session, line 41, in module
   from jarabe.desktop.homewindow import HomeWindow
 File /usr/lib/python2.6/site-packages/jarabe/desktop/homewindow.py, 
line 24,

in module
   from jarabe.desktop.meshbox import MeshBox
 File /usr/lib/python2.6/site-packages/jarabe/desktop/meshbox.py, 
line 35, in

module
   from sugar.activity import activityfactory
 File 
/usr/lib/python2.6/site-packages/sugar/activity/activityfactory.py, lin

e 29, in module
   from sugar.presence import presenceservice
 File 
/usr/lib/python2.6/site-packages/sugar/presence/presenceservice.py, lin

e 32, in module
   from sugar.presence.activity import Activity
 File /usr/lib/python2.6/site-packages/sugar/presence/activity.py, 
line 27, i

n module
   import telepathy
ImportError: No module named telepathy

I tried YAST again to see if telepathy was installed.  It looked to me 
like it was.  There were a few RPMs related to telepathy that I had not 
installed, but none of them looked relevant to Sugar so I didn't try to 
install them.  So this is where I am now and I hope you can suggest 
something.


I appreciate the work you put in creating this, by the way, even though 
I haven't got it working yet.  My current Sugar test environment in on 
another machine running Xubuntu and while it was very easy to set up it 
is incomplete, buggy, and badly out of date.


Also, it looks like your version of Sugar does not make use of Zephyr to 
run in a window like sugar-jhbuild does.  I find being able to run 
multiple instances of the Sugar environment on the same box very useful 
for testing the sharing features that all Sugar activities should 
support.  Is there a way to run what you have created this way?


Thanks again,

James Simmons



Jigish Gohil wrote:

On Mon, Jan 19, 2009 at 8:33 PM, James Simmons
jim.simm...@walgreens.com wrote:
  

Cyberorg,

I recently upgraded my PC from openSUSE 10.2 to openSUSE 11.0.



Hi

Please update to openSUSE 11.1, add the following repositories before
installing sugar and sugar-activities packages:

http://download.opensuse.org/repositories/home:/cyberorg:/sugar/openSUSE_11.1
http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_11.1
http://download.opensuse.org/distribution/11.1/repo/oss/

Cheers

-J
  


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Problem running Sugar on openSUSE 11.0

2009-01-22 Thread James Simmons

Jigish,

I'm pretty sure that one is installed.  The only telepathy stuff that 
was not installed was stuff for QT, IRC clients, etc.  And 
python-telepathy and the hippo canvas stuff should be in the RPM 
dependencies and get installed automatically, wouldn't you think?


Also, is there a way to run sugar from the command line and have it run 
in a window like sugar-jhbuild does?


James Simmons


Jigish Gohil wrote:

On Thu, Jan 22, 2009 at 10:32 PM, James Simmons
jim.simm...@walgreens.com wrote:

  

27, i
n module
import telepathy
ImportError: No module named telepathy



You are missing python-telepathy

Ciao

-J
  


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Problem running Sugar on openSUSE 11.0

2009-01-22 Thread James Simmons

Jigish,

The only thing I ignored deps on *should* have been sugar-activities.  
However, tonight I will uninstall both RPMs using YAST, then reinstall 
only sugar and see what happens.  I'll let you know.


James Simmons


Jigish Gohil wrote:

On Thu, Jan 22, 2009 at 10:45 PM, James Simmons
jim.simm...@walgreens.com wrote:
  

Jigish,

I'm pretty sure that one is installed.  The only telepathy stuff that was
not installed was stuff for QT, IRC clients, etc.  And python-telepathy and
the hippo canvas stuff should be in the RPM dependencies and get installed
automatically, wouldn't you think?



Not if you ignore deps when installing :)

  

Also, is there a way to run sugar from the command line and have it run in a
window like sugar-jhbuild does?



Try dbus-launch sugar

Ciao

-J
  


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Problem running Sugar on openSUSE 11.0

2009-01-22 Thread Jigish Gohil
On Thu, Jan 22, 2009 at 10:32 PM, James Simmons
jim.simm...@walgreens.com wrote:

 27, i
 n module
 import telepathy
 ImportError: No module named telepathy

You are missing python-telepathy

Ciao

-J
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Problem running Sugar on openSUSE 11.0

2009-01-22 Thread Jigish Gohil
On Thu, Jan 22, 2009 at 10:45 PM, James Simmons
jim.simm...@walgreens.com wrote:
 Jigish,

 I'm pretty sure that one is installed.  The only telepathy stuff that was
 not installed was stuff for QT, IRC clients, etc.  And python-telepathy and
 the hippo canvas stuff should be in the RPM dependencies and get installed
 automatically, wouldn't you think?

Not if you ignore deps when installing :)


 Also, is there a way to run sugar from the command line and have it run in a
 window like sugar-jhbuild does?

Try dbus-launch sugar

Ciao

-J
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Problem running Sugar on openSUSE 11.0

2009-01-19 Thread James Simmons
Cyberorg,

I recently upgraded my PC from openSUSE 10.2 to openSUSE 11.0.  On my 
previous installation I had used sugar-jhbuild to compile and run the 
Sugar environment.  It was not fully functional, but it worked OK for 
what I needed it for.  However, after upgrading my XO to the latest 
Sugar I realized that I needed a better Sugar environment.

I upgraded openSUSE to 11.0, deleted my sugar-jhbuild directory and 
started over.  I kept failing because it was looking for libraries in 
/opt/gnome/lib that I didn't have.

I looked on the SUSE page (http://wiki.laptop.org/go/Sugar_on_SUSE) to 
see what advice I could get and found your install instructions for 
zypper.  I tried them out and they *seemed* to work just fine.  
Unfortunately, when I tried logging in with a Sugar session it died 
almost immediately.  I tried running sugar from the command line and 
this is what I got:

sugar
Traceback (most recent call last):
  File /usr/bin/sugar-shell, line 30, in module from main import main
  File /usr/share/sugar/shell/main.py, line 35, in module  import 
view.Shell
  File /usr/share/sugar/shell/view/Shell.py, line 38, in module  
from view.frame import frame
  File /usr/share/sugar/shell/view/frame/frame.py, line 29, in 
module  from view.frame.activitiestray import ActivitiesTray
  File /usr/share/sugar/shell/view/frame/activitiestray.py, line 23, 
in module  from sugar.graphics.tray import HTray
  File /usr/lib/python2.5/site-packages/sugar/graphics/tray.py, line 
22, in module  from sugar.graphics.palette import ToolInvoker
  File /usr/lib/python2.5/site-packages/sugar/graphics/palette.py, 
line 924, in module  class WidgetInvoker(Invoker):
  File /usr/lib/python2.5/site-packages/gtk-2.0/gobject/__init__.py, 
line 40, in __init__cls._install_properties()
  File /usr/lib/python2.5/site-packages/gtk-2.0/gobject/__init__.py, 
line 68, in _install_properties  or getter. This is not allowed % (cls,))
TypeError: GObject subclass class 
'sugar.graphics.palette.WidgetInvoker' defines do_get/set_property and 
it also uses a property which a custom setter or getter. This is not allowed

I had to compile a bunch of stuff from source to get sugar-jhbuild to 
work on 10.2 so i did a make uninstall on everything sugar-related I 
compiled.  This had no effect at all on the messages I have attached.  
I'm stumped here and hope you can give me some insight on what is 
happening and how I might go about fixing it.

James Simmons


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Problem running Sugar on openSUSE 11.0

2009-01-19 Thread Jigish Gohil
On Mon, Jan 19, 2009 at 8:33 PM, James Simmons
jim.simm...@walgreens.com wrote:
 Cyberorg,

 I recently upgraded my PC from openSUSE 10.2 to openSUSE 11.0.

Hi

Please update to openSUSE 11.1, add the following repositories before
installing sugar and sugar-activities packages:

http://download.opensuse.org/repositories/home:/cyberorg:/sugar/openSUSE_11.1
http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_11.1
http://download.opensuse.org/distribution/11.1/repo/oss/

Cheers

-J
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel