-
Notifications
You must be signed in to change notification settings - Fork 42
Invalid format string #21
Comments
Any chance you can post the trace for me? First time I'm seeing this bug crop up. Also, while we're here, what version of the Launcher do you have? I'm on 1.9.25. |
Hey @paullewis / @ahallicks - I've just seen the same error happen for me. I've uploaded a copy of my trace file. |
Thanks, I'll have a look. |
Actually, @deanhume, what version of the Launcher are you using? |
I am using 1.9.31 - just downloaded it this morning. |
Ok, let me take an update and see what's what. |
Awesome - thanks Paul. |
@deanhume are you on Windows, too? And which version of python? It seems like I might have favoured Unix-y style date formatting: http://stackoverflow.com/questions/10807164/python-time-formatting-different-in-windows |
Yep - on Windows and running Python 2.7.10. Ah! That's not good.... Please shout if you need any more info! |
Can you run this python for me? from datetime import date
today = date.today()
print today.strftime('%b')
print today.strftime('%e')
print today.strftime('%r') I need to know which (or all?) of those don't work on Windows. In any case I can wrap it in an exception, mind, but I'd like to figure it out all the same. |
Apologies for the slow response! Okay, here is the output of the file:
Both these fail with an "Invalid format string":
However, this one passes: |
@paullewis Here is the documentation from microsoft in regards to what string formaters it supports: https://msdn.microsoft.com/en-us/library/fe06s4ak(v=vs.140).aspx#Anchor_3 And of course python has a list of portable string directives here: In this case, I wouldn't mind taking a crack at porting these over, but some things don't have an obvious portable replacement, for instance: %s gives you the number of seconds since the Epoch, which doesn't seem to have an equivalent, and I'm not the most familiar with the code base so this may be a hard requirement. What does the extra 000 do here? Could it be replaced with something else? |
Hi Paul,
When I upload a trace it doesn't show me any results, just the same 'Upload a trace for this action' message. If I then go back to the project I get the following:
Ouch! I am currently running on Windows 10 Chrome 46.0.2490.86 m
Thanks!
The text was updated successfully, but these errors were encountered: