Skip to content

AttributeError: 'bool' object has no attribute 'ljust' #3082

@sentry

Description

@sentry

Sentry Issue: ONADATA-5CD

AttributeError: 'bool' object has no attribute 'ljust'
(3 additional frame(s) were not displayed)
...
  File "onadata/libs/utils/export_builder.py", line 1495, in to_zipped_sav
    write_row(self.pre_process_row(row, section), sav_writer, fields)
  File "onadata/libs/utils/export_builder.py", line 1443, in write_row
    sav_writer.writerow(
  File "savWriter.py", line 386, in writerow
    self._pyWriterow(record)
  File "savWriter.py", line 375, in _pyWriterow
    value = pad_string(value, varType)
  File "savWriter.py", line 353, in _padStringValue
    return value.ljust(self.pad_8_lookup[varType])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions