Fork me on GitHub
#datomic
<
2015-09-15
>
devn01:09:42

For some reason my Datomic Pro Starter license key is not working

devn01:09:01

Anyone else have this problem? It says my key license expires November, 2015

devn01:09:57

I overwrote the dev-transactor.properties file with the key I received via email, but when I try to run ./bin/transactor dev-transactor.properties

devn01:09:20

=>

Critical failure, cannot continue: Error starting transactor
java.lang.RuntimeException: Unable to load license key*

devn01:09:51

This is on 0.9.5206

devn01:09:08

Something tells me that installing the Datomic Console might be the cause of the problem...

devn01:09:10

😕 Nope

bostonaholic03:09:17

maybe you didn't copy it correctly into your config?

bostonaholic03:09:45

it should look like

license-key=bhnfyuijhiuhjuhjmnuyhjnbgt78uhn\
ftyuhjtyujnbhuyuijnbhu7yufdasdfasdfajbhu7yh\
nbvtyhj678ujnmjfdrtyhbnjfuydujhbasdfasdfasm\
bvtghj67ujbhytyujnbgh7tyudjnhuyasdfasdasduj\
vghu76tyujnbgy6yujhbgydfuyujnbhuasdfasdfasd\
vftyghjnby6ujbvgy76tyujbvgyuyj==
^^ this was random typing

Ben Kamphaus14:09:54

@devn was the license key working with a previous version?

devn14:09:52

The answer there is yes, though the last time I used it was about 9 months ago.

devn14:09:40

So, I clicked the button to have it send me a license key twice.

devn14:09:50

One of those keys does not work. The other one does.

devn14:09:10

But it's the same link, and the same email as far as I can tell.

Ben Kamphaus14:09:38

@devn nothing else at play, e.g. copy and paste then moving b/t OSes (such as introducing carriage returns in newlines from windows into unix text files)?

Ben Kamphaus14:09:54

If you have both working and non-working versions, also curious re: diff output b/t them (obviously don’t paste credentials in here for diff)

devn14:09:58

@bkamphaus: nono, i got it working, but what I'm saying is that I received two license keys for "Datomic Pro Starter Edition"

devn14:09:23

that's what I just noticed. It seems to be cycling through two keys, one of which is inactive.

Ben Kamphaus14:09:00

you got completely different keys each time?

devn14:09:21

Not reliably, though. If I click the link to have it send me my license key a few times, it's not consistently key 1, and then key 2.

Ben Kamphaus14:09:53

@devn looking into it, will get back to you

devn14:09:13

@bkamphaus: ah, you at Cognitect?

devn14:09:20

@bkamphaus: forgive me for not recognizing your name simple_smile

devn14:09:49

@bkamphaus: I can drop you both keys if that's helpful

Ben Kamphaus14:09:06

@devn don’t worry, I have a suspicion about what’s going on

devn14:09:15

thanks for your help!

domkm14:09:50

Is it possible to move entities to new partitions?

Ben Kamphaus14:09:29

@devn should be resolved now.

devn14:09:39

@bkamphaus: awesome. thanks!

sdegutis16:09:38

Why is Datomic Free no longer recommended for small production apps like it used to?

Ben Kamphaus17:09:31

One reason is that Pro Starter is required for additional storage options (other than file/free and mem).

az19:09:01

Hi, is it possible to alter a valueType in a schema?

marshall20:09:30

@aramz: No, you cannot alter :db/valueType

marshall20:09:33

If you need to emulate that ability, you can rename the existing attribute and create a new one with the altered valueType

marshall20:09:51

then use application code and/or db functions to migrate existing data as necessary

az20:09:45

does this ever cause you trouble?

az20:09:09

do you ever find yourself needing to switch like this?

Ben Kamphaus20:09:28

@aramz: that’s a tough one to answer, you’ll see a large amount of variation in the user base for schema alteration to accommodate type changes vs. migrating to a new db/model.

Ben Kamphaus20:09:51

sorry I don’t mean schema alteration specifically, but the rename strategy Marshall mentioned.

Ben Kamphaus20:09:56

for that case.

az20:09:00

thanks @bkamphaus good to know. Do you guys think that in a scenario where you have a required attribute that needs to be changed, the strategy @marshall outlined would force one into making the field optional? Example: zipcode starts off required and type long Then we need to accommodate some special format and string is a better choice How could we duplicate the attribute and still keep it as required but not satisfy the old attribute?

az20:09:19

or is there no such thing as a required attribute in datomic?

marshall20:09:31

@aramz: That’s correct, there really isn’t any model of ‘required’ attributes in Datomic. Any validations/requirements should be enforced by your application code (or possibly via transaction functions)

az20:09:42

thanks @marshall makes sense

devn23:09:25

@bkamphaus: small thing, but one that might be worth mentioning is that the emails I received had a subject of [Datomic TEST MESSAGE] Your Datomic Pro Starter ...

devn23:09:10

Purely cosmetic, I assume, but my guess is you guys probably want that to just be [Datomic] or something along those lines

Ben Kamphaus23:09:19

@devn: that’s purely from the issue that was impacting things yesterday night through this morning (actually what pointed me to problem), should no longer be the case.