Giter VIP home page Giter VIP logo

pootle's People

Contributors

akoscomp avatar chhitz avatar chrisoelmueller avatar claudep avatar clouserw avatar dupuy avatar dvinella avatar dwaynebailey avatar friedelwolff avatar iafan avatar imankulov avatar julen avatar kscanne avatar llimeht avatar neoatnhng avatar nihathrael avatar peterbe avatar sumpfralle avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pootle's Issues

Unable to run Pootle commands in shell

Running any pootle commands in shell produces an error similar to the one below.

$ python manage.py sync_stores
2014-03-06 08:39:29,305 INFO Change ID is zero, ignoring altogether.
2014-03-06 08:39:30,196 ERROR Failed to run sync_stores over /ro/activist_orientation_guide/'s files
'NoneType' object has no attribute 'user'
2014-03-06 08:39:40,040 ERROR Failed to run sync_stores over /zh_TW/venus_project_site/'s files
'NoneType' object has no attribute 'user'

Trying python26 in place of python yields a different error

$ python26 manage.py sync_stores
Traceback (most recent call last):
File "manage.py", line 23, in
from pootle import settings, syspath_override
File "/var/www/vhosts/pootle.linguisticteam.org/src/pootle/settings.py", line 22, in
execfile(os.path.abspath(f))
File "/var/www/vhosts/pootle.linguisticteam.org/src/pootle/settings/95-outro.conf", line 36, in
from pootle.i18n import override, gettext_live, gettext
File "/var/www/vhosts/pootle.linguisticteam.org/src/pootle/i18n/override.py", line 32, in
from translate.lang import data
ImportError: No module named translate.lang

Contributors contains inaccurate info

I'm seeing numerous data on the Contributors page that is incorrect.
http://pootle.linguisticteam.org/about/contributors/

For example, it has me listed as a contributor for the Croatian TVP website project, but I am not listed in the Permissions page, nor do I show up in the drop-down box under "Project Members" or "Language Members". I also do not have any languages or projects selected in my Settings page.

Also, the Arabic Tutorial has an entry that reads as "any anonymous user" and another for "Rabia Gawish", although there is no one set up under its permissions page. This is not the only language Tutorial project that includes the 'anonymous user' entry, but it does not show up in all of them, even though Pootle is set to allow anonymous use/testing of this project across all languages. In addition, there are some other non-Tutorial projects that also include this 'anonymous' inclusion.

There are more discrepencies, so consider the above as merely a sampling.

This may be functioning 'as designed' if it is only showing the members who have actually contributed to the projects that are shown, regardless of whether or not they are currently set up within those projects.

Are auto-assignments possible?

When a person registers, can Pootle be set up to automatically provide them with View & Suggest for the translatable projects they select, but still send out the emails to the coordinators so they can make a connection with the new person?

The more I look into 'last login' dates, the more I'm seeing people who were only here once, just long enough to register and, most likely, try to get started. When it doesn't work, so many of them never come back.

Direct source links on translation pages

Suggestion/Request from Dario (Portuguese LangCoord) and repeated by others.

"Add space (near top of each page?) where pootle admin can add link to the original.

Ex: in http://pootle.linguisticteam.org/pt/venus_pr…y.po/translate/ (at the top? under the 'bread-crumbs') would be http://thevenusproject.com/pt/the-venus-project/essay

Particularly useful for webpages with very little text, where the text is referring to images or other components of the webpage not seen in pootle"

Can this be done without losing the ability when Pootle is later updated?

Migration and upgrading on new server

Pootle is the last remaining site to migrate/upgrade to the new server, along with your other sites if you still need them (subdownloader.net, etc.). Hit me up in Skype as soon as you can, please. :)

Return of Users tab to provide coord view of language members

The Users tab is missing from the global areas for each language. It provided info for each member including username, email, reg date, last log in and what the person had selected, with each listing linked directly to the admin permissions page for that project.

Also included was a custom email function that is no longer needed since that is now standard in the News tab.

