aaronbrooks-gh / transmission-remote-dotnet

Automatically exported from code.google.com/p/transmission-remote-dotnet
GNU General Public License v3.0
0 stars 1 forks source link

Crash on selecting torrent #295

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Clicking some of the torrents on the main program window.
2. Crash to desktop with message of unhandled error.
3. Torrent currently causing this to me 
http://thepiratebay.org/torrent/3252193/Titicut_Follies

What is the expected output? What do you see instead?
I should be able to select the torrent as any other and delete/pause it

What version of the products are you using?
OS: Windows 7 x64 ultimate
Transmission: 2.01 (build 1)
Remote: 3.23 (rev 0)

Please provide any additional information below. Feel free to
attach screenshots or sample code which demonstrates the issue being
described.

Original issue reported on code.google.com by naty...@gmail.com on 12 Jul 2010 at 12:35

Attachments:

GoogleCodeExporter commented 9 years ago
After changing the localization and formatting settings in windows the problems 
went away and I cant reproduce it.

Original comment by naty...@gmail.com on 12 Jul 2010 at 12:38

GoogleCodeExporter commented 9 years ago
There is a parse exception in peer update, if a localisation settings are not 
good (eg,  decimal separator: , or . ). Could you somehow reproduce it?

Original comment by elso.and...@gmail.com on 25 Jul 2010 at 4:13

GoogleCodeExporter commented 9 years ago
I encountered the same error on Windows Vista. The crash appeared after 
selecting any active (downloading) torrent. Inactive torrents did not trigger 
it. The exception log is attached.

The workaround with changing the decimal separator from "," to "." resolved the 
problem.

Original comment by pab...@gmail.com on 29 Sep 2010 at 11:36

Attachments:

GoogleCodeExporter commented 9 years ago
The bug is at parsing decimal string to float number. But is use the EN-US 
CultureInfo, which use "." as decimal separator. :/

Do you changed the sytem culture info?

Original comment by elso.and...@gmail.com on 29 Sep 2010 at 12:54

GoogleCodeExporter commented 9 years ago
Unfortunately I know almost nothing about .NET. I do not know how exactly are 
the system .NET settings configured.

I changed the setting in Windows Control Panel > Regional and Language Options.
It seems that the bug showed because I use "English (United States)" format 
with customizations.

Just now I tried to change the format to "Czech (Czech Republic)" which uses 
comma as a decimal separator and the problem does not appear.

When "English (United States)" is selected as soon as I change the decimal 
separator to whatever except "." Transmission Remote starts to crash. It looks 
like "English (United States)" is a special case. When I select a different 
format - for example "English (United Kingdom)" I can change the decimal 
separator (maybe to anything) and Transmission Remote works.

Original comment by pab...@gmail.com on 1 Oct 2010 at 9:15

GoogleCodeExporter commented 9 years ago
Fixed by r710.

Original comment by elso.and...@gmail.com on 30 Dec 2010 at 12:17