[CMC-GUI] [DAILY] [PPA] Cyanogenmod Compiler Daily [Depreciated]

Status
Not open for further replies.
Search This thread

mryoung0042

Senior Member
Jan 16, 2010
190
32
California
i am trying set this up using ubuntu 12.04 and when the prompt pop ups i click and nothing happens. here is my terminal output
predator@Predators-Mentality:~$ cmc
Traceback (most recent call last):
File "/usr/share/cmc/prog/cmcompiler.py", line 892, in <module>
go.main()
File "/usr/share/cmc/prog/cmcompiler.py", line 511, in main
get_askConfirm()
File "/usr/share/cmc/prog/cmcompiler.py", line 653, in get_askConfirm
askedClicked()
File "/usr/share/cmc/prog/cmcompiler.py", line 638, in askedClicked
file(askConfirm, 'w').close()
IOError: [Errno 2] No such file or directory: '/home/predator/.cmc/ask.confim'
 

lithid-cm

Inactive Recognized Developer
Jul 1, 2010
3,189
2,956
Cleveland
i am trying set this up using ubuntu 12.04 and when the prompt pop ups i click and nothing happens. here is my terminal output
predator@Predators-Mentality:~$ cmc
Traceback (most recent call last):
File "/usr/share/cmc/prog/cmcompiler.py", line 892, in <module>
go.main()
File "/usr/share/cmc/prog/cmcompiler.py", line 511, in main
get_askConfirm()
File "/usr/share/cmc/prog/cmcompiler.py", line 653, in get_askConfirm
askedClicked()
File "/usr/share/cmc/prog/cmcompiler.py", line 638, in askedClicked
file(askConfirm, 'w').close()
IOError: [Errno 2] No such file or directory: '/home/predator/.cmc/ask.confim'

Yea sorry about that, I failed to create the folder during the initial dialog, since I added that dialog last min as a security thing. To fix it just type:
Code:
mkdir ~/.cmc

Then restart cmc, sorry. Its already fixed on github and will be in the next release.
 

mryoung0042

Senior Member
Jan 16, 2010
190
32
California
Yea sorry about that, I failed to create the folder during the initial dialog, since I added that dialog last min as a security thing. To fix it just type:
Code:
mkdir ~/.cmc

Then restart cmc, sorry. Its already fixed on github and will be in the next release.

appreciate the quick reply.. no need to apologize your rep speaks volumes.. by the way I still use your salvagemod rom. :D
 
  • Like
Reactions: lithid-cm

lithid-cm

Inactive Recognized Developer
Jul 1, 2010
3,189
2,956
Cleveland
New update being pushed out for beta 0.3 get it in the OP

Changelog

5ETbg.png

vR9qV.png

DJ6iW.png

J3dUp.png
 

championswimmer

Inactive Recognized Developer
Oct 22, 2011
5,018
8,446
New Delhi
android.championswimmer.tk
hi!
nice tool (i'm using the cli only)

i wanted to suggest that adding unsupported device should add a project line directly in the repo manifest

this way repo sync command from working directory automatically syncs that device too

also there are some unneeded devices in repo manifest (for eg if i want to compile for htc device, all samsung devices are unneeded)
there should be an option to disable them before syncing... tat will reduce about 1gb (excluding samsung) to 2gb (excludinghtc) of source...

i tried building semc_es209ra (currently not officially supported) and i commented out htc and samsung devices from repo manifest just before syncing, and it worked pretty smoothly only :p
 
  • Like
Reactions: exb0

lithid-cm

Inactive Recognized Developer
Jul 1, 2010
3,189
2,956
Cleveland
hi!
nice tool (i'm using the cli only)

i wanted to suggest that adding unsupported device should add a project line directly in the repo manifest

this way repo sync command from working directory automatically syncs that device too

also there are some unneeded devices in repo manifest (for eg if i want to compile for htc device, all samsung devices are unneeded)
there should be an option to disable them before syncing... tat will reduce about 1gb (excluding samsung) to 2gb (excludinghtc) of source...

i tried building semc_es209ra (currently not officially supported) and i commented out htc and samsung devices from repo manifest just before syncing, and it worked pretty smoothly only :p
I don't control the manifests. I just pull cyanogenmods. I have no control of the extra devices.


Sent from my Nexus S 4G using xda premium
 

championswimmer

Inactive Recognized Developer
Oct 22, 2011
5,018
8,446
New Delhi
android.championswimmer.tk
I don't control the manifests. I just pull cyanogenmods. I have no control of the extra devices.


Sent from my Nexus S 4G using xda premium

I'm talking of the local manifest ...not the remote manifest

once you init repo inside suppose ~/cm7/system

then

gedit ~/cm7/system/.repo/manifest.xml

shows you the manifest....
here we can comment out unneded devices...like maguro, crespo, blade etc etc....

then we do

repo sync -j4

for people who have lots of bandwidth, this aint problem...but my internet is slow...so i remove unwanted projects before syncing...reduces the source size by almost 1.5 gb



Sent from my X10S using xda premium
 

rkpeterson

Senior Member
Apr 26, 2011
387
951
Lake Geneva, WI
Thanks but

I appreciate the quick response, I went ahead and added Python 2.7
but now this is what I'm getting..

bob@bob-laptop:~$ cmc
Traceback (most recent call last):
File "/home/lithid/Cmc-pygtk/src/prog/cmcompiler.py", line 3, in <module>
ImportError: No module named pygtk

I have no problems compiling with cli, just wanted to try out your gui.

You have done a great job by the way kudos
 

lithid-cm

Inactive Recognized Developer
Jul 1, 2010
3,189
2,956
Cleveland
I appreciate the quick response, I went ahead and added Python 2.7
but now this is what I'm getting..

bob@bob-laptop:~$ cmc
Traceback (most recent call last):
File "/home/lithid/Cmc-pygtk/src/prog/cmcompiler.py", line 3, in <module>
ImportError: No module named pygtk

I have no problems compiling with cli, just wanted to try out your gui.

You have done a great job by the way kudos
Your python does not see pygtk module for some reason.

Sent from my Nexus S 4G using xda premium
 

CaTeIM

Member
Dec 16, 2008
9
5
Cachoeiro de Itapemirim - ES
Please help me. I'm not getting Compile and also Sync! It appears this error:

root@CaTeIM-Linux:/home/cateim# Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
self.run()
File "/home/lithid/Cmc-pygtk/src/prog/build.py", line 82, in run
File "/home/lithid/Cmc-pygtk/src/prog/build.py", line 236, in repo_build_go
File "/home/lithid/Cmc-pygtk/src/prog/build.py", line 227, in start_build
File "/home/lithid/Cmc-pygtk/src/prog/helper.py", line 183, in common_chk
NameError: global name 'config' is not defined
 

mDroidd

Senior Member
Aug 27, 2011
1,844
1,362
mappz-development.com
You COULD make this code Windows-compatible, right?

PyGtk is also available for Windows as you know, and I am sure that if you would edit some os.system() commands you would be able to run it on windows too.

But then we have the git problem :p

But could you tell me: is it possible?

Sent from my Galaxy Nexus using xda premium
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 275
    Cyanogenmod Compiler (CMC) GUI
    Build cyanogenmod with a gui.

    1ZFWd.png


    Known issues:
    - Currently no multi-threading, which means when you press sync or compile, there is no loading bar (app looks like its failing, its not.). I am working on that.
    (If you want to watch the output of the sync or compile, just open a terminal and type "cmc", I log all to the system.)
    - When locking the CMCompiler to the unity launcher you have to logout and log back in refer: ubuntu bug 916098
    - Currently there isn't great error logic and dialogs to warn you about everything. Something that is still being working on. Just run from the terminal if you have an issue that you need to report.
    - Missing make clean and make installclean. These will be added in the future.

    Found bugs to fix v0.1:
    - No "/" at the end of custom repo string path.
    - Error checking for compile start


    *Please any issue that should arise, I apologize in advanced. Please let me know with as much detail as possible to replicate the issue and I will resolve it.

    Please read:
    I have thought maybe times different ways I was going to go about this. Ads, donate version, paid app, etc. I choose to keep the project open, as that's how I roll. I do ask that if you enjoy the application that you try to donate something. This was my first gui project and took a lot of time and effort to even get it to where it is right now. I hope everyone enjoys the app as much as I enjoy working on it.

    Install:
    Note: If you are using the old ppa then look at post # 2 on how to remove it before adding this.
    Code:
    sudo apt-add-repository ppa:lithid/ppa
    sudo apt-get update

    Install daily dev builds:

    Code:
    sudo apt-get install cmcompiler-daily

    Install beta builds:

    Note: Not yet available.
    Code:
     sudo apt-get install cmcompiler-beta
    Install stable builds:
    Note: Not yet available.
    Code:
     sudo apt-get install cmcompiler
    Note: You cannot have daily and stable at the same time. You can only use either or.

    Source code | Bugs | Answers
    Build info:
    daily-builds

    Enjoy some signatures from SavocaFTW:

    Cq1ed.jpg


    IjnVz.jpg


    121EB.jpg


    You can follow me on google+ I tend to talk about it a bit on there as well.
    68
    Cyanogenmod Compiler (CMCompiler) HALP!

    Error Codes:
    Error: Need to sync first - After choosing compile, the program didn't find the needed .repo folder in your repo path. This assumes you never ran sync, so you never downloaded the code. You could have also renamed the .repo folder to something else, which would cause this error as well.
    Error: device not found - Your device was not found in the repo, might be unsupported.
    Error: Adb isn't running - First time running compile, you will need to have your phone connected and ADB running in order to pull off needed files from your phone.
    Error: Extract-files came back False - This means a script called extract-files.sh failed to pull off those needed files from your phone.
    Error: Compile error please check - This indicates that your build failed. You will need to run cmcompiler via terminal to get why.
    Error: Repo Script needs setup - You don't have the repo script installed. Install it.
    Code:
    curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/repo
    chmod a+x ~/repo
    sudo mv ~/repo /usr/local/bin/repo
    Error: No device configured - Appears there is no device configured, just select one from the setup menu.

    Removing old ppa:
    Code:
    sudo apt-get remove cmcompiler-daily
    sudo apt-get install ppa-purge
    sudo ppa-purge ppa:long-jeremie/ppa
    About Cmcompiler CLI
    ** If you are still using the CLI version, I have not updated it in sometime. I might get back to that but for right now the gui is my main focus. Please understand. You could always clone and make edits to the CLI here
    9
    for anyone still following, some big things are about to happen to cmc.

    https://plus.google.com/photos/103024643047948973176/albums/5731412329610445089
    7
    I know I haven't been updating the github code in a few days but that is because I have been working on a pretty decent update.

    2in8t.png


    Instead of the one interface and items branched off, this will be one unified Cyanogenmod Compiler. Each page will explain what the option is that you are choosing. If there are commands, it will show you them, this new update will actually teach you how to compile a rom without a gui, just by following the steps. This isn't just a walk through. It will be just like the old "setup" dialog I had, except with more information. I really hope you guys will enjoy the new update coming in the next few days.

    Thank you.
    6
    I have released the Beta v0.1 of the CMC GUI. Please be gentle if you run into issues. Been trying very hard to test everything I can.

    Thanks!

    READ THE OP