europython / epcon Goto Github PK
View Code? Open in Web Editor NEWEuroPython Conference Website
License: BSD 2-Clause "Simplified" License
EuroPython Conference Website
License: BSD 2-Clause "Simplified" License
We're not going to use it for EuroPython 2015.
https://dev.europython.eu/conference/p/marc-andre-lemburg
Environment:
Request Method: GET
Request URL: http://dev.europython.eu/conference/p/marc-andre-lemburg
Django Version: 1.5.11
Python Version: 2.7.9
Installed Applications:
('filebrowser',
'p3',
'assopy',
'assopy.stripe',
'conference',
'social.apps.django_app.default',
'djangocms_admin_style',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.admin',
'django.contrib.markup',
'django.contrib.redirects',
'django.contrib.comments',
'djangocms_text_ckeditor',
'cmsplugin_filer_file',
'cmsplugin_filer_folder',
'cmsplugin_filer_link',
'cmsplugin_filer_image',
'cmsplugin_filer_teaser',
'cmsplugin_filer_video',
'djangocms_grid',
'cms',
'menus',
'sekizai',
'tagging',
'taggit',
'authority',
'mptt',
'microblog',
'hcomments',
'django_xmlrpc',
'pingback',
'rosetta',
'south',
'templatesadmin',
'email_template',
'paypal.standard.ipn',
'filer',
'easy_thumbnails',
'recaptcha_works',
'django_crontab',
'formstyle',
'cms_migration',
'markitup',
'cms_utils',
'raven.contrib.django.raven_compat')
Installed Middleware:
('django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.http.ConditionalGetMiddleware',
'django.middleware.doc.XViewMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'django.middleware.transaction.TransactionMiddleware',
'assopy.middleware.DebugInfo',
'pycon.middleware.RisingResponse',
'cms.middleware.user.CurrentUserMiddleware',
'cms.middleware.page.CurrentPageMiddleware',
'cms.middleware.toolbar.ToolbarMiddleware',
'cms.middleware.language.LanguageCookieMiddleware')
Template error:
In template /usr/src/app/p3/templates/conference/profile_publicdata_company_form.html, error at line 30
Invalid filter: 'form_field'
20 :
21 :
22 : {% if profile_data.company_homepage %}
23 : {{ profile_data.company_homepage|beautify_url }}
24 : {% else %}
25 : —
26 : {% endif %}
27 :
28 :
29 :
30 : {% if full_access %}
31 :
32 : {{ form.company|form_field }}
33 : {{ form.job_title|form_field }}
34 : {{ form.company_homepage|form_field }}
35 :
36 : {% endif %}
37 :
38 :
39 :
Traceback:
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
response = callback(request, _callback_args, *_callback_kwargs)
return render_to_response(tpl, output, RequestContext(request), mimetype=ct)
return HttpResponse(loader.render_to_string(_args, *_kwargs), **httpresponse_kwargs)
t = get_template(template_name)
template, origin = find_template(template_name)
source, display_name = loader(name, dirs)
return self.load_template(template_name, template_dirs)
template = get_template_from_string(source, origin, template_name)
return Template(source, origin, name)
self.nodelist = compile_string(template_string, origin)
return parser.parse()
compiled_result = compile_func(self, token)
nodelist = parser.parse()
compiled_result = compile_func(self, token)
nodelist = parser.parse(('endblock',))
compiled_result = compile_func(self, token)
isolated_context=isolated_context)
t = get_template(template_path)
template, origin = find_template(template_name)
source, display_name = loader(name, dirs)
return self.load_template(template_name, template_dirs)
template = get_template_from_string(source, origin, template_name)
return Template(source, origin, name)
self.nodelist = compile_string(template_string, origin)
return parser.parse()
compiled_result = compile_func(self, token)
isolated_context=isolated_context)
t = get_template(template_path)
template, origin = find_template(template_name)
source, display_name = loader(name, dirs)
return self.load_template(template_name, template_dirs)
template = get_template_from_string(source, origin, template_name)
return Template(source, origin, name)
self.nodelist = compile_string(template_string, origin)
return parser.parse()
compiled_result = compile_func(self, token)
nodelist = parser.parse(('elif', 'else', 'endif'))
filter_expression = self.compile_filter(token.contents)
return FilterExpression(token, self)
filter_func = parser.find_filter(filter_name)
raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name)
Exception Type: TemplateSyntaxError at /conference/p/marc-andre-lemburg
Exception Value: Invalid filter: 'form_field'
Reported on the ML:
Subject: Re: [EuroPython] EuroPython 2015: We've opened the flood gates :-)
Date: Tue, 03 Mar 2015 15:18:55 +0000
From: Roberto Martínez [email protected]
To: M.-A. Lemburg [email protected], EuroPython Mailing List [email protected]
Hi,
there is a problem with the paypal payment option. Paypal issues this
warning:
"We cannot process this transaction because there is a problem with the
PayPal email address supplied by the seller. Please contact the seller to
resolve the problem. If this payment is for an eBay listing, you can
contact the seller via the "Ask Seller a Question" link on the listing
page. When you have the correct email address, payment can be made at
www.paypal.com."
Best regards,
Roberto
This is in ./p3/templates/p3/base.html
I have no idea what it's used for.
These things are currently listed on the website, but not yet ready for production:
(possibly more, once you are logged in)
We need to integrate Mandrill (email aaS) api inside our app.
You can't complete registration because you'll get a 404 Error (http://127.0.0.1:8000/en/accounts/new-account/?next=/accounts/login/ not found)
They refer to Django Village etc.
Chromium also shows a shield icon in the address bar, saying that the website is trying to load unsafe resources (which I guess means JavaScript over HTTP rather than HTTPS), with a "More information" link pointing to https://support.google.com/chrome/answer/1342714
List of tasks to do before launch:
I can't open my invoice "the file is empty"
Some %trans tags are not working well because of HTML tags in them.
Should we put translations for Spanish and Basque?
"We require date of birth for speakers to accomodate for Italian laws regarding minors."
Seen in the profile personal data page.
It'd be nice if people who notice typos or other things like that would know where to report them without having to ask on the mailing list.
A "Report bugs" link in the footer (or perhaps in the Contacts page), pointing to this GitHub repository, would be helpful for that.
Reported by Alexander from the Program WG:
Language:
Spanish instead of Italian
Talk type:
remove „a 4-hours“ before training, we only have 2,5 /3 hours training.
Duration:
remove 90 minutes
maybe we also could add:
2,5 hours training
3 hours training
I followed the instructions from the README.md, but then get this output from migrate (after a syncdb run):
europython-2015/epcon> python manage.py migrate
/home/lemburg/egenix/projects/europython-2015/epcon/src/assopy/assopy/utils.py:61: RuntimeWarning: unique index on auth_user.email is missing, use: CREATE UNIQUE INDEX auth_user_unique_email ON auth_user(email COLLATE NOCASE);
warnings.warn(msg, RuntimeWarning)
Running migrations for p3:
Migrating forwards to 0010_auto__chg_field_hotelroom_booking.
p3:0003_p3talks
Migration 'p3:0003_p3talks' is marked for no-dry-run.
! Error found during real run of migration! Aborting.
! Since you have a database that does not support running
! schema-altering statements in transactions, we have had
! to leave it in an interim state between migrations.
! You might be able to recover with: (migration cannot be dry-run; cannot discover commands)
! The South developers regret this has happened, and would
! like to gently persuade you to consider a slightly
! easier-to-deal-with DBMS (one that supports DDL transactions)
! NOTE: The error which caused the migration to fail is further up.
Error in migration: p3:0003_p3talks
DatabaseError: no such table: conference_talk
From /epcon/develop/ requirements.txt I can't see it.
We need to add gunicorn and simplejson.
Also see #39.
Commenting on my own talk throws up an error dialog. This error dialog has raw html in it.
http://dev.europython.eu/en/accounts/stripe/checkout/8/
No Email matches the given query.
This could be done server side using e.g. https://github.com/edoburu/django-fluent-contents or by simply embedding the Twitter widget (https://dev.twitter.com/web/embedded-timelines) on the site (in the footer area).
DEBUG=True
on https://ep2015.europython.eu
Stripe integration is needed to handle payments (should be default payment method)
Reported by a user trying to pay using Paypal. Not sure whether this is specific to Paypal, though.
After using "login with google" you'll get an error.
Probably depending on
/Users/christianbarra/Dev/ep2015/src/assopy/assopy/views.py in profile
user = request.user.assopy_user
The logos can be found in the Sponsor-WG dropbox folder.
Please ask the sponsor WG for details, e.g. URLs to link back to and which sponsors to include in which order.
When I'm in the registration process and click on the link to the code of conduct, I get
"""
Page not found (404)
Request Method: GET
Request URL: http://ep2015.europython.eu/en/code-of-conduct/
Using the URLconf defined in pycon.urls, Django tried these URL patterns, in this order:
^accounts/
^admin/filebrowser/
^admin/rosetta/
^admin/templatesadmin/
^admin/
^comments/
^p3/
^conference/
^conference/talks/(?P<slug>[\w-]+)$ [name='conference-talk']
^conference/speakers/(?P<slug>[\w-]+) [name='conference-speaker']
^hcomments/
^i18n/
^markitup/
^login/(?P<backend>[^/]+)/$ [name='begin']
^complete/(?P<backend>[^/]+)/$ [name='complete']
^disconnect/(?P<backend>[^/]+)/$ [name='disconnect']
^disconnect/(?P<backend>[^/]+)/(?P<association_id>[^/]+)/$ [name='disconnect_individual']
^login/$ [name='login']
^logout/$ [name='logout']
^password_change/$ [name='password_change']
^password_change/done/$ [name='password_change_done']
^password_reset/$ [name='password_reset']
^password_reset/done/$ [name='password_reset_done']
^reset/(?P<uidb36>[0-9A-Za-z]{1,13})-(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/$ [name='password_reset_confirm']
^reset/done/$ [name='password_reset_complete']
^media/(?P<path>.*)$
^en/ ^ ^(?P<slug>[0-9A-Za-z-_.//]+)/$ [name='pages-details-by-slug']
^en/ ^ ^$ [name='pages-root']
The current URL, en/code-of-conduct/, didn't match any of these.
You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.
"""
There are currently two checkboxes on the submission page:
This needs to be replaced with:
with "EuroPython Speaker Release Agreement" linking to /speaker-release-agreement/
The note under the second bullet can be changed to:
"If the talk is accepted, speakers are encouraged to upload their talk slides to the web site."
From the helpdesk:
The latter is not quite true anymore, since we've added that information yesterday.
At the moment, the page doesn't show any kind of error message when e.g. forgetting to check one of the required checkboxes.
It only marks the missing one in dark red which is hardly visible.
I suspect that we're losing talk submissions that way.
Typo to fix:
<<>> in Find out who's coming: let people know that you will be coming to this conference.
https://www.dropbox.com/s/u5ip16hqlka4497/Screenshot%202015-03-03%2019.35.51.png?dl=0
Stef
Linked in the email by Marc-Andre 1, trailing slash for registration page doesn't work:
Doesn't work: https://ep2015.europython.eu/en/registration/
Does work: https://ep2015.europython.eu/en/registration
./p3/templates/p3/base.html has the code for this. The tracker ID has to be adjusted.
When trying to edit my talk proposal (to fix the wording and add some tags), saving does not work. At the top of the form, I see the messages
slides_agreement
This field is required.
video_agreement
This field is required.
and the entry is not updated.
Additionally, these messages are displayed in plain text rather than like error messages.
After paying with stripe (at least I got a nice green background tick for a second or two) I got
Blam! A 5xx error occured
and no confirmation email whatsoever. Now I am not sure if I paid or not.
I can retry later today just let me know.
AttributeError at /en/accounts/stripe/checkout/3/
'Settings' object has no attribute 'STRIPE_CURRENCY'
You get this error if you try to buy a ticket with stripe.
We're not going to use the built-in blog, but instead continue to use the official blog at http://blog.europython.eu/
The current app registered at google for social auth management it linked to my personal account and points to dev address. Before launch we should:
settings.py
From Mal:
Template error:
In template /usr/src/app/src/assopy/assopy/templates/registration/password_reset_email.html, error
at line 8
Reverse for 'django.contrib.auth.views.password_reset_confirm' with arguments '()' and keyword
arguments '{u'uidb36': u'c', u'token': u'3zi-8279b766d747c198f50f'}' not found.
Environment variable to limit maximum tickets (more spagethi code, but it WORKS!)
env name:
https://github.com/EuroPython/conference/blob/master/conference/settings.py#L31
and also the dates are important:
https://github.com/EuroPython/conference/blob/master/conference/models.py#L679
When submiting there was an issue with the birthday, if the user didnt set the birhtday the web sit crashed and the user couldt apply a proposal.
We solve with this (in conference app):
https://github.com/EuroPython/conference/blob/master/conference/forms.py#L185
If you agree with this emprovements just change from requirements the pythonItalia/conference and start using Europython/conference.
Cheers
http://devlocal.europython.eu:8000/en/accounts/paypal/redirect/O-15.0004/
When you buy a ticket with paypal
The current setup uses three repos:
Live would be much easier, if we'd just merge all of these into a single epcon repository and get rid off all the error prone subclassing, extending, etc.
In production lacks the vendor folder.
then:
return 404 and the profile page's tabs don't work.
Cheers :)
Hi, I had a registered account with my email and a ticket bought. I tried to login with Google and I can't login anymore with username/password. Also, the ticket is gone from my profile. I still have an old session with the ticket in my profile though.
Am I the only one? =)
Hello,
I'm writing you to comment that the path "https://ep2015.europython.eu/en/registration/" with slash at the end of URL shows the complete path list in Django server.
I was trying to register in Europython directly without using the official URL in website "https://ep2015.europython.eu/en/registration"
Best regards,
Alejandro.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.