Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error generating license #162

Closed
wiltwitt opened this issue Apr 9, 2017 · 26 comments
Closed

Error generating license #162

wiltwitt opened this issue Apr 9, 2017 · 26 comments

Comments

@wiltwitt
Copy link

wiltwitt commented Apr 9, 2017

I am trying to generate the starter and I get "Internal server error" message.
I have been fighting with this license issue for weeks now. I just can't get it to work. This is driving me nuts. I am at a point where I don't want to use this but get my money back. Problem is that it never generates the way I entered. I type in xxx.droid but it will generate as xxx.core for android. What the hell...

https://uxdivers.com/secure/grial/api/v1/apps/37/download/starter

@wiltwitt
Copy link
Author

wiltwitt commented Apr 9, 2017

Will someone screen cast generating license through the admin portal and post it on youtube?

@LeoHere
Copy link

LeoHere commented Apr 9, 2017

@wiltwitt , I'm really sorry for all the inconvenience you have experienced.

From the logs I can tell two things:

  • At some point both the iOS and Android projects ends up with the same name. That was causing an issue when the package was generated.
  • When that error occurs, there was a lock on the staging folder which did not allow you to generate the package again until the lock timed out 10 minutes after its creation.

You should be able to download the starter/full project now, since those locks have been released and projects have a different name now.

We will work on fixing two issues, in order to avoid anyone to experience this issue again:

  • Ensure that all locks are correctly released when errors occurs
  • Validate that projects have different names.

Again, sorry for the inconvenience and don't hesitate to contact us if you have any other issue.

@wiltwitt
Copy link
Author

wiltwitt commented Apr 9, 2017

one of my issue is that a generated project is using library namespace instead of droid or ios project namespace entered on admin portal. this is driving me nuts. Will you guys fix this bug ASAP? I can't change my own droid and ios project namespace. This is causing me bunch of errors.

@LeoHere
Copy link

LeoHere commented Apr 10, 2017

@wiltwitt as I mention in the other thread, we will address this ASAP. In the meantime, if you want to upgrade the namespaces by hand you will need to update the namespace declaration in:

Android

  • MainActivity.cs
  • Properties/AssemblyInfo.cs
  • Renderers/CustomFontLabelRenderer.cs

Additionally, change the default namespace of your Droid project.

iOS

  • AppDelegate.cs
  • Main.cs
  • ThemeColors.cs

Additionally, change the default namespace of your iOS project.

Note: That if you changed the default namespace in your Droid/iOS project you will need to change accordingly the name of the license you pass to the GrialKit.Init in the AppDelegate.cs and MainActivity.cs.

@wiltwitt
Copy link
Author

wiltwitt commented Apr 12, 2017

Ok What you said here didn't work. I can run fine on Android but not on ios. It fails on license line. What in the world do I have to do to get this to work. It worked few weeks ago at one point but not anymore. I guess I will have to wait until you guys fix the admin console

@LeoHere
Copy link

LeoHere commented Apr 12, 2017

Are you getting a "Error reading license” error? If that is the case probably you changed the iOS project default namespace but did not update the AppDelegate.cs, as mentioned in the note above.

If you give me more details about the error I can help you fix it

@wiltwitt
Copy link
Author

wiltwitt commented Apr 13, 2017

Just downloaded the new one but same error with reading license. I double checked the appDelegate.cs and other files. I am at a loss

@LeoHere
Copy link

LeoHere commented Apr 16, 2017

@wiltwitt we released the update 2.0.52.0 for Grial App and Nuget packages that includes the fix for the issue you have. Just go to the Admin site and download the app again.

Please, let me know if you have any issue.

@jpbrocca
Copy link
Contributor

Hi @wiltwitt, how are you?

For more info about this fix, please check:
http://uxdivers.github.io/Grial-UI-Kit-Support/release-notes.html

Best,
JP

@wiltwitt
Copy link
Author

wiltwitt commented Apr 16, 2017 via email

@jpbrocca
Copy link
Contributor

Hi @wiltwitt,

Did you change your app's Grial version number on Grial Admin and saved changes before downloading?

image

Best,
JP

@LeoHere
Copy link

LeoHere commented Apr 16, 2017

@wiltwitt the error you mentioned was reported here. However, the client that reported it confirmed it was not happening with 2.0.52.0. Nevertheless , I think this error might not be related to any specific version of Grial, but to VS getting confused with the different versions of the PropagateThemeTask task. FailOnError parameter was introduced in the new version of the task. I think VS is trying to resolve 2.0.52.0 .target using the old 2.0.35.0 assembly that did not had the property, thus it complains.

Can you please do as follows:

  • Double check the sample you are testing depends on 2.0.52.0
  • Do a clean in the solution
  • Restart Visual Studio
  • Rebuild

Please let me know the results.

PD: Regarding @jpbrocca comment, there is no need to explicitly select 2.0.52.0. By default all apps have the Stick to latest stable version set. So, if you download the starter project today it should be base on 2.0.52.0.

@wiltwitt
Copy link
Author

yep, I downloaded twice but still errors.

error

@wiltwitt
Copy link
Author

Weird, Restarting VS worked for starter project. Now I need to try this with my own project.

@LeoHere
Copy link

LeoHere commented Apr 17, 2017

@wiltwitt these kind of errors you were getting usually are related to nuget package restore problems...may be restarting VS trigger the restore package process again and succeeded...

@wiltwitt
Copy link
Author

well, that didn't work for my project. I need to figure out why...

@wiltwitt
Copy link
Author

This license is just killing me. I spent so much time just to get this to work. Why do you guys do it this way. Why can't it be just type the guid or something, I am going insane here.

@wiltwitt
Copy link
Author

Ok guys, I am just going to give this another week and that's all. I can't even work on my own code.

@LeoHere
Copy link

LeoHere commented Apr 17, 2017

@wiltwitt let's schedule a call so we can help you pass through these issues. Can you send me an email (to l r o d r i g u e z at uxdivers.com) with the time frame you are available for a call?

@wiltwitt
Copy link
Author

@LeoHere Thanks, I will try again tonight and read the doc again. If I fail then we can figure something out.. Thanks again

@wiltwitt
Copy link
Author

wiltwitt commented Apr 18, 2017

Wow, I finally got it to work but I am afraid when I change my the name and namespace for production, which I will, I will have to go through this again. What a nightmare that was. I am still not sure if I should or can use this library given all these issues I had just to run it. I think product is not bad it's just that I am afraid to waste more time that I don't have...

@wiltwitt
Copy link
Author

What is your money back policy by the way?

@LeoHere
Copy link

LeoHere commented Mar 3, 2018

Closing the issue. Feel free to reopen it if you need so.

@LeoHere LeoHere closed this as completed Mar 3, 2018
@dejobo
Copy link

dejobo commented Mar 28, 2018

@LeoHere please help, I'm having the same issue. Thanks!

@JameelNabbo
Copy link

Having same issue.

@LeoHere
Copy link

LeoHere commented Nov 29, 2018

@JameelNabbo please open a new issue (reference to this one if you need too) describing what is the issue you are experiencing specifically. There are several issues mentioned in this thread... thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants