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

State:
Open
Date:
2009-10-15 08:29
Priority:
3
Submitted By:
Juha Hentunen (juhentun1)
Assigned To:
Fabricio Epaminondas (fabricioepa)
Summary:
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).
Console:
Traceback (most recent call last):
  File "setup.py", line 52, in <module>
    scripts = scripts
  File "/usr/lib/python2.5/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/lib/python2.5/distutils/dist.py", line 974, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.5/distutils/command/bdist_maemo.py", line 99, in run
    for theDir, theFiles in self.distribution.data_files:
TypeError: 'NoneType' object is not iterable

setup.py lines 45-53
setup(
    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.

Followup

Message
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:
http://code.google.com/p/bdist-maemo/issues/detail?id=1
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 http://docs.python.org/distutils/setupscript.html#s
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" setup.py 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

Changes:

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