INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: where are calculated fields stored.  (Read 1381 times)

Tolga

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 438
where are calculated fields stored.
« on: February 01, 2012, 12:12:54 pm »

Where are calculated fields stored?

I was working on some complicated calculated field definitions but it broke MC. It is consistently crashing at startup now. Since the last backup I also made significant changes to file paths. I want to see if I can merge new filepaths in db with old calculated field definitions.

Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: where are calculated fields stored.
« Reply #1 on: February 01, 2012, 12:14:08 pm »

In the Library.

There's no documented way to restore only part of the library from backup.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

Tolga

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 438
Re: where are calculated fields stored?
« Reply #2 on: February 01, 2012, 12:18:12 pm »

yes, but what file in library? Maybe if  I replace only that file ...
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: where are calculated fields stored?
« Reply #3 on: February 01, 2012, 12:26:13 pm »

yes, but what file in library? Maybe if  I replace only that file ...

No idea.

That would be a brave move indeed.  I think Alex figured some of that stuff out once before, but that was many versions ago.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

Tolga

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 438
Re: where are calculated fields stored
« Reply #4 on: February 01, 2012, 03:16:28 pm »

Ok, the calculated fields are stored in mediafiles.jmd and I fixed my library editing the binary file directly. No general lessons there...

However, two features would be great to prevent an issue like this:

1) recursion check for calculated features (This was the problem).
2) import/export calculated fields to an editable format. The latter would also greatly reduce programming time for calculated features and will make them easier share.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42445
  • Shoes gone again!
Re: where are calculated fields stored
« Reply #5 on: February 01, 2012, 04:06:39 pm »

1) recursion check for calculated features (This was the problem).

Could you give a simple example on how to create recursion that leads to a crash?

Thanks.
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up