Would prefer that the tab be renamed to "Members" instead of "Users". ;)

Make the p/extra/member_waiting_status_approval.html script dynamic

Before it was just reading an static translators.admin.html file generated with the translators_report.py script called frequently with cron.

Should be generated dinamically (it takes like 2minutes to output) but it's only for admins so the use will be really rare.

Login redirect is not working

Logging into Pootle used to send people directly to their Profile's main page, so they could click on the project they wish to work on. It is now redirecting to the front page of Pootle. Our tutorials show how to work with Pootle from the Profile pages, so this needs to be adjusted.

Front page Languages filtering

The front page appears to be filtering the Languages section according to 'Last Activity', rather than by language name. The result is rather ugly, with the top section empty and all active teams showing up at the very bottom of the list.

Pootle is down

Pootle's main page and most others are displaying the following:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Pootle is down (and then up again?)

Pootle's main page and most others are displaying the following:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Activation notification

Do members receive any kind of auto-notification from Pootle when their permission requests are fulfilled? If not, it may be one of the most important customizations we can do (and share back with the Pootle developers).

When a coord is not very present (or not at all), Borislav or myself set up people who are waiting. But we don't have the time or means to personally write to them or to try to help integrate them with other members of their language. A simple boilerplate email letting them know that they can now play in Pootle and that they should use the forum for questions and collaboration would help tremendously to bring together all of those who prefer to not work alone.

list index out of range: Pootle error when assigning permissions to some users in translationprojects

When trying to add an user Pandalaft
http://pootle.linguisticteam.org/es/designing_the_future/admin_permissions.html

pootle fails and outputs the following error in the apache.log

[Sat Feb 02 13:25:11 2013] [error] Traceback (most recent call last):
[Sat Feb 02 13:25:11 2013] [error] File "/var/www/vhosts/pootle.linguisticteam.org/env/lib/python2.6/site-packages/django/core/handlers/base.py", line 111, in get_response
[Sat Feb 02 13:25:11 2013] [error] response = callback(request, _callback_args, *_callback_kwargs)
[Sat Feb 02 13:25:11 2013] [error] File "/var/www/vhosts/pootle.linguisticteam.org/src/pootle/apps/pootle_app/views/language/view.py", line 59, in decorated_f
[Sat Feb 02 13:25:11 2013] [error] return f(request, translation_project, _args, *_kwargs)
[Sat Feb 02 13:25:11 2013] [error] File "/var/www/vhosts/pootle.linguisticteam.org/src/pootle/apps/pootle_app/views/language/view.py", line 75, in decorated_f
[Sat Feb 02 13:25:11 2013] [error] return f(request, translation_project, _args, *_kwargs)
[Sat Feb 02 13:25:11 2013] [error] File "/var/www/vhosts/pootle.linguisticteam.org/src/pootle/apps/pootle_app/views/admin/util.py", line 56, in decorated_f
[Sat Feb 02 13:25:11 2013] [error] return f(request, path_obj, _args, *_kwargs)
[Sat Feb 02 13:25:11 2013] [error] File "/var/www/vhosts/pootle.linguisticteam.org/src/pootle/apps/pootle_translationproject/views.py", line 82, in admin_permissions
[Sat Feb 02 13:25:11 2013] [error] template_vars)
[Sat Feb 02 13:25:11 2013] [error] File "/var/www/vhosts/pootle.linguisticteam.org/src/pootle/apps/pootle_app/views/admin/permissions.py", line 112, in admin_permissions
[Sat Feb 02 13:25:11 2013] [error] can_delete=True, form=PermissionSetForm)
[Sat Feb 02 13:25:11 2013] [error] File "/var/www/vhosts/pootle.linguisticteam.org/src/pootle/apps/pootle_app/views/admin/util.py", line 223, in edit
[Sat Feb 02 13:25:11 2013] [error] queryset=queryset, **kwargs)
[Sat Feb 02 13:25:11 2013] [error] File "/var/www/vhosts/pootle.linguisticteam.org/src/pootle/apps/pootle_app/views/admin/util.py", line 201, in process_modelformset
[Sat Feb 02 13:25:11 2013] [error] formset = formset_class(request.POST, queryset=objects.object_list)
[Sat Feb 02 13:25:11 2013] [error] File "/var/www/vhosts/pootle.linguisticteam.org/env/lib/python2.6/site-packages/django/forms/models.py", line 424, in init
[Sat Feb 02 13:25:11 2013] [error] super(BaseModelFormSet, self).init(**defaults)
[Sat Feb 02 13:25:11 2013] [error] File "/var/www/vhosts/pootle.linguisticteam.org/env/lib/python2.6/site-packages/django/forms/formsets.py", line 50, in init
[Sat Feb 02 13:25:11 2013] [error] self._construct_forms()
[Sat Feb 02 13:25:11 2013] [error] File "/var/www/vhosts/pootle.linguisticteam.org/env/lib/python2.6/site-packages/django/forms/formsets.py", line 115, in _construct_forms
[Sat Feb 02 13:25:11 2013] [error] self.forms.append(self._construct_form(i))
[Sat Feb 02 13:25:11 2013] [error] File "/var/www/vhosts/pootle.linguisticteam.org/env/lib/python2.6/site-packages/django/forms/models.py", line 451, in _construct_form
[Sat Feb 02 13:25:11 2013] [error] kwargs['instance'] = self.get_queryset()[i]
[Sat Feb 02 13:25:11 2013] [error] File "/var/www/vhosts/pootle.linguisticteam.org/env/lib/python2.6/site-packages/django/db/models/query.py", line 190, in getitem
[Sat Feb 02 13:25:11 2013] [error] return self._result_cache[k]
[Sat Feb 02 13:25:11 2013] [error] IndexError: list index out of range
[Sat Feb 02 13:25:11 2013] [error]

