Your message dated Fri, 6 Jul 2012 23:05:53 +0530
with message-id 
<cap0eocxd5o9kaz_faclw9bynkmvdf-wjefvqrjuv4gggxnt...@mail.gmail.com>
and subject line Re: Bug#680543: apport module import fails
has caused the Debian Bug report #680543,
regarding apport module import fails
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
680543: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680543
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: apport
Version: 2.2.3-1
Severity: normal


In [4]: import apport
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call
last)
/home/rrs/Community/Packaging/apport/<ipython-input-4-dea47fa195fb> in
<module>()
----> 1 import apport

/home/rrs/Community/Packaging/apport/apport/__init__.py in <module>()
----> 1 from apport.report import Report
      2 
      3 from apport.packaging_impl import impl as packaging
      4 
      5 Report  # pyflakes

/home/rrs/Community/Packaging/apport/apport/report.py in <module>()
     28 import problem_report
     29 import apport
---> 30 import apport.fileutils
     31 from apport.packaging_impl import impl as packaging
     32 

/home/rrs/Community/Packaging/apport/apport/fileutils.py in <module>()          
                                                                               
     21 from problem_report import ProblemReport                                
                                                                               
     22                                                                         
                                                                               
---> 23 from apport.packaging_impl import impl as packaging                     
                                                                               
     24                                                                         
                                                                               
     25 report_dir = os.environ.get('APPORT_REPORT_DIR', '/var/crash')          
                                                                               
                                                                                
                                                                               
ImportError: No module named packaging_impl


The setup file mentions about conditional installation. 

# try to auto-setup packaging_impl
if len(sys.argv) >= 2 and sys.argv[1] != 'sdist' and not
os.path.exists('apport/packaging_impl.py'):
    if os.path.exists('/etc/apt/sources.list'):
        print('Installing apt/dpkg packaging backend.')
        shutil.copy('backends/packaging-apt-dpkg.py',
'apport/packaging_impl.py')
    elif os.path.exists('/usr/bin/rpm'):
        print('Installing RPM packaging backend.')
        shutil.copy('backends/packaging_rpm.py',
'apport/packaging_impl.py')
    else:
        print('Could not determine system package manager. Copy
appropriate backends/packaging* to apport/packaging_impl.py')
        sys.exit(1)


AI: Check with Martin

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.4-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apport depends on:
ii  gir1.2-glib-2.0  1.32.1-1
ii  lsb-base         4.1+Debian7
ii  python           2.7.3~rc2-1
ii  python-apport    2.2.3-1
ii  python-gi        3.2.2-1
pn  sysv-rc          <none>

Versions of packages apport recommends:
pn  apport-symptoms  <none>

Versions of packages apport suggests:
ii  apport-gtk  2.2.3-1
ii  apport-kde  2.2.3-1

-- no debconf information



--- End Message ---
--- Begin Message ---
No. THis was invalid. Mistakenly filed



-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."

--- End Message ---

Reply via email to