Advanced search
Log In
New Account
Home My Page Project Cloud Code Snippets Project Openings PluThon
Summary Forums Tracker Lists Tasks News SCM Files Wiki

Bugs: Browse | Download .csv

[#4680] Pluthon fails to build Debian package

Please login

2009-10-15 08:29
Submitted By:
Juha Hentunen (juhentun1)
Assigned To:
Fabricio Epaminondas (fabricioepa)
Pluthon fails to build Debian package

Detailed description
If you use default setup script (created with project) then Pluthon fails to build  Debian package (Pluthon test build
542, tested in Linux).
Traceback (most recent call last):
  File "", line 52, in <module>
    scripts = scripts
  File "/usr/lib/python2.5/distutils/", line 151, in setup
  File "/usr/lib/python2.5/distutils/", line 974, in run_commands
  File "/usr/lib/python2.5/distutils/", line 994, in run_command
  File "/usr/lib/python2.5/distutils/command/", line 99, in run
    for theDir, theFiles in self.distribution.data_files:
TypeError: 'NoneType' object is not iterable lines 45-53
    name = 'pythonhildonhelloworld',
    version = '0.1',
    author = '',
    packages = packages,
    package_dir = package_dir,
    scripts = scripts             (line 52)

If you create setup script separately then Debain package build succeeds.


Date: 2009-11-25 07:46
Sender: Juha  Hentunen

Verified using build mica_esbox_pluthon_3.4.2_build.613.
Date: 2009-10-27 17:14
Sender: Fabricio Epaminondas

I have filed a BUG on bdist_maemo tracker:
Date: 2009-10-27 15:05
Sender: Fabricio Epaminondas

Well, it looks like a b_distmaemo BUG. If you add the line:

data_files = []
The build works fine, but the data_files attribute is optional
(it should be
etup-script, topic 2.7)

BTW I added the line to project template and it worked.

Date: 2009-10-20 11:23
Sender: Ilja Pyykkonen

Seem that "default" script provided by Mica
template does not have support for bdist_maemo build what is
used to generate PluThon Debian package.

Attached Files:

Name Download
No Files Currently Attached


Field Old Value Date By
ResolutionFixed2009-11-25 07:46juhentun1
ResolutionAwaiting Response2009-10-27 18:43fabricioepa
ResolutionAccepted As Bug2009-10-27 17:14fabricioepa
ResolutionNone2009-10-27 15:05fabricioepa
assigned_tonone2009-10-22 20:24fabricioepa

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment