Installation - Data Load Failure

Bug #1083329 reported by Karthik on 2012-11-26
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Keith Hughitt

Bug Description

When I run "sudo python", and when I load the sample data from the directory "/var/www/jp2" using the GUI, I get the following error in the background console.

Traceback (most recent call last):
  File "/var/www/install/helioviewer/installer/", line 121, in process_images
    process_jp2_images(self.images, jp2dir, cursor, mysql, self.update_progress)
  File "/var/www/install/helioviewer/", line 39, in process_jp2_images
    insert_images(subset, sources, root_dir, cursor, mysql, step_fxn)
  File "/var/www/install/helioviewer/", line 63, in insert_images
    directory, filename = os.path.split(img['filepath'])
TypeError: string indices must be integers, not str

The data load does not proceed any further after this error that I see in the console.

Keith Hughitt (keith-hughitt) wrote :

Ah, sorry about that! I did a major overhaul of the code which is responsible for downloading and ingesting new images (install/ or "hvpull") a while back and it looks like I broke the installer somewhere along the way.

This should fix things. Test it out though, and let me know if you come across any problems.

Changed in
assignee: nobody → Keith Hughitt (keith-hughitt)
importance: Undecided → High
status: New → Fix Committed
milestone: none → 2.3.1
Karthik (karthikgp) wrote :

I pulled the latest version of the code, and now it automatically goes to console based installation and not with GUI installation for loading data.

Moreover, the program stops now since I did not have sunpy installed. I will install sunpy and hopefully after that I should be able to load the data.


Karthik (karthikgp) wrote :

I will also create a new bug report regarding this.

Changed in
milestone: 2.3.1 → 2.4.0
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers