Project

General

Profile

Actions

Bug / Feature #975

closed

Bad serializable format

Added by danilo about 13 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
17 March 2011
Due date:
% Done:

100%

Estimated time:
Request Type:
Feature Request
Affected Program:
Affected Users:

Description

Unter ArchLinux mit diesem PKGBUILD http://forum.piratenpartei.ch/download/file.php?id=574 meldet mir die Software (binärversion) immer "Bad serializable format". Ich kann keine Abstimmungen ansehen oder daran teilnehmen.

Stacktrace:

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Emil.GMP.BigInt ---> System.DllNotFoundException: libgmp.so.3
  at (wrapper managed-to-native) Emil.GMP.BigInt:__gmpz_init_set_si (Emil.GMP.BigInt/MpzValue&,int)
  at Emil.GMP.BigInt..ctor (Int32 value) [0x00000] in <filename unknown>:0 
  at Emil.GMP.BigInt..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at Pirate.PiVote.Serialization.DeserializeContext.ReadBigInt () [0x00000] in <filename unknown>:0 
  at Pirate.PiVote.Crypto.BaseParameters.Deserialize (Pirate.PiVote.Serialization.DeserializeContext context) [0x00000] in <filename unknown>:0 
  at Pirate.PiVote.Crypto.VotingParameters.Deserialize (Pirate.PiVote.Serialization.DeserializeContext context) [0x00000] in <filename unknown>:0 
  at Pirate.PiVote.Serialization.Serializable..ctor (Pirate.PiVote.Serialization.DeserializeContext context) [0x00000] in <filename unknown>:0 
  at Pirate.PiVote.Crypto.BaseParameters..ctor (Pirate.PiVote.Serialization.DeserializeContext context) [0x00000] in <filename unknown>:0 
  at Pirate.PiVote.Crypto.VotingParameters..ctor (Pirate.PiVote.Serialization.DeserializeContext context) [0x00000] in <filename unknown>:0 
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0

gmp hab ich installiert:

[danilo@dev5 pivote]$ pacman -Ss gmp
core/gmp 5.0.1-2 [installed]
    A free library for arbitrary precision arithmetic


Files

pivote-bin-1.0.7.0-2.src.tar.gz (932 Bytes) pivote-bin-1.0.7.0-2.src.tar.gz danilo, 18 March 2011 10:37
Actions #1

Updated by Exception about 13 years ago

du must in der Emil.GMP.dll.config den namen deiner libgmp eintragen, falls sie nicht "libgmp.so.3" heisst.

Actions #2

Updated by Exception about 13 years ago

  • Status changed from New to 4
  • Assignee set to Exception
Actions #3

Updated by danilo about 13 years ago

Super, funktioniert :) Habs jetzt auf libgmp.so gesetzt (libgmp.so.10 hab ich auch, aber wenn ich das richtig verstehe linkt libgmp.so immer auf die richtige Version).

Beigefügt ein neues, unter ArchLinux installierbares Paket.

Actions #4

Updated by Exception almost 13 years ago

  • Status changed from 4 to Closed
Actions

Also available in: Atom PDF