Re: [Fwd: Re: Jamin]

Emmanuel Saracco <[email protected]> Thu, 11 Sep 2008 08:26:47 +0200
Newsgroups gmane.comp.audio.jamin.devel
Message-ID <[email protected]>
Harald Reider a écrit :
> Hi!

Hi,

> Yes the repaired file works :)
> Thanks!

Great :-)

Now we must fix this in JAMin code!

@dev: any idea?

> How did you edit the files? The seem binary and no editor can open them, also 
> unzip does not work....

Do not use "unzip", but *gunzip*.

Basically, a JAMin .jam file is a gzipped XML file. So, you can 
uncompress it by using:

-----
zcat file.jam > file.xml
-----

And compress it using:

-----
  cat file.xml | gzip - > file.jam
-----

Bye

> Am Thursday 11 September 2008 schrieben Sie:
>> Hi Harald,
>>
>> It seems that it is a locales problem. Your new .jam file use comma as
>> decimal separator:
>>
>> -----
>> <global name="ct" value="1,000000"/>
>> <global name="lgain" value="-12,000000"/>
>> <global name="hgain" value="12,000000"/>
>> -----
>>
>> But the old one use point instead:
>>
>> -----
>> <global name="ct" value="1.000000"/>
>> <global name="lgain" value="-12.000000"/>
>> <global name="hgain" value="12.000000"/>
>> -----
>>
>> I replaced point by comma, and it seems ok now. Please, give a try to
>> the "old-fixed-file.jam" in attachment and send us feedback.
>>
>> Bye
>>
>> -------- Message original --------
>> Sujet : Re: Jamin
>> Date : Thu, 11 Sep 2008 07:34:40 +0200
>> De : Harald Reider <[email protected]>
>> Pour : Emmanuel Saracco <[email protected]>
>>
>> Hi!
>>
>> Thanks for your reply.
>>
>> Well things started as follows: I used Ubuntu 7.10 and Jamin .95 first
>> and it
>> was ok, then Ubuntu 8.04 again with Jamin .95: Here loading of the
>> Ubuntu 7.10
>> files did only work as user, but root showes the same error as it is now.
>> Then i updated to Ubuntu 8.10 with same Jamin (.95) and now also the user
>> cannot load old files anymore.
>>
>> So i guess this is a thing in libxml....
>>
>> When i try to load an old file, not a single value is ok, eq values
>> stand at -
>> inf or +inf, other variables take on random values.
>>
>> I attached an old file (that cannot be loaded anymore) and a new one the
>> .95
>> version creates now.
>> The CVS version does not behave different than the .95 version.
>>
>> Regards
>>   Harald
>>
>> Am Wednesday 10 September 2008 schrieben Sie:
>>> I put the Jamin mailing-list in Cc.
>>>
>>> Harald Reider a écrit :
>>>> Hi!
>>> Hi,
>>>
>>>> I saw you are a developer of Jamin..
>>>>
>>>> I have a problem: After trying the .95 and CVS version i noticed that
>>>> old save files cannot be loaded anymore.. new ones work but older ones
>>>> produce random values. I have libxml 2.6.32.
>>>>
>>>> Maybe you can help
>>> Sure. Could you please send me the file you can not load, and tell me
>>> what values are wrong?
>>>
>>> Bye


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/