Kodi Community Forum
HowTo compile the latest version of Ember from SourceCode - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+---- Forum: Ember Media Manager (https://forum.kodi.tv/forumdisplay.php?fid=195)
+---- Thread: HowTo compile the latest version of Ember from SourceCode (/showthread.php?tid=254955)

Pages: 1 2 3 4


RE: HowTo compile the latest version of Ember from SourceCode - DanCooper - 2016-07-13

Run txAccount.bat manually, set the Transifex instance to "https://www.transifex.com", re-enter your account info and try it again.
If that does not work: run txDownload.bat and check if any error is posted in cmd.


RE: HowTo compile the latest version of Ember from SourceCode - Stimmenhotel - 2016-07-14

Code:
Traceback (most recent call last):
  File "<string>", line 113, in <module>
  File "<string>", line 90, in main
  File "C:\projects\transifex-client\txclib\utils.py", line 50, in find_dot_tx
  File "C:\Python27\lib\ntpath.py", line 85, in join
UnicodeDecodeError: 'utf8' codec can't decode byte 0xfc in position 8: invalid start byte
tx returned -1

output by txAccount.bat


Code:
*******************************************
*   Language Downloader and Renamer for   *
*           Ember Media Manager           *
*******************************************
*                                         *
*          !!!!! ATTENTION !!!!!          *
*                                         *
*     Existing files will be deleted!     *
*                                         *
*******************************************
*               by DanCooper              *
*******************************************
Das System kann die angegebene Datei nicht finden.
*******************************************
*       Copy default Transifex config     *
*******************************************
Das System kann den angegebenen Pfad nicht finden.
        0 Datei(en) kopiert.
*******************************************
*       Get all files from Transifex      *
*******************************************
Traceback (most recent call last):
  File "<string>", line 113, in <module>
  File "<string>", line 90, in main
  File "C:\projects\transifex-client\txclib\utils.py", line 50, in find_dot_tx
  File "C:\Python27\lib\ntpath.py", line 85, in join
UnicodeDecodeError: 'utf8' codec can't decode byte 0xfc in position 8: invalid start byte
tx returned -1
*******************************************
*       Delete unused language files      *
*******************************************
Das System kann die angegebene Datei nicht finden.
Das System kann die angegebene Datei nicht finden.
*******************************************
*          Rename files for Ember         *
*******************************************

Output txDownloader.bat after deleting the CLS commands.



Can't I just use the VS output?
Or is there something that needs to be installed?
I would just copy it from my notebook to my pc.


RE: HowTo compile the latest version of Ember from SourceCode - DanCooper - 2016-07-14

(2016-07-14, 09:19)Stimmenhotel Wrote:
Code:
Traceback (most recent call last):
  File "<string>", line 113, in <module>
  File "<string>", line 90, in main
  File "C:\projects\transifex-client\txclib\utils.py", line 50, in find_dot_tx
  File "C:\Python27\lib\ntpath.py", line 85, in join
UnicodeDecodeError: 'utf8' codec can't decode byte 0xfc in position 8: invalid start byte
tx returned -1

output by txAccount.bat


Code:
*******************************************
*   Language Downloader and Renamer for   *
*           Ember Media Manager           *
*******************************************
*                                         *
*          !!!!! ATTENTION !!!!!          *
*                                         *
*     Existing files will be deleted!     *
*                                         *
*******************************************
*               by DanCooper              *
*******************************************
Das System kann die angegebene Datei nicht finden.
*******************************************
*       Copy default Transifex config     *
*******************************************
Das System kann den angegebenen Pfad nicht finden.
        0 Datei(en) kopiert.
*******************************************
*       Get all files from Transifex      *
*******************************************
Traceback (most recent call last):
  File "<string>", line 113, in <module>
  File "<string>", line 90, in main
  File "C:\projects\transifex-client\txclib\utils.py", line 50, in find_dot_tx
  File "C:\Python27\lib\ntpath.py", line 85, in join
UnicodeDecodeError: 'utf8' codec can't decode byte 0xfc in position 8: invalid start byte
tx returned -1
*******************************************
*       Delete unused language files      *
*******************************************
Das System kann die angegebene Datei nicht finden.
Das System kann die angegebene Datei nicht finden.
*******************************************
*          Rename files for Ember         *
*******************************************

Output txDownloader.bat after deleting the CLS commands.



Can't I just use the VS output?
Or is there something that needs to be installed?
I would just copy it from my notebook to my pc.

Looks like an error in Transifex client.
I've just updated the Transifex client to version 0.12.1 (Python 3.x) on GitHub. Please try it again.
If you've installed another python version on your PC, please try it with another version of Transifex client: Link

It's also possible to use the files from VS Release folder, but there are some files that are not needed and only the NSIS Installer cleans up the Module and Main folder of your existing Ember installation.


RE: HowTo compile the latest version of Ember from SourceCode - Stimmenhotel - 2016-07-14

I would bet I had python installed...
But can't find any trace anymore ...
Installing 3.5.2 right now and trying it again.

Still not working ...
Do I need the 86x/32bit version of Python? I installed 64bit right now.


RE: HowTo compile the latest version of Ember from SourceCode - Monk - 2016-10-04

Current master fails to build for me: http://pastebin.com/ZWT3jKwZ
VS2015, Release, x86


RE: HowTo compile the latest version of Ember from SourceCode - DanCooper - 2016-10-04

(2016-10-04, 07:50)Monk Wrote: Current master fails to build for me: http://pastebin.com/ZWT3jKwZ
VS2015, Release, x86

Unload the addon generic.EmberCore.Trakt.
I accidentally uploaded a partial change. Should be ok in a few days again.


RE: HowTo compile the latest version of Ember from SourceCode - Monk - 2016-10-04

Works. Thanks Smile


RE: HowTo compile the latest version of Ember from SourceCode - sherlock_homeless - 2017-01-01

Hello,
is it possible to compile the latest source code for me so i can install the newest ember version?
I tried to do all the needed steps but im not good enough to get it working.

thanks


RE: HowTo compile the latest version of Ember from SourceCode - DanCooper - 2017-01-03

(2017-01-01, 14:38)sherlock_homeless Wrote: Hello,
is it possible to compile the latest source code for me so i can install the newest ember version?
I tried to do all the needed steps but im not good enough to get it working.

thanks

Should be possible to compile without the Trakt.tv addon.
But I'm working hard on many, many changes. I think it will be the best to wait for the next release. Than the source code should be fixed and easy to compile.


RE: HowTo compile the latest version of Ember from SourceCode - komplex - 2017-12-20

nvm I'm an idiot i changed transifex api >.<


RE: HowTo compile the latest version of Ember from SourceCode - MoBO - 2019-02-25

Hi,

I do have a stupid issue regarding the configuration of Transifex.
I have no idea what to answer at this question : Enter the path to your local source file:

My account seems to be fine but I'm lost regarding this step.

Thanks in advance


RE: HowTo compile the latest version of Ember from SourceCode - scanarr - 2022-09-14

Hi!

I've been looking around, but can't find any newer instructions on how to get a build up and running for the first time, and to make it even more interesting, I'm trying this on a Mac using Parallels, all while being unfamiliar with the VS tool set!  Eek

My first attempt was to use VS2022. I ran into all sorts of issues with updating the EMM codebase and never got everything to build completely.

The second try was with VS2019, which seemed much closer to the mark. There were a few places where I had to change <Prefer32Bit> from true to false, and one where I disabled a failing xcopy (below), but ultimately was able to produce a build.

xml:
    <PostBuildEvent>xcopy "$(ProjectDir)$(PlatformName)" "$(TargetDir)Bin" /E /I /R /Y</PostBuildEvent>

Running this build shows the splash screen, but crashes a short time later, when failing to find Settings.xml. (Maybe due to the missing xcopy?)

So, before digging into this too much deeper, it seemed prudent to ask if there might be any newer instructions available for setting up a first-time build. Also, if there's any other forum for development discussions, I'd be interested in checkin it out.

Thanks to anyone who made it to the end of this message, and extra thanks if you might have any tips on how to produce a good build!  Nerd


RE: HowTo compile the latest version of Ember from SourceCode - BlackEyed78 - 2022-11-14

Hello,

When I try to build in VS, I got the following Build error

Seems that TVDB imports (TVDB.csproj) or classes are missing...
TVDB.Web.WebInterface
TVDB.Model.Mirror
TVDB.Model.SeriesDetails
TVDB.Model.Episode

Have I missed something here?


RE: HowTo compile the latest version of Ember from SourceCode - BlackEyed78 - 2022-11-14

OK, found it.
Project is in another repo : https://github.com/DanCooper/TheTVDBApi

Had to fork it as well, open it, build it, then back to EMber and now the build is complete.
Let's see if it's running...


RE: HowTo compile the latest version of Ember from SourceCode - DanCooper - 2022-11-14

I think I havn't implemented this external source in a way that VS loads it automatically. Please try to download the TheTVDBApi as ZIP and extract it or pull it over GitHub.