Restore the cron jobs in the server

Missing cron lines.

2-59/10 * * * * cd /home/pootle/pootle2/Pootle/; python2.6 create_translators_html.py >> /home/pootle/logs/translators_html.log 2>&1
59 15 * * * cd /home/pootle/pootle2/Pootle/; python2.6 create_translators_html.py email >> /home/pootle/logs/translators_html_email_coords.log 2>&1
20 20 * * 5 sh /home/pootle/SCRIPTS/send-mail-alerts-inactive-users.sh >> /home/pootle/logs/send-mail-inactive.log 2>&1

Individual PO file 'word count'

As requested by Enico (Hungarian LC):

"I wonder whether it would require a great effort for Pootle to also show the total wordcount (source words) of a file, not just the "needs translation" wordcount"

"I see the total global wordcount appears on project level, but it would be nice to have it broken down on individual files. the information is obviously available somewhere (as the "need translation" wordcount at the start of the project)"

Member lists are not updating

It appears that the Pootle-supplied Contributors page (../about/contributors/) and the custom Member Status page (../about/memberstatus/) are not being updated.

Permissions appear to have a lengthy delay before a member can translate

I set up Aram (smartalgorithm) for Armenian TVP, but Pootle did not then provide him with the Suggest/Submit button, making it impossible for him to translate. He shared his desktop with me via Skype and I took him through clearing browser cache (Google Chrome) and removing all Pootle cookies, but that was of no help. We stopped maybe a half hour after I had set him up and he has since gone to sleep for the night. As a result, I have no way of knowing if this is a delay or a more permanent bug.

He registered a while ago, so it's not a case of Pootle still processing his registration.

At the moment this report was created,

http://pootle.linguisticteam.org/about/memberstatus/ //Shows that he is still waiting for permissions setup

http://pootle.linguisticteam.org/hy/venus_project_site/admin_permissions.html //Shows that he is already set up

http://pootle.linguisticteam.org/accounts/smartalgorithm/ //Also shows that he is already set up

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.