Closed
Bug 674557
Opened 13 years ago
Closed 13 years ago
events: fix devmo_calendar_reload error
Categories
(developer.mozilla.org Graveyard :: Wiki pages, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
1.0
People
(Reporter: groovecoder, Unassigned)
Details
(Whiteboard: c=events p=3 u=visitor)
Attachments
(1 file)
84.61 KB,
image/png
|
Details |
Cron <apache@mradm02> cd /data/devmostage/src/developer-stage9.mozilla.org/kuma; python26 manage.py cron devmo_calendar_reload > /dev/null
Traceback (most recent call last):
File "manage.py", line 49, in <module>
execute_manager(settings)
File "/data/dekiwiki-stage/src/developer-stage9.mozilla.org/kuma/vendor/src/django/django/core/management/__init__.py", line 438, in execute_manager
utility.execute()
File "/data/dekiwiki-stage/src/developer-stage9.mozilla.org/kuma/vendor/src/django/django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/data/dekiwiki-stage/src/developer-stage9.mozilla.org/kuma/vendor/src/django/django/core/management/base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File "/data/dekiwiki-stage/src/developer-stage9.mozilla.org/kuma/vendor/src/django/django/core/management/base.py", line 220, in execute
output = self.handle(*args, **options)
File "/data/dekiwiki-stage/src/developer-stage9.mozilla.org/kuma/vendor/src/django-cronjobs/cronjobs/management/commands/cron.py", line 38, in handle
registered[script](*args)
File "/data/dekiwiki-stage/src/developer-stage9.mozilla.org/kuma/apps/devmo/cron.py", line 9, in devmo_calendar_reload
calendar.reload()
File "/data/dekiwiki-stage/src/developer-stage9.mozilla.org/kuma/apps/devmo/models.py", line 190, in reload
if event_line[1] != "Conference":
IndexError: list index out of range
Reporter | ||
Updated•13 years ago
|
Summary: calendar: fix devmo_calendar_reload error → events: fix devmo_calendar_reload error
Comment 1•13 years ago
|
||
Luke: Is this a quick IT fix? If so, I would like to try to get this in for 0.9.9 next week.
Reporter | ||
Comment 2•13 years ago
|
||
I'm not sure exactly. It's more than IT. Something in the doc structure has changed. I'll have to spend some time debugging it.
Reporter | ||
Updated•13 years ago
|
Target Milestone: 1.0 → 0.9.9
Reporter | ||
Comment 3•13 years ago
|
||
Change the script to check for list index existence before reference.
Reporter | ||
Comment 4•13 years ago
|
||
Traceback (most recent call last):
File "./manage.py", line 49, in <module>
execute_manager(settings)
File "/Users/lcrouch/Sites/kuma/kuma/vendor/src/django/django/core/management/__init__.py", line 438, in execute_manager
utility.execute()
File "/Users/lcrouch/Sites/kuma/kuma/vendor/src/django/django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/lcrouch/Sites/kuma/kuma/vendor/src/django/django/core/management/base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File "/Users/lcrouch/Sites/kuma/kuma/vendor/src/django/django/core/management/base.py", line 220, in execute
output = self.handle(*args, **options)
File "/Users/lcrouch/Sites/kuma/kuma/vendor/src/django-cronjobs/cronjobs/management/commands/cron.py", line 38, in handle
registered[script](*args)
File "/Users/lcrouch/Sites/kuma/kuma/apps/devmo/cron.py", line 9, in devmo_calendar_reload
calendar.reload()
File "/Users/lcrouch/Sites/kuma/kuma/apps/devmo/models.py", line 215, in reload
event.save()
File "/Users/lcrouch/Sites/kuma/kuma/vendor/src/django/django/db/models/base.py", line 458, in save
self.save_base(using=using, force_insert=force_insert, force_update=force_update)
File "/Users/lcrouch/Sites/kuma/kuma/vendor/src/django/django/db/models/base.py", line 551, in save_base
result = manager._insert(values, return_id=update_pk, using=using)
File "/Users/lcrouch/Sites/kuma/kuma/vendor/src/django/django/db/models/manager.py", line 195, in _insert
return insert_query(self.model, values, **kwargs)
File "/Users/lcrouch/Sites/kuma/kuma/vendor/src/django/django/db/models/query.py", line 1524, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
File "/Users/lcrouch/Sites/kuma/kuma/vendor/src/django/django/db/models/sql/compiler.py", line 788, in execute_sql
cursor = super(SQLInsertCompiler, self).execute_sql(None)
File "/Users/lcrouch/Sites/kuma/kuma/vendor/src/django/django/db/models/sql/compiler.py", line 732, in execute_sql
cursor.execute(sql, params)
File "/Users/lcrouch/Sites/kuma/kuma/vendor/src/django/django/db/backends/util.py", line 15, in execute
return self.cursor.execute(sql, params)
File "/Users/lcrouch/Sites/kuma/kuma/vendor/src/django/django/db/backends/mysql/base.py", line 86, in execute
return self.cursor.execute(query, args)
File "/Users/lcrouch/python/kuma/lib/python2.6/site-packages/MySQLdb/cursors.py", line 175, in execute
if not self._defer_warnings: self._warning_check()
File "/Users/lcrouch/python/kuma/lib/python2.6/site-packages/MySQLdb/cursors.py", line 89, in _warning_check
warn(w[-1], self.Warning, 3)
_mysql_exceptions.Warning: Data truncated for column 'people' at row 1
Reporter | ||
Comment 5•13 years ago
|
||
quick-fixed the doc so bumping this to 1.0 to make the Real Fix™
Target Milestone: 0.9.9 → 1.0
Reporter | ||
Comment 6•13 years ago
|
||
Delete date column
Make "people" and "description" fields unlimited char's
Use end date to put events into "Past"
Whiteboard: c=events p=1 → c=events p=2
Reporter | ||
Comment 7•13 years ago
|
||
Also, error-check the map pins
Reporter | ||
Updated•13 years ago
|
Whiteboard: c=events p=2 → c=events p=3 u=visitor
Reporter | ||
Updated•13 years ago
|
Assignee: nobody → lcrouch
Reporter | ||
Comment 8•13 years ago
|
||
Exceptions are cleared during reload.
Events will automatically move to "Past" section based on their date.
No more "Cannot geocode this address." messages
Assignee: lcrouch → mozbugs.retornam
Status: NEW → RESOLVED
Closed: 13 years ago
Keywords: qawanted
Resolution: --- → FIXED
Reporter | ||
Comment 9•13 years ago
|
||
I broke other pages. Need to make a new 'events' js bundle.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Reporter | ||
Updated•13 years ago
|
Assignee: mozbugs.retornam → lcrouch
Reporter | ||
Comment 10•13 years ago
|
||
Stormy,
You can take a look at https://developer-stage9.mozilla.org/en-US/events to see the fixes/enhancements.
Assignee: lcrouch → mozbugs.retornam
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
Comment 11•13 years ago
|
||
re-opening as I the google map does not load. Luke,Stormy filed a bug to show the most recent past conference under the Past Conferences section and it looks like that has also not been implemented yet
Updated•13 years ago
|
Assignee: mozbugs.retornam → nobody
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Reporter | ||
Updated•13 years ago
|
Assignee: nobody → server-ops
Component: Website → Server Operations: Web Content Push
Product: Mozilla Developer Network → mozilla.org
QA Contact: website → mrz
Target Milestone: 1.0 → ---
Version: MDN → other
Reporter | ||
Updated•13 years ago
|
Assignee: server-ops → nobody
Component: Server Operations: Web Content Push → Website
Product: mozilla.org → Mozilla Developer Network
QA Contact: mrz → website
Target Milestone: --- → 1.0
Version: other → MDN
Reporter | ||
Comment 12•13 years ago
|
||
Assignee: nobody → mozbugs.retornam
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Keywords: qawanted
Resolution: --- → FIXED
Comment 13•13 years ago
|
||
qa-verified-stage https://developer-stage9.mozilla.org/en-US/events
Comment 14•13 years ago
|
||
verified fixed https://developer.mozilla.org/en-US/events/
Updated•13 years ago
|
Status: RESOLVED → VERIFIED
Assignee | ||
Updated•12 years ago
|
Version: MDN → unspecified
Assignee | ||
Updated•12 years ago
|
Component: Website → Landing pages
Updated•10 years ago
|
Assignee: mozbugs.retornam → nobody
Updated•4 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•