Code Monkey home page Code Monkey logo

Comments (16)

peterclemenko avatar peterclemenko commented on July 4, 2024

Output on start is:

nemo -q; nemo
Initializing nemo-dropbox 0.7.1

(nemo:13704): Nemo-Python-WARNING **: g_module_open libpython failed: /usr/lib/libpython2.7.so.1.0: cannot open shared object file: No such file or directory
ImportError: could not import gobject (error was: '/usr/lib/x86_64-linux-gnu/libpyglib-gi-2.0-python2.7.so.0: undefined symbol: _Py_ZeroStruct')

(nemo:13704): Nemo-Python-WARNING **: pygobject initialization failed

(nemo:13704): Nemo-Python-WARNING **: nemo_python_init_python failed
Initializing nemo-dropbox 0.7.1

(nemo:13713): Nemo-Python-WARNING **: g_module_open libpython failed: /usr/lib/libpython2.7.so.1.0: cannot open shared object file: No such file or directory
ImportError: could not import gobject (error was: '/usr/lib/x86_64-linux-gnu/libpyglib-gi-2.0-python2.7.so.0: undefined symbol: _Py_ZeroStruct')

(nemo:13713): Nemo-Python-WARNING **: pygobject initialization failed

(nemo:13713): Nemo-Python-WARNING **: nemo_python_init_python failed


from nemo-extensions.

peterclemenko avatar peterclemenko commented on July 4, 2024

Workaround for the issue, until fixed is to do the following in terminal:

sudo ln -s "/usr/lib/x86_64-linux-gnu/libpython2.7.so" "/usr/lib/libpython2.7.so.1.0"

from nemo-extensions.

eblanshey avatar eblanshey commented on July 4, 2024

Had the same problem here, except the fix needed to be:

sudo ln -s "/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0" "/usr/lib/libpython2.7.so.1.0"

from nemo-extensions.

wrouesnel avatar wrouesnel commented on July 4, 2024

This probably explains RabbitVCS not working as well for me. Time to dig into the makefile.

from nemo-extensions.

wrouesnel avatar wrouesnel commented on July 4, 2024

This is actually two problems to do with libpython in raring it would seem, and I needed two symlinks to fix it as of this bug

sudo ln -sf /usr/lib/x86_64-linux-gnu/libpython2.7.so.1 /usr/lib/libpython2.7.so.1
sudo ln -sf /usr/lib/libpython2.7.so.1 /usr/lib/libpython2.7.so.1.0

from nemo-extensions.

dtantsur avatar dtantsur commented on July 4, 2024

sudo ln -s "/usr/lib/libpython2.7.so.1.0" /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
fixes the problem under Precise (nemo from stable ppa)

from nemo-extensions.

CloCkWeRX avatar CloCkWeRX commented on July 4, 2024

Causes a fair amount of pain with https://code.google.com/p/rabbitvcs/issues/detail?id=815

from nemo-extensions.

CloCkWeRX avatar CloCkWeRX commented on July 4, 2024
    debug("g_module_open " PY_LIB_LOC "/libpython" PYTHON_VERSION "." G_MODULE_SUFFIX ".1.0");
    libpython = g_module_open(PY_LIB_LOC "/libpython" PYTHON_VERSION "." G_MODULE_SUFFIX ".1.0", 0);
    if (!libpython)
        g_warning("g_module_open libpython failed: %s", g_module_error());

and

Makefile:

    -DPY_LIB_LOC="\"$(PYTHON_LIB_LOC)\""        \
if test "x$PYTHON_LIB_LOC" = x; then
    PYTHON_LIB_LOC="${py_prefix}/lib${libdirsuffix}" 
fi
py_prefix=`$PYTHON -c "import sys; print(sys.prefix)"`

whatever $PYTHON -c "import sys; print(sys.prefix) is evaluating to is wrong for many of you - or at least, whatever the maintainer's version evaluated to doesn't fit

from nemo-extensions.

mtwebster avatar mtwebster commented on July 4, 2024

This should already be fixed in current nemo-python

3ce72ce

from nemo-extensions.

leigh123linux avatar leigh123linux commented on July 4, 2024

@mtwebster

I still have this issue in Mint 17 32bit using nemo-terminal, it looks for /usr/lib/libpython2.7.so.1.0 which doesn't exist.

from nemo-extensions.

kb5won avatar kb5won commented on July 4, 2024

I have this issue in Mint 17 64bit, not fixed by adding file links described above.

from nemo-extensions.

rdig avatar rdig commented on July 4, 2024

In Linux Mint 17 32-bit the library is in another location than all those previously posted. So for a quick fix just run:

sudo ln -s /usr/lib/i386-linux-gnu/libpython2.7.so.1.0 /usr/lib/libpython2.7.so.1.0

(you're linking it one folder up)

from nemo-extensions.

jfarthing84 avatar jfarthing84 commented on July 4, 2024

In Arch Linux, just after updating to 2.6, nemo-python no longer works. I get the following messages:

(nemo:3680): Nemo-Python-WARNING **: g_module_open libpython failed: /usr/lib/i386-linux-gnu//libpython2.7.so.1.0: cannot open shared object file: No such file or directory
ImportError: could not import gobject (error was: '/usr/lib/python2.7/site-packages/gi/_gi.so: undefined symbol: _Py_ZeroStruct')

(nemo:3680): Nemo-Python-WARNING **: pygobject initialization failed

(nemo:3680): Nemo-Python-WARNING **: nemo_python_init_python failed

Oddly enough, this is a 64-bit install and libpython2.7.so.1.0 exists in /usr/lib.

from nemo-extensions.

leigh123linux avatar leigh123linux commented on July 4, 2024

@jfarthing84
Looks like your python is at fault

'/usr/lib/python2.7/site-packages/gi/_gi.so: undefined symbol: _Py_ZeroStruct')

from nemo-extensions.

jfarthing84 avatar jfarthing84 commented on July 4, 2024

I just downgraded nemo-python to 2.4 and all is well. I find that very odd as the only thing that seemed to have changed is the version number. Any ideas?

from nemo-extensions.

LuXugang avatar LuXugang commented on July 4, 2024

I have the same problem, solved outline
you should create two symbol links

from nemo-extensions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.