Installation of 0.9.4-0ubuntu1 failed

Bug #214401 reported by Michael R. Head
38
Affects Status Importance Assigned to Milestone
MeMaker
Fix Released
Undecided
Unassigned
memaker (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: memaker

Glad to see memaker in the repository! I tried to install it using synaptic today:

Selecting previously deselected package memaker.
(Reading database ... 300966 files and directories currently installed.)
Unpacking memaker (from .../memaker_0.9.4-0ubuntu1_all.deb) ...
Setting up memaker (0.9.4-0ubuntu1) ...
Compiling /usr/lib/python2.4/site-packages/libmemaker/image_loader.py ...
  File "/usr/lib/python2.4/site-packages/libmemaker/image_loader.py", line 32
    class ImageLoader():
                      ^
SyntaxError: invalid syntax

Compiling /usr/lib/python2.4/site-packages/libmemaker/image_loader_dummy.py ...
  File "/usr/lib/python2.4/site-packages/libmemaker/image_loader_dummy.py", line 25
    class ImageLoader():
                      ^
SyntaxError: invalid syntax

pycentral: pycentral pkginstall: error byte-compiling files (5)
pycentral pkginstall: error byte-compiling files (5)
dpkg: error processing memaker (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 memaker
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up memaker (0.9.4-0ubuntu1) ...
Compiling /usr/lib/python2.4/site-packages/libmemaker/image_loader.py ...
  File "/usr/lib/python2.4/site-packages/libmemaker/image_loader.py", line 32
    class ImageLoader():
                      ^
SyntaxError: invalid syntax

Compiling /usr/lib/python2.4/site-packages/libmemaker/image_loader_dummy.py ...
  File "/usr/lib/python2.4/site-packages/libmemaker/image_loader_dummy.py", line 25
    class ImageLoader():
                      ^
SyntaxError: invalid syntax

pycentral: pycentral pkginstall: error byte-compiling files (4)
pycentral pkginstall: error byte-compiling files (4)
dpkg: error processing memaker (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 memaker

Related branches

Revision history for this message
Michael R. Head (burner) wrote :

After removing python2.4, the install proceeded OK, so I'm guessing the empty parens on a class is invalid syntax in python 2.4 (but has been added in 2.5)

Revision history for this message
Iandefor (iandefor) wrote :

Having the same problem.

I tried michael's solution, removed the installed package (apt-get --purge remove memaker), did apt-cache clean, and installed again. Didn't work, but /usr/bin/memaker got installed; running it produces the following output:

ian@leviathan:~$ /usr/bin/memaker
Traceback (most recent call last):
  File "/usr/bin/memaker", line 20, in <module>
    from libmemaker.motor import *
ImportError: No module named libmemaker.motor

I would've filed a different bug but I'm betting the ultimate cause is this one.

Revision history for this message
encompass (encompass) wrote :

I wouldn't have a clue... but it would be good if we have a packager that had experience and time to be a maintainer. Anyone know a motu who can help?

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

Confirmed by duplicate bug report.

Changed in memaker:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Iandefor (iandefor) wrote :

i just noticed an error in my earlier comment:

/apt-cache/apt-get/

Revision history for this message
TAC one (tacone) wrote :

It's a packaging issue. I made a patch for it, but could not get enough attention in the MOTU's irc channel to get someone helping me to properly modify changelog, version number etc.

Anyone please review my patch and help me get it right.

Revision history for this message
encompass (encompass) wrote : Re: [Bug 214401] Re: Installation of 0.9.4-0ubuntu1 failed

None of us really know how to do this at all...
Let me cc this to pete the original maker of this package. Perhaps he
can help.
Regards,
Jason Brower
On Sat, 2008-06-14 at 15:03 +0000, TAC One wrote:
> It's a packaging issue. I made a patch for it, but could not get enough
> attention in the MOTU's irc channel to get someone helping me to
> properly modify changelog, version number etc.
>
> Anyone please review my patch and help me get it right.
>
> ** Attachment added: "corrects dependency / and build-dep. Don't changes changelog and version number"
> http://launchpadlibrarian.net/15313370/memaker_pythondep25.debian.patch
>

Revision history for this message
TAC one (tacone) wrote :

@encompass: the patch I sent. works. Simply I don't know how to change properly the changelog, which mantainer assign and so on. So, for what concerns ubuntu, it's just about ubuntu packaging guidelines / sponsorship to commit the patch.

Revision history for this message
Michael R. Head (burner) wrote :

There's a patch on the discussion mailing list which should solve this more completely (the archives are private, so you'll need to be on the mailing list to see the patch): http://lists.memaker.org/private.cgi/discussion-memaker.org/2008-June/000387.html

Revision history for this message
David Futcher (bobbo) wrote :

Wrote my own patch that lets people use older versions of Python (instead of bumping it all to Python2.5 which isnt ideal for everyone). Builds fine and installs perfectly.

Subscribing u-u-s for sponsorship.

Revision history for this message
TAC one (tacone) wrote :

@David: I've sent a new package for review to the current mantainer, asking for review. It includes python2.5 patch as well as the new upstream version (featuring e.g. themes).

About python2.5: you're right, I guess we should check upstream's willingness to support python < 2.5. "installation.Instructions" file in the current source defines python2.5 as the minimum requirement.

TAC one (tacone)
Changed in memaker:
assignee: nobody → tacone
status: New → In Progress
Revision history for this message
StefanPotyra (sistpoty) wrote :

@David: patch looks good, I'm just testing it, and if all goes well, I'll upload it. Thanks!

Revision history for this message
StefanPotyra (sistpoty) wrote :

nice, uploaded!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package memaker - 0.9.4-0ubuntu3

---------------
memaker (0.9.4-0ubuntu3) intrepid; urgency=low

  * debian/patches/001-Fix-Install-Errors.dpatch: Fix installation errors (LP: #214401)
  * debian/control:
    - Add dpatch to Build-Depends
    - Bump Debian Standards version to 3.8.0

 -- David Futcher <email address hidden> Thu, 26 Jun 2008 23:41:57 +0100

Changed in memaker:
status: Confirmed → Fix Released
Revision history for this message
David Futcher (bobbo) wrote :

@TACOne/MeMaker upstream

Attached is an edited version of the dpatch i added to the Ubuntu package (removed extra dpatch headers etc.). This will fix the problem upstream so we can drop our patch.

Revision history for this message
TAC one (tacone) wrote :

Thank you David. Actually, I am waiting for upstream to release tarballs, in order to send the new package to REVU.
Subscribing Encompass ( the upstream ) to this bug, so he can read the discussion and decide whether or not incorporate your patch in the new upstream version.

TAC one (tacone)
Changed in memaker:
assignee: tacone → nobody
Revision history for this message
Iain Lane (laney) wrote :

encompass, did this patch make it into trunk? It'd be nice to be able to drop the patch in our packaging.

Revision history for this message
TAC one (tacone) wrote :

should be already fixed

Changed in memaker:
status: In Progress → Fix Released
Revision history for this message
KevinM (kevbert1) wrote :

Is the fix likely to be ported back to Hardy Heron ? I have this error with kernel 2.6.24-24-generic #1 SMP Wed Apr 15 15:11:35 UTC 2009 x86_64 GNU/Linux and memaker 0.9.4-0ubuntu1.

Revision history for this message
encompass (encompass) wrote :

I can try. But I doubt it will be an official release. We are having
trouble having enough man power to package our changes for others. That
and we have a small issue that takes alot of time with the latest ubuntu
releast too.
Regards,
Jason

On Tue, 2009-05-26 at 17:09 +0000, KevinM wrote:
> Is the fix likely to be ported back to Hardy Heron ? I have this error
> with kernel 2.6.24-24-generic #1 SMP Wed Apr 15 15:11:35 UTC 2009
> x86_64 GNU/Linux and memaker 0.9.4-0ubuntu1.
>

Revision history for this message
TAC one (tacone) wrote :

You best bet is to try the deb for intrepid. It will likely work in
hardy as well. Look for it on launchpad.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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