Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nautilus-sendto & gnomolicious
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
battistis
Apprentice
Apprentice


Joined: 20 Jul 2006
Posts: 249

PostPosted: Fri Jan 05, 2007 10:15 am    Post subject: nautilus-sendto & gnomolicious Reply with quote

salve,
ho provato ad installare questi due programmini trovati su gnomefiles.org per gnome ma ovviamente c'e' qualcosa che nn va
l'installazione l'ho fatta da sorgente tgz:
http://gnomefiles.org/app.php/Nautilus-SendTo
http://gnomefiles.org/app.php/Gnomolicious

nautilus-sendo, cliccando con il destro sulla voce nel menu mi da quest'errore dal bug buddy di gnome
Code:
Memory status: size: 22036480 vsize: 0 resident: 22036480 share: 0 rss: 7462912 rss_rlim: 0
CPU usage: start_time: 1167991927 rtime: 0 utime: 7 stime: 0 cutime:6 cstime: 0 timeout: 1 it_real_value: 0 frequency: 0

Backtrace was generated from '/usr/bin/nautilus-sendto'

Using host libthread_db library "/lib/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1226459472 (LWP 12341)]
0xffffe410 in __kernel_vsyscall ()
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7514ef3 in __waitpid_nocancel () from /lib/libpthread.so.0
#2  0xb7f56f3b in gnome_gtk_module_info_get () from /usr/lib/libgnomeui-2.so.0
#3  0xbf991308 in ?? ()
#4  0x00000000 in ?? ()

Thread 1 (Thread -1226459472 (LWP 12341)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7514ef3 in __waitpid_nocancel () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f56f3b in gnome_gtk_module_info_get () from /usr/lib/libgnomeui-2.so.0
No symbol table info available.
#3  0xbf991308 in ?? ()
No symbol table info available.
#4  0x00000000 in ?? ()
No symbol table info available.
#0  0xffffe410 in __kernel_vsyscall ()


gnomolicus da consolle:
Code:
 $ gnomolicious
Traceback (most recent call last):
  File "/usr/local/bin/gnomolicious", line 32, in ?
    from gnomolicious import conf
ImportError: No module named gnomolicious


qualche consiglio?
anche come rimuoverli :oops:
e xchè dev'essere sempre tutto cosi' difficile :cry:
_________________
\\ba7/
Back to top
View user's profile Send private message
lucapost
Veteran
Veteran


Joined: 24 Nov 2005
Posts: 1419
Location: <ud|me|ts> - Italy

PostPosted: Fri Jan 05, 2007 10:28 am    Post subject: Reply with quote

Fai le cose pulite, per uno l'ebuild è in portage:
Code:
lucapost@jarod ~ $ eix nautilus-s
* gnome-extra/nautilus-sendto
     Available versions:  !0.5 !0.7 !0.8
     Homepage:            http://www.gnome.org/
     Description:         A nautilus extension for sending files to locations


Per gnomolicious puoi scriverne sempre uno....
_________________
LP
Back to top
View user's profile Send private message
battistis
Apprentice
Apprentice


Joined: 20 Jul 2006
Posts: 249

PostPosted: Fri Jan 05, 2007 10:33 am    Post subject: Reply with quote

per rimouvere i file che ho installato precedentemente? li devo cercare uno a uno basandomi sull'output del ./configure ?
_________________
\\ba7/
Back to top
View user's profile Send private message
riverdragon
Veteran
Veteran


Joined: 14 Sep 2006
Posts: 1269
Location: Verona

PostPosted: Fri Jan 05, 2007 10:35 am    Post subject: Reply with quote

Per rimuoverli, se hai ancora la cartella di installazione (o se ti riscompatti il pacchetto della stessa versione) basta un make uninstall.
Back to top
View user's profile Send private message
Luca89
Advocate
Advocate


Joined: 27 Apr 2005
Posts: 2107
Location: Agrigento (Italy)

PostPosted: Fri Jan 05, 2007 10:37 am    Post subject: Reply with quote

infatti, conviene sempre usare gli ebuild esistenti o al limite scriverne uno.
_________________
Running Fast!
Back to top
View user's profile Send private message
battistis
Apprentice
Apprentice


Joined: 20 Jul 2006
Posts: 249

PostPosted: Fri Jan 05, 2007 12:24 pm    Post subject: Reply with quote

nautilus-sendto sembra essersi disinstallato ... anche se la voce nel menu' a tendina è rimmasta..forse riavviando gnome se ne andrà anche quella

mentre gnomilicus lo installato con un setup.py che nn sembra avere un parametro uninstall :evil:
Code:

#!/usr/bin/env python
# -*- coding: utf-8 -*-
# setup from gnomolicious
#   taken from straw http://www.nongnu.org/straw/index.html
#   adapted by Nicolas Évrard <nicoe@nutellux.be>

import imp
import sys
import os
import glob

from tools.gnome_distutils import setup
try:
    from dsextras import TemplateExtension, getoutput, GLOBAL_MACROS
except ImportError:
    try:
        from gtk.dsextras import TemplateExtension, getoutput, GLOBAL_MACROS
    except ImportError:
        sys.exit('Error: Can not find dsextras or gtk.dsextras')

name = 'gnomolicious'
version = '0.7.2'

def modules_check():
    '''Check if necessary modules is installed.
    The function is executed by distutils (by the install command).'''
    try:
        import pygtk
        pygtk.require('2.0')
        imp.find_module('gtk')
    except AssertionError:
        sys.exit('Error: pygtk > 2.0 is required')
    except ImportError:
        sys.exit('Error: pygtk is required')
    except:
        sys.exit('Error: Unknown error')
        raise

    mod_list = [
        ('gnome', 'gnome', 0),
        ('gconf', "gconf", 0)]

    ok = 1
    for m, w, x in mod_list:
        try:
            if not x:
                exec('import %s' % m)
            else:
                imp.find_module(m)
        except ImportError:
            ok = False
            print 'Error: %s Python module is required to install %s' \
                  % (w, name.title())

    # gtk.glade needs special care (ugly...)
    if ok:
        path = imp.find_module('gtk')
        if not os.path.exists(path[1] + '/glade.so'):
            ok = False
            print 'Error: %s module is required to install %s' \
                  % ("PyGTK's glade", name.title())
    if not ok:
        sys.exit(1)

def translations():
    '''Build mo-po mapping from po directory'''
    trans = []
    dest = 'share/locale/%s/LC_MESSAGES/%s.mo'
    for po in glob.glob('po/*.po'):
        lang = os.path.splitext(os.path.basename(po))[0]
        trans.append((dest % (lang , name), po))
    return trans

def translation_files():
    '''Files for translation...'''
    potfile = './po/POTFILES.in'

    if not os.path.exists(potfile):
        sys.exit("No such file, '%s'. Please file a bug report.." % potfile)

    f = open(potfile)
    files = []

    for line in f:
        # ignore comments and newline
        if line.startswith('#') or line.startswith('\n'):
            continue
        else: files.append(line.strip())

    f.close()
    return files

def data_files():
    '''Build list of data files to be installed'''
    images = glob.glob('data/*.png')
    files = [
        ('share/doc/gnomolicious', ['examples/deskbar.py']),
        ('share/pixmaps', ['data/gnomolicious.png']),
        ('share/gnomolicious', images + ['glade/gnomolicious.glade'])]
    return files

long_desc = '''\
Gnomolicious is a GNOME Applet to help you post on the del.icio.us
bookmarks sharing site.'''

classifiers = """\
Development Status :: 5 - Production/Stable
Intended Audience :: End Users/Desktop
License :: OSI Approved :: GNU General Public License (GPL)
Programming Language :: Python
Topic :: Communications
Topic :: Desktop Environment :: Gnome
Topic :: Internet :: WWW/HTTP
Topic :: Utilities
"""

setup(name             = name,
      version          = version,
      description      = 'A GNOME way to post on del.icio.us',
      long_description = long_desc,
      url              = 'http://www.nongnu.org/gnomolicious',
      author           = 'Nicolas Évrard',
      author_email     = 'nicoe@altern.org',
      classifiers      = filter(None, classifiers.split("\n")),
      license          = 'GPL',
      data_files       = data_files(),
      pot_file         = 'po/gnomolicious.pot',
      translations     = translations(),
      #config_files     = [('gconf/schemas',['data/straw.schemas'],
      #                     'with-gconf-schema-file-dir')],
      scripts          = ['scripts/gnomolicious'],
      modules_check    = modules_check,
      packages         = ['gnomolicious'],
      package_dir      = {'gnomolicious' : 'src'},
      msg_sources      = translation_files(),
      desktop_file     = [],
      server_file      = ['data/gnomolicious.server.in']
      )

_________________
\\ba7/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum