3604: error at install time

makowsk********@gmai***** (Google Code) (Is this you? Claim this profile.)
Oct. 6, 2014
What version are you running?
0.8.11

What's the URL of the page containing the problem?
none

What steps will reproduce the problem?
1. run setup.py install

What is the expected output? What do you see instead?
expect install, but get :
running build_media
Traceback (most recent call last):
  File "contrib/internal/build-media.py", line 24, in <module>
    ret = call_command('collectstatic', interactive=False, verbosity=2)
  File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 95, in call_command
    raise CommandError("Unknown command: %r" % name)
django.core.management.base.CommandError: Unknown command: 'collectstatic'


What operating system are you using? What browser?
Mageia Cauldron

Please provide any additional information below.

this occurs when trying to build the package for Mageia
david
#1 david
If you want to install from git (or a tar.gz), you'll need to install a handful of other dependencies (django-pipeline, uglifyjs, lesscss). None of this is needed if you easy_install the .egg.
  • +SetupIssue
#2 makowsk********@gmai***** (Google Code) (Is this you? Claim this profile.)
I know, and I have all the dependencies
david
#3 david
The 'collectstatic' management command actually seems to be part of the django package. What version of django do you have installed?
#4 makowsk********@gmai***** (Google Code) (Is this you? Claim this profile.)
yes it is, and I have it. The build is made with Django 1.7, but I saw that Arch have or had the same issue, or can it be an issue with missing lesscss ?
Strange because Fedora don't add this dependency in their package (http://pkgs.fedoraproject.org/cgit/python-djblets.git/tree/python-djblets.spec)
david
#5 david
It shouldn't be a missing lesscss. Some distributions package django in strange ways. Perhaps the django-staticfiles stuff is in a separate package?
#6 makowsk********@gmai***** (Google Code) (Is this you? Claim this profile.)
django-staticfiles stuff is there,
see : http://sophie.zarb.org/rpms/8ee9970f532cead9b5dc1165eb360ce1/files




david
#7 david
Well, something is wrong with the configuration or installation of the system. I'm not really sure I can help debug this any further.

Is there a reason why you can't just install the egg?
#8 makowsk********@gmai***** (Google Code) (Is this you? Claim this profile.)
Yes, there is. djblets is packaged in Mageia, and I want to update the package for next comming Mageia version.
Did you tried to build it with Django 1.7 yet ?
david
#9 david
Ah, I hadn't even noticed that you said django 1.7. We have not tested it with django 1.7, and I can't claim whether there's anything in 1.7 that would break it. Probably the reason why it can't find collectstatic is the setup.py dependency on "Django>=1.6.7,<1.7"
#10 makowsk********@gmai***** (Google Code) (Is this you? Claim this profile.)
I patched the dependency to be "Django>=1.6,<1.8"
chipx86
#11 chipx86
We are not known to be compatible with Django 1.7. It is likely you will hit some significant problems. Please downgrade to 1.6.
#12 makowsk********@gmai***** (Google Code) (Is this you? Claim this profile.)
too bad, so Mageia will stay with python-djblets 0.7.30 and Django14
since we have Django14 (LTS) and Django1è (latest stable)