Gwibber-service (2.29.1~bzr604-0ubuntu2~daily1~karmic) : IndentationError

Bug #523058 reported by Alessandro Lanave
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Gwibber
Fix Released
Undecided
Unassigned
gwibber (Ubuntu)
Invalid
Undecided
Unassigned
Nominated for Karmic by Alessandro Lanave

Bug Description

Error during configuration of package gwibber-service (2.29.1~bzr604-0ubuntu2~daily1~karmic):

Configurazione di gwibber-service (2.29.1~bzr604-0ubuntu2~daily1~karmic)...
Compiling /usr/lib/python2.6/dist-packages/gwibber/lib/__init__.py ...
Sorry: IndentationError: ('expected an indented block', ('/usr/lib/python2.6/dist-packages/gwibber/lib/__init__.py', 8, 101, '"""\nGwibberPublic is the public python class which provides convience methods \nfor using Gwibber.\n"""\n'))
pycentral: pycentral pkginstall: error byte-compiling files (38)
pycentral pkginstall: error byte-compiling files (38)
dpkg: errore nell'elaborare gwibber-service (--configure):
 il sottoprocesso vecchio script di post-installation ha restituito lo stato di errore 1
Si sono verificati degli errori nell'elaborazione:
 gwibber-service
E: Sub-process /usr/bin/dpkg returned an error code (1)

Related branches

Revision history for this message
Jorge G (geojorg) wrote :

I manage to solve the problem by going into /usr/lib/python2.6/dist-packages/gwibber/lib/__init__.py and errasing the comment in line number 8

Revision history for this message
Darren Worrall (dazworrall) wrote :

Ken has fixed this in trunk, patch attached if anyone wants it (it just indents the docstring).

Changed in gwibber:
status: New → Fix Committed
tags: added: patch
Revision history for this message
danielsk (dskerr) wrote :

It configured with the patch, but now Gwibber does not start at all. When running from terminal I get this:

** (gwibber:4641): WARNING **: Trying to register gtype 'WnckWindowState' as flags when in fact it is of type 'GEnum'

** (gwibber:4641): WARNING **: Trying to register gtype 'WnckWindowActions' as flags when in fact it is of type 'GEnum'

** (gwibber:4641): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as flags when in fact it is of type 'GEnum'
Traceback (most recent call last):
  File "/usr/bin/gwibber", line 50, in <module>
    from gwibber.microblog.util import log
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/util/log.py", line 13, in <module>
    LOG_FILENAME, maxBytes=20971520, backupCount=5)
  File "/usr/lib/python2.6/logging/handlers.py", line 107, in __init__
    BaseRotatingHandler.__init__(self, filename, mode, encoding, delay)
  File "/usr/lib/python2.6/logging/handlers.py", line 59, in __init__
    logging.FileHandler.__init__(self, filename, mode, encoding, delay)
  File "/usr/lib/python2.6/logging/__init__.py", line 819, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python2.6/logging/__init__.py", line 838, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permissão negada: '/home/daniel/.cache/gwibber/gwibber.log'

Revision history for this message
Brian Murray (brian-murray) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage. I have classified this bug as a bug in gwibber.

When reporting bugs in the future please use apport, either via the appropriate application's "Help -> Report a Problem" menu or using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

affects: ubuntu → gwibber (Ubuntu)
tags: added: patch-needswork
removed: patch
Revision history for this message
Brian Murray (brian-murray) wrote :

This docstring doesn't exist in the Lucid version of the package so I'm marking the gwibber (Ubuntu) bug task as Invalid.

Changed in gwibber (Ubuntu):
status: New → Invalid
Revision history for this message
Alessandro Lanave (ingalex) wrote :

patch works fine for me.

Revision history for this message
Omer Akram (om26er) wrote :

per last comment its fixed.

Changed in gwibber:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.