pyj4104 / sipdroid

Automatically exported from code.google.com/p/sipdroid
GNU General Public License v3.0
0 stars 0 forks source link

1.4.1pre download failure #388

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. download the 1.4.1 pre from a windows based computer
2. download the 1.4.1 pre from a HTC Hero (sprint)
3.

What is the expected output? What do you see instead?
Download says it completes at 1.35mb, it does not get to the expected 1.4 
mb The Application will Force Close after installing.

What version of the product are you using? On what device/operating system?
1.4.1 pre

Which SIP server are you using? What happens with PBXes?
I am not getting to that step

Which type of network are you using?
I am not getting to that step

Please provide any additional information below.
The Checksum of the file is coming up as: 1C71737BB0F7801BB5E79B0D9A5A2AA8 
The file size is coming up as 1,385 KB

Original issue reported on code.google.com by ryan.moh...@gmail.com on 24 Mar 2010 at 4:25

GoogleCodeExporter commented 8 years ago
What *KIND* of checksum is coming up as what you state?
There are lots of different kinds.
You need to calculate the SHA1 checksum and compare THAT with the one reported 
for
the file.

** note: I can tell you right now that you calculated the **MD5** and not the 
SHA1.

Regarding your file size issues, it is clear that you don't understand the whole
SI-doesn't-work-for-binary fact, or the use of APPROXIMATION (i.e. ROUNDING to 
the
nearest 0.1 MiB).

1.385 is closer to 1.4 than 1.3, hence the size is listed as 1.4.
Also read this about BINARY prefixes used to approximate SI prefixes:
http://en.wikipedia.org/wiki/Binary_prefix
**note various software will report different numbers for the same data 
depending on
whether they are using BINARY or SI prefixes (and whether their use is correct 
or
incorrect).

ALSO!!!! you should note that if the transfer was broken, then NOT ONLY will 
the file
checksum be incorrect, the ZIP checksum will ALSO be incorrect, and the ANDROID
SIGNATURE will be INVALID -- it therefore would NOT have EVEN INSTALLED!!!

*** IN SUMMARY: Your file transferred fine. This has NOTHING to do with the 
issue you
are having.

Original comment by andr...@tastemycity.com on 26 Mar 2010 at 6:55

GoogleCodeExporter commented 8 years ago
Also, in the future, PAY CLOSER ATTENTION to your prefixes and units.

1.35 mb is NOT the same as 1.35 MB. The former is "millibits" (this logically  
makes
no sense since no data unit can be smaller than 1 bit). The LATTER is 
"megabytes" and
is what you MEAN.

Also, of course you will note this:
1385 KB (I'll assume that you are using JEDEC for this one rather than SI or 
IEC)
1385/1024=1.353 MB (again in JEDEC)

JEDEC:IEC
G:Gi
M:Mi
K:Ki

*note that JEDEC prefixes are limited to those three, so if you start playing 
with
"T", then you *MUST* either mean SI or IEC.

*note2: IEC doesn't go BELOW Ki since you can't have a fraction of a byte.

Original comment by andr...@tastemycity.com on 26 Mar 2010 at 7:05

GoogleCodeExporter commented 8 years ago
Issue 392 has been merged into this issue.

Original comment by pmerl...@googlemail.com on 29 Mar 2010 at 7:08

GoogleCodeExporter commented 8 years ago
Issue 393 has been merged into this issue.

Original comment by pmerl...@googlemail.com on 29 Mar 2010 at 9:26

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Please test market version 1.4.3 if it fixes the problem. Thanks!

Original comment by pmerl...@googlemail.com on 29 Mar 2010 at 10:06

GoogleCodeExporter commented 8 years ago
1.4.3 from market does not solve the problem. force close as soon as we start 
sipdroid.

config:
HTC Magic over wifi

Will go back to previous version until this get fixed.

best regards

Original comment by talhayou on 29 Mar 2010 at 11:58

GoogleCodeExporter commented 8 years ago
Issue 394 has been merged into this issue.

Original comment by pmerl...@googlemail.com on 30 Mar 2010 at 12:00

GoogleCodeExporter commented 8 years ago

Original comment by pmerl...@googlemail.com on 30 Mar 2010 at 12:30

GoogleCodeExporter commented 8 years ago
Confirmed, with v 1.4.4 on the market installs and operates just fine.

Using Sprint HTC Hero via WiFi to asterisk soft pbx.

Original comment by ryan.moh...@gmail.com on 30 Mar 2010 at 3:40