Talk:HackingHowto: Difference between revisions

From GNU MediaGoblin Wiki
Jump to navigation Jump to search
No edit summary
Line 3: Line 3:


I followed the setup guide on this wikipage, on Manjaro which is more or less a fork of arch. Additionally to the requirements listet under the Headline Arch/Parabola I needed to install npm to be able to run make without errors. I don't know if npm is installed on a fresh arch installation but it should be save to add it on the wikipage.
I followed the setup guide on this wikipage, on Manjaro which is more or less a fork of arch. Additionally to the requirements listet under the Headline Arch/Parabola I needed to install npm to be able to run make without errors. I don't know if npm is installed on a fresh arch installation but it should be save to add it on the wikipage.

== Soo.... most things are broken ==

I can't reach you guys through chat, the bug pages are broken, and there's no way to get a hold of anyone.

Couple things:
This doesn't seem to work on OSx at all.
1) don't use port. Homebrew is the way to go
2) when you go to make the environment, the step with the multi language script has an extra / in the command that causes it to fail
3) you can't start the environments with the lazyserver or celery scripts from the instructions. I tried for hours to get through the weird dependency hell before giving up, even after trying venv and such
4) your bug reporting pages are 404's or 500's

I'm getting a tinker board in a couple days and I'll try on a pure linux environment to see if it works at all but the python stuff looks like it's bonkers complicated to get running on osx and your instructions appear to presume you have your MediaGoblin dev env set up already.
I was getting errors like:

+ ./bin/paster serve paste.ini --reload
./bin/paster: line 3: __requires__: command not found
./bin/paster: line 4: import: command not found
./bin/paster: line 5: import: command not found
from: can't read /var/mail/pkg_resources
./bin/paster: line 9: syntax error near unexpected token `('
./bin/paster: line 9: ` sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])'

so I have no idea what these scripts are trying to do but the errors are inscrutable including not being able to find core language functions.
When I run python directly I can type the commands directly and they don't give the same errors. So.... no idea.

Sorry, was going to try to contribute but this looks like a mess.

Revision as of 03:43, 3 May 2019

With the SQL transition underway, on my Debian stable system, I had to install the python-sqlalchemy and python-sqlalchemy-ext packages to make MediaGoblin go. IRC advised me to get them from backports, which I did, and that's worked out, although there are packages in stable too -- not sure if they're new enough. Either way, should instructions about this be added to the documentation now? Or is a temporary transition thing? --Brett 09:18, 31 March 2012 (EDT)

When using a virtualenv, these are downloaded for you in ./bin/python setup.py develop --upgrade

I followed the setup guide on this wikipage, on Manjaro which is more or less a fork of arch. Additionally to the requirements listet under the Headline Arch/Parabola I needed to install npm to be able to run make without errors. I don't know if npm is installed on a fresh arch installation but it should be save to add it on the wikipage.

Soo.... most things are broken

I can't reach you guys through chat, the bug pages are broken, and there's no way to get a hold of anyone.

Couple things: This doesn't seem to work on OSx at all. 1) don't use port. Homebrew is the way to go 2) when you go to make the environment, the step with the multi language script has an extra / in the command that causes it to fail 3) you can't start the environments with the lazyserver or celery scripts from the instructions. I tried for hours to get through the weird dependency hell before giving up, even after trying venv and such 4) your bug reporting pages are 404's or 500's

I'm getting a tinker board in a couple days and I'll try on a pure linux environment to see if it works at all but the python stuff looks like it's bonkers complicated to get running on osx and your instructions appear to presume you have your MediaGoblin dev env set up already. I was getting errors like:

+ ./bin/paster serve paste.ini --reload ./bin/paster: line 3: __requires__: command not found ./bin/paster: line 4: import: command not found ./bin/paster: line 5: import: command not found from: can't read /var/mail/pkg_resources ./bin/paster: line 9: syntax error near unexpected token `(' ./bin/paster: line 9: ` sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', , sys.argv[0])'

so I have no idea what these scripts are trying to do but the errors are inscrutable including not being able to find core language functions. When I run python directly I can type the commands directly and they don't give the same errors. So.... no idea.

Sorry, was going to try to contribute but this looks like a mess.