Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align columns fails with this exact string #15

Open
AlexLamson opened this issue Jun 27, 2018 · 1 comment
Open

Align columns fails with this exact string #15

AlexLamson opened this issue Jun 27, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@AlexLamson
Copy link
Owner

String to reproduce error:

ReportId, ActivityId, Name, GroupId, CommonGroupId, GroupListId, CommonGroupListId, IsActive, IsBillable, StartLocalTime, StartUtcTime, EndLocalTime, EndUtcTime, Notes, RelatedActivityId, SourceId, CurrentChangeSequence, CurrentChangeRandomValue, Other
(3, 611, 'ReportId, ActivityId, Name, GroupId, CommonGroupId • (Quantified Self, manictime sample) - Sublime Text (UNREGISTERED)', 62, 12, None, None, 1, None, '2018-06-27 13:39:31', '2018-06-27 17:39:31', '2018-06-27 13:39:36', '2018-06-27 17:39:36', None, None, None, 1500, 1218390469, '{}')

Stack trace:

  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 1072, in run_
    return self.run(edit)
  File "C:\Users\Alex\AppData\Roaming\Sublime Text 3\Packages\User\DataWrangler.py", line 205, in run
    column_widths = detect_col_widths(self, sep, num_columns)
  File "C:\Users\Alex\AppData\Roaming\Sublime Text 3\Packages\User\DataWrangler.py", line 59, in detect_col_widths
    column_widths[i] = max(len(cell_string), column_widths[i])
IndexError: list index out of range
@AlexLamson AlexLamson added the bug Something isn't working label Jun 27, 2018
@AlexLamson
Copy link
Owner Author

The problem may be related to "d • (" in the middle of the text. Should look into this later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant