Ticket #4959 (closed defect: fixed)

Opened 1 month ago

Last modified 1 month ago

cronjob elgg15_project_sync.py not working correctly

Reported by: cedenoj Assigned to: insvn
Priority: blocker Milestone: Post_Elgg1.5
Component: Sync Script Version:
Keywords: Cc:

Description

Traceback (most recent call last):

File "/data/management/projectsync/elgg15_project_sync.py", line 175, in <module>

main()

File "/data/management/projectsync/elgg15_project_sync.py", line 65, in main

'created': get_created(env),

File "/data/management/projectsync/elgg15_project_sync.py", line 127, in get_created

return row[0]

TypeError?: 'NoneType?' object is unsubscriptable

Change History

10/17/09 01:34:17 changed by cedenoj

(In [469]) refs #4959 A sql query is failing in the live site. One project probably deleted the wiki start page or renamed it. Thus causing the script to fail. We now just query the first wiki page written on a project. That should fix it. Tested in munin-vm3.

10/17/09 01:34:51 changed by cedenoj

  • owner changed from cedenoj to insvn.

10/17/09 01:43:01 changed by cedenoj

(In [471]) refs #4960, #4959, #4957 Creating a new tag for bs-admin. This tag includes bug fixes to the elgg15 script and elgg_import script.

10/26/09 00:20:05 changed by cedenoj

  • status changed from new to closed.
  • resolution set to fixed.