berkus / enso

Automatically exported from code.google.com/p/enso
Other
1 stars 0 forks source link

old call to enso_linux.utils? #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Running r160 in Ubuntu Hardy Heron, enso fails to start up (output attached
below text).  Changing line 36 of the file enso/platform/linux/selection.py:
from enso_linux.utils import *
into
from enso.platform.linux.utils import *
fixes the issue. 

#############
#############

INFO:root:Skipping provider enso.platform.osx.
INFO:root:Added provider enso.platform.linux.
INFO:root:Skipping provider enso.platform.win32.
INFO:root:Obtained interface 'input' from provider 'enso.platform.linux'.
INFO:root:Obtained interface 'cairo' from provider 'enso.platform.linux'.
INFO:root:Obtained interface 'graphics' from provider 'enso.platform.linux'.
INFO:root:Entering InputManager.run ()
WARNING:root:Error while loading plugin 'enso.contrib.scriptotron'.
Traceback (most recent call last):
  File "/home/pooki/enso-read-only/scripts/run_enso.py", line 23, in <module>
    enso.run()
  File "/home/pooki/enso-read-only/enso/__init__.py", line 54, in run
    eventManager.run()
  File "/home/pooki/enso-read-only/enso/events.py", line 205, in run
    input.InputManager.run( self )
  File "/home/pooki/enso-read-only/enso/platform/linux/input.py", line 354,
in run
    self.onInit ()
  File "/home/pooki/enso-read-only/enso/events.py", line 230, in onInit
    func()
  File "/home/pooki/enso-read-only/enso/plugins.py", line 93, in _init
    module = __import__( moduleName, {}, {}, [] )
  File "/home/pooki/enso-read-only/enso/contrib/scriptotron/__init__.py",
line 3, in <module>
    from enso.contrib.scriptotron.tracker import ScriptTracker
  File "/home/pooki/enso-read-only/enso/contrib/scriptotron/tracker.py",
line 6, in <module>
    from enso.contrib.scriptotron.tracebacks import TracebackCommand
  File "/home/pooki/enso-read-only/enso/contrib/scriptotron/tracebacks.py",
line 5, in <module>
    import enso.selection
  File "/home/pooki/enso-read-only/enso/selection.py", line 64, in <module>
    __impl = enso.providers.getInterface( "selection" )
  File "/home/pooki/enso-read-only/enso/providers.py", line 137, in
getInterface
    interface = provider.provideInterface( name )
  File "/home/pooki/enso-read-only/enso/platform/linux/__init__.py", line
58, in provideInterface
    import enso.platform.linux.selection
  File "/home/pooki/enso-read-only/enso/platform/linux/selection.py", line
36, in <module>
    from enso_linux.utils import *
ImportError: No module named enso_linux.utils

Original issue reported on code.google.com by sirpe...@gmail.com on 9 Jun 2008 at 8:13

GoogleCodeExporter commented 9 years ago
This (one-line) patch is included in my Linux enso selection patch.

Original comment by stuart.l...@gmail.com on 6 Jul 2008 at 9:02

GoogleCodeExporter commented 9 years ago
Applied on community branch.

Original comment by stuart.l...@gmail.com on 22 Aug 2008 at 6:30