Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
THREAD CLOSED
Tip us?
 
lithid-cm
Old
#851  
lithid-cm's Avatar
Recognized Developer - OP
Thanks Meter 2855
Posts: 3,154
Join Date: Jul 2010
Location: Cleveland
Quote:
Originally Posted by rkpeterson View Post
Getting this error when starting the gui

"RuntimeError: Bad magic number in .pyc file"

Ubuntu 10.04 64
Python 6.5
Sorry, using ubuntu 12.04 and python is at 2.7 forgot about that, I have since installed python 2.6 for building 10.04. This should hold ya over. its the latest 0.3 update just not compiled.

http://www.mediafire.com/?w3oqkw5ocktgpil

Quote:
Choosy moms choose JIF, the others JFIO
Twitter | Google Plus | Scripts | Github | AOSCompiler

 
rkpeterson
Old
#852  
Junior Member
Thanks Meter 0
Posts: 5
Join Date: Apr 2011
Location: Lake Geneva, WI
Default 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
Old
#853  
lithid-cm's Avatar
Recognized Developer - OP
Thanks Meter 2855
Posts: 3,154
Join Date: Jul 2010
Location: Cleveland
Quote:
Originally Posted by rkpeterson View Post
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

Quote:
Choosy moms choose JIF, the others JFIO
Twitter | Google Plus | Scripts | Github | AOSCompiler

 
mDroidd
Old
#854  
mDroidd's Avatar
Recognized Contributor
Thanks Meter 1231
Posts: 1,739
Join Date: Aug 2011

 
DONATE TO ME
-eg means equal or greater
-eq means equal

Depends on what he wants

Sent from my Galaxy Nexus using Tapatalk 2 Beta-5
 
lithid-cm
Old
#855  
lithid-cm's Avatar
Recognized Developer - OP
Thanks Meter 2855
Posts: 3,154
Join Date: Jul 2010
Location: Cleveland
Quote:
Originally Posted by mDroidd View Post
-eg means equal or greater
-eq means equal

Depends on what he wants

Sent from my Galaxy Nexus using Tapatalk 2 Beta-5
In reference to?

Sent from my Nexus S 4G using xda premium

Quote:
Choosy moms choose JIF, the others JFIO
Twitter | Google Plus | Scripts | Github | AOSCompiler

 
mDroidd
Old
#856  
mDroidd's Avatar
Recognized Contributor
Thanks Meter 1231
Posts: 1,739
Join Date: Aug 2011

 
DONATE TO ME
Quote:
Originally Posted by lithid-cm View Post
In reference to?

Sent from my Nexus S 4G using xda premium
I just saw the post I was pointing at is not here :P

Thought it was right at the end, whoops...

Sent from my Galaxy Nexus using Tapatalk 2 Beta-5
 
CaTeIM
Old
#857  
CaTeIM's Avatar
Junior Member
Thanks Meter 3
Posts: 8
Join Date: Dec 2008
Location: Cachoeiro de Itapemirim - ES

 
DONATE TO ME
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
 
lithid-cm
Old
#858  
lithid-cm's Avatar
Recognized Developer - OP
Thanks Meter 2855
Posts: 3,154
Join Date: Jul 2010
Location: Cleveland
Updated with a few minor fixes v0.4. Still working on a much larger update to the code. Thanks for the patience.

Quote:
Choosy moms choose JIF, the others JFIO
Twitter | Google Plus | Scripts | Github | AOSCompiler

The Following 6 Users Say Thank You to lithid-cm For This Useful Post: [ Click to Expand ]
 
Renan Lazarotto
Old
#859  
Renan Lazarotto's Avatar
Senior Member
Thanks Meter 168
Posts: 586
Join Date: Sep 2011
Location: Curitiba
So, I think I'm going to install ubuntu again...

Thanks for this, awesome!
 
mDroidd
Old
#860  
mDroidd's Avatar
Recognized Contributor
Thanks Meter 1231
Posts: 1,739
Join Date: Aug 2011

 
DONATE TO ME
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

THREAD CLOSED
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...