Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install with --record option fails #1373

Closed
lazka opened this issue Mar 15, 2015 · 7 comments
Closed

Install with --record option fails #1373

lazka opened this issue Mar 15, 2015 · 7 comments

Comments

@lazka
Copy link
Member

lazka commented Mar 15, 2015

Original issue 1373 created by thomas.e.zander on 2014-04-22T10:10:33.000Z:

Please describe the problem thoroughly and accurately. If possible paste
the contents of the ~/.quodlibet Dump or MiniDump file associated with the
problem; otherwise, you must at a minimum report the version of Quod Libet
and the operating system you are using.

- What did you try to do?
Installing quodlibet using the --record option to log the installed files:
./setup.py install --record /tmp/quodlibet-install-log.txt

- What did you expect to happen?
Installation as usual, plus the specified log file in /tmp

- What did happen instead?
Installation stops with an exception:

Traceback (most recent call last):
File "./setup.py", line 426, in <module>
setup(**setup_kwargs)
File "/usr/local/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/local/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/local/lib/python2.7/distutils/command/install.py", line 582, in run
outputs = self.get_outputs()
File "/usr/local/lib/python2.7/distutils/command/install.py", line 625, in get_outputs
for filename in cmd.get_outputs():
File "/usr/local/lib/python2.7/distutils/cmd.py", line 105, in getattr
raise AttributeError, attr
AttributeError: get_outputs

@lazka
Copy link
Member Author

lazka commented Mar 15, 2015

Comment #1 originally posted by reiter.christoph on 2014-04-22T16:04:35.000Z:

Thanks.

setup.py bdist can give you roughly the same thing in the mean time:

./setup.py bdist
cd dist
tar xvzf *.tar.gz
find usr -printf "/%p\n" > /tmp/quodlibet-install-log.txt

@lazka
Copy link
Member Author

lazka commented Mar 15, 2015

Comment #2 originally posted by thomas.e.zander on 2014-04-22T17:16:48.000Z:

Maybe some additional information may be helpful.

I am trying to fix the quodlibet port on FreeBSD, where it is marked broken because creating a package from the package building framework is not possible right now.
This is because a port that announces it uses python distutils for building and installing (instead of Makefiles) MUST install properly with the --report option. That's how the framework is currently implemented.

If you have a pointer for me how to quickly get --report to work (I'm not an expert on distutils, sorry), we can fix it with a temporary patch until you have resolved this upstream.

Thanks and best regards

@lazka
Copy link
Member Author

lazka commented Mar 15, 2015

Comment #3 originally posted by reiter.christoph on 2014-04-22T22:17:41.000Z:

This issue was closed by revision 4d48668.

@lazka
Copy link
Member Author

lazka commented Mar 15, 2015

Comment #4 originally posted by reiter.christoph on 2014-04-22T22:17:41.000Z:

This issue was closed by revision 4cbb5ca.

@lazka
Copy link
Member Author

lazka commented Mar 15, 2015

Comment #5 originally posted by reiter.christoph on 2014-04-22T22:18:51.000Z:

Attached is a patch against the 3.1 release.

@lazka
Copy link
Member Author

lazka commented Mar 15, 2015

Comment #6 originally posted by reiter.christoph on 2014-04-23T09:49:49.000Z:

Just saw that FreeBSD ist still on some old 2.x release, attached is the above fix for 2.6.3, which might easier for a first update.

If you need any help: #quodlibet on irc.oftc.net

@lazka
Copy link
Member Author

lazka commented Mar 15, 2015

Comment #7 originally posted by thomas.e.zander on 2014-04-23T10:42:15.000Z:

Thanks for your super-quick taking care of the issue!
First thing I did this morning was creating a patch against 2.6.3 from your patch against 3.1.0 as it greatly helped me to understand what was missing.

We need a 2.x release because our default install of gstreamer is 0.10 as of now, but we will move to 3.x eventually, no worries :)

@lazka lazka closed this as completed Mar 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant