bugMyPaint - Bugs: bug #19777, unable to run ./mypaint (build...

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #19777: unable to run ./mypaint (build error: "no attribute delete_MappingWrapper")

Submitted by:  bebin <bebin>
Submitted on:  Fri Jun 1 14:28:37 2012  
Severity: 2 - MinorPriority: 5 - Normal
Status: Works For MePrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Release: git master 1ee04f3Planned Release: None
Operating System: Ubuntu 12.04 (precise) 64-bit

Fri Jan 4 20:41:53 2013, comment #5:

This bug has been closed because the developers were unable to
reproduce the issue that was described, or because the described
behavior is not considered to be an issue.

If you can provide better information on how to reproduce the
issue, please reopen or file a new report with the info.

Jon Nordby <jonnor>
Project Administrator
Fri Jun 1 21:49:34 2012, comment #4:

Thanks for the fix now i am able to run mypaint removing ./lib/_mypaintlib.so file worked.

bebin <bebin>
Fri Jun 1 16:06:36 2012, comment #3:

Okay, reproduced. This is a build error caused by the recent libs refactoring for a separable build, and not running either the cleanup code or a purge of files not under version control. Steps to reproduce:

This sequence results in extra built libs in the working directory:

In this case, the correct fix is to either delete the one under lib/ this one, or better still to run "git clean -dfx" (warning: dangerous if you keep other files in your working areas!) on each update. Do this:

Which should result in a runnable mypaint.

Andrew Chadwick <achadwick>
Project Administrator
Fri Jun 1 15:52:59 2012, comment #2:

Confirming that I had a similar problem with my old git copy recently. The traceback was almost identical, in fact, except that the AttributeError I got was "'module' object has no attribute 'log_lcms2_error'"

My git-fu is weak, and I wasn't able to find what files or leftover bits were causing the problem, so I just started over with a new git clone in a fresh directory. I didn't bother reporting it because I assumed it was caused by a test patch I'd applied before or something.

That fixed it for me, and it's been updating and running fine since.

Joshua Tyler <marand>
Fri Jun 1 15:07:20 2012, comment #1:

Works for me with HEAD=master=1ee04f3, but I've had several problems with cleanup of late while tracking MyPaint. Does making and testing a clean tree,

work for you? If so, go back to your normal working dir, and type

to see what's in there that shouldn't be present. Try removing any "Untracked files" which don't look helpful. If this fixes it, it would be very useful if you could list the file(s) you needed to remove :-)

My guess is that an old .so file might cause this to happen.

Andrew Chadwick <achadwick>
Project Administrator
Fri Jun 1 14:28:37 2012, original submission:

unable to run ./mypaint

Traceback (most recent call last):
File "./mypaint", line 164, in <module>
datapath, extradata, confpath, localepath = get_paths()
File "./mypaint", line 108, in get_paths
from lib import mypaintlib
File "/home/arts25/mypaint/lib/mypaintlib.py", line 134, in <module>
class MappingWrapper(_object):
File "/home/arts25/mypaint/lib/mypaintlib.py", line 144, in MappingWrapper
_swig_destroy_ = _mypaintlib.delete_MappingWrapper
AttributeError: 'module' object has no attribute 'delete_MappingWrapper'

bebin <bebin>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by jonnor (Posted a comment)
  • -unavailable- added by marand (Posted a comment)
  • -unavailable- added by achadwick (Posted a comment)
  • -unavailable- added by bebin (Submitted the item)
  • -unavailable- added by bebin
  • -unavailable- added by bebin
  • -unavailable- added by bebin
  • -unavailable- added by bebin
  • -unavailable- added by bebin
  • -unavailable- added by bebin

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 11 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri Jan 4 20:41:53 2013jonnorOpen/ClosedOpen=>Closed
    Fri Jun 1 16:06:36 2012achadwickSeverity4 - Important=>2 - Minor
      StatusNeed Info=>Works For Me
      Summaryunable to run ./mypaint=>unable to run ./mypaint (build error: "no attribute delete_MappingWrapper")
    Fri Jun 1 15:07:20 2012achadwickStatusNone=>Need Info
    Fri Jun 1 14:28:37 2012bebinCarbon-Copy-=>Added andrew chadwick
      Carbon-Copy-=>Added mihai cozma
      Carbon-Copy-=>Added -unavailable-
      Carbon-Copy-=>Added bebin
      Carbon-Copy-=>Added martin franco
      Carbon-Copy-=>Added martin renold
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup