Custom Query (1174 matches)
Results (238 - 240 of 1174)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #5080 | fixed | node vs nodejs on Debian Jessie | ||
| Description |
The currently-supported Debian platform is Debian Wheezy, but Debian Jessie will be out soon, so I attempted a test install on Jessie. If we do not intend to support Debian Jessie for the 0.8 release, this issue can be pushed-back to the 0.9 release. The issue is that the ./bin/bootstrap.sh . . . && make step fails due to a naming change in Debian / Ubuntu, whereby "node" is now packaged as "nodejs". See here for more details on that change: http://stackoverflow.com/questions/18130164/nodejs-vs-node-on-ubuntu-12-04 Creating a symlink between /usr/bin/nodejs and /usr/bin/node allows the bootstrap process to proceed, so it isn't really a problem with the overall program / code. Perhaps, as part of the bootstrap step, we should check to see if "node" works, and (if not) try "nodejs", and if that doesn't work, say that the step failed. The existing setup / code which looks for "node" does work on Fedora 21 installs, though, so I don't think that we can just flat-out switch from looking for "node" to looking for "nodejs". As a final comment, I'm not at a computer where I would have access to the actual error message, but hopefully what I've provided is enough information. Thanks. |
|||
| #5079 | fixed | Duplicate key error when tagging media "tag" and "#tag" | ||
| Description |
I have a user who was getting server errors when uploading media. He was tagging his upload as "tag,#tag". "tag", "#tag", "Tag", and possibly other permutations are given the same tag number in my postgresql database. mediagoblin-prod=# select distinct tag from core__media_tags where name='tag'; tag ------ 1742 (1 row) mediagoblin-prod=# select distinct tag from core__media_tags where name='#tag'; tag ------ 1742 (1 row) mediagoblin-prod=# select distinct tag from core__media_tags where name='Tag'; tag ------ 1742 (1 row)
This causes a foreign key constraint violation when attempting to add "#tag" to Error - <class 'sqlalchemy.exc.IntegrityError'>: (IntegrityError) duplicate key value violates unique constraint "core__media_tags_tag_media_entry_key"
DETAIL: Key (tag, media_entry)=(337, 3534) already exists.
'INSERT INTO core__media_tags (media_entry, tag, name) VALUES (%(media_entry)s, %(tag)s, %(name)s) RETURNING core__media_tags.id' {'tag': 337, 'name': u'#tag', 'media_entry': 3534}
I can reproduce this error by uploading by own media tagged as "tag,#tag". Interestingly, if I tag the media as "tag,tag" then I do not get the foreign key constraint violation. If we can ignore duplicate identical tags in the upload (tag, tag), then I think it would be good if we could also ignore tags which result in duplicate tag numbers in the table. breton suggested I tag with under the 0.8.0 milestone. |
|||
| #5078 | fixed | Debian Jessie: ImportError: No module named babel.messages.frontend | ||
| Description |
Encountered an issue with pybabel when trying to do the ./bootstrap.sh step. python-babel is installed in the proper directory (not necessarily as part of the site packages mediagoblin@jessie:/srv/mediagoblin.chicagolug.org/mediagoblin$ ./bin/pip install Babel Requirement already satisfied (use --upgrade to upgrade): Babel in ./lib/python2.7/site-packages/Babel-1.3-py2.7.egg Here's the error output mediagoblin@jessie:/srv/mediagoblin.chicagolug.org/mediagoblin$ ./bootstrap.sh && ./configure && make autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf --force autoreconf: configure.ac: not using Autoheader autoreconf: configure.ac: not using Automake autoreconf: Leaving directory `.' checking for python2.7... python2.7 checking for virtualenv... virtualenv checking for a thread-safe mkdir -p... /bin/mkdir -p checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating Makefile config.status: creating mediagoblin/_version.py ./devtools/update_extlib.sh ./devtools/compile_translations.sh Traceback (most recent call last):
ImportError: No module named babel.messages.frontend Makefile:118: recipe for target 'i18n' failed make: * [i18n] Error 1 |
|||
