-
Notifications
You must be signed in to change notification settings - Fork 84
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
Crashing when run #25
Comments
Hi @jkmassel, is your .strings file in another encoding other than UTF8? If so try to convert it first. |
Hi @netbe, the file is UTF-16 (it was created with the Is that not a recommended use case for this app? |
@jkmassel yep you're right. To be honest I rarely use this direction of the script I will have to fix this at some point... Could you give me by any chance the sample file that makes the script crash? |
For sure - is there an email or something I can send it to? Rather not post publicly since it's client work |
@jkmassel send it to be-net[at]wanadoo[dot]fr |
Awesome! Sent. |
@jkmassel ok fixed the issue (not as I wanted) but works with 1.9.2+. Give it a try and let me know if any (other) issues |
/Library/Ruby/Gems/2.0.0/gems/csv2strings-0.2.3/lib/csvconverter/strings2csv.rb:41:in
'strip!': invalid byte sequence in UTF-8 (ArgumentError) from /Library/Ruby/Gems/2.0.0/gems/csv2strings-0.2.3/lib/csvconverter/strings2csv.rb:41:in
parse_dotstrings_line'from /Library/Ruby/Gems/2.0.0/gems/csv2strings-0.2.3/lib/csvconverter/strings2csv.rb:33:in
block (2 levels) in load_strings' from /Library/Ruby/Gems/2.0.0/gems/csv2strings-0.2.3/lib/csvconverter/strings2csv.rb:32:in
each_line'from /Library/Ruby/Gems/2.0.0/gems/csv2strings-0.2.3/lib/csvconverter/strings2csv.rb:32:in
block in load_strings' from /Library/Ruby/Gems/2.0.0/gems/csv2strings-0.2.3/lib/csvconverter/strings2csv.rb:31:in
open'from /Library/Ruby/Gems/2.0.0/gems/csv2strings-0.2.3/lib/csvconverter/strings2csv.rb:31:in
load_strings' from /Library/Ruby/Gems/2.0.0/gems/csv2strings-0.2.3/lib/csvconverter/strings2csv.rb:59:in
block in dotstrings_to_csv'from /Library/Ruby/Gems/2.0.0/gems/csv2strings-0.2.3/lib/csvconverter/strings2csv.rb:57:in
each' from /Library/Ruby/Gems/2.0.0/gems/csv2strings-0.2.3/lib/csvconverter/strings2csv.rb:57:in
dotstrings_to_csv'from /Library/Ruby/Gems/2.0.0/gems/csv2strings-0.2.3/lib/csvconverter/commands/strings2csv_command.rb:19:in
strings2csv' from /Library/Ruby/Gems/2.0.0/gems/thor-0.18.1/lib/thor/command.rb:27:in
run'from /Library/Ruby/Gems/2.0.0/gems/thor-0.18.1/lib/thor/invocation.rb:120:in
invoke_command' from /Library/Ruby/Gems/2.0.0/gems/thor-0.18.1/lib/thor.rb:363:in
dispatch'from /Library/Ruby/Gems/2.0.0/gems/thor-0.18.1/lib/thor/base.rb:439:in
start' from /Library/Ruby/Gems/2.0.0/gems/csv2strings-0.2.3/bin/strings2csv:6:in
<top (required)>'from /usr/bin/strings2csv:23:in
load' from /usr/bin/strings2csv:23:in
The text was updated successfully, but these errors were encountered: