Forum Index > General > Ask an Evil Mad Scientist!
 gEDA, gsch2pcb, Mac 10.7
 |  Printable Version
By: RobotGrrl (offline) on Thursday, December 15 2011 @ 12:48 PM PST (Read 3291 times)  
RobotGrrl

Hello!

Having some issues with getting gEDA to run on my mac. Running Mac OS X 10.7.2 (11C73).

I was able to install gEDA successfully with macports. Chose macports because fink didn't work, and it looks like it doesn't have a distro for 10.7: http://pdb.finkproject.org/pdb/package.php/geda-bundle

When I run xgsch2pcb and open an existing project, I get this error:


http://www.flickr.com/photos/robotgrrl/6517406019/in/set-72157628433612307

PHP Formatted Code
"Problem initialising org.freedesktop.DBus.Error.NoMemory: Not enough memory"



With this in the console:

PHP Formatted Code
/opt/local/lib/geda-xgsch2pcb/gui.py:641: GtkWarning: Attempting to store changes into `/Users/frankenteddy/.local/share/recently-used.xbel', but failed: Failed to create file '/Users/frankenteddy/.local/share/recently-used.xbel.7FIK6V': No such file or directory
  md.run()
/opt/local/lib/geda-xgsch2pcb/gui.py:641: GtkWarning: Attempting to set the permissions of `/Users/frankenteddy/.local/share/recently-used.xbel', but failed: No such file or directory
  md.run()
/opt/local/lib/geda-xgsch2pcb/gui.py:641: GtkWarning: Attempting to store changes into `/Users/frankenteddy/.local/share/recently-used.xbel', but failed: Failed to create file '/Users/frankenteddy/.local/share/recently-used.xbel.UE9J6V': No such file or directory
  md.run()



Why does this happen? What does it mean? I can't edit the pcb when this happens.


When I try to lauch gsch2pcb using the Mac OS X Launchers that I found online, this error appears:


http://www.flickr.com/photos/robotgrrl/6517406551/in/set-72157628433612307/

PHP Formatted Code
"Problem initialising Couldn't find 'pcb' executable Couldn't find 'gsch2pcb' executable"




When I try to edit the schematic, this error appears:


http://www.flickr.com/photos/robotgrrl/6517407295/in/set-72157628433612307/

PHP Formatted Code
"Could not locate tool: gschem"




... But all of the tools are there in /opt/local/bin- I can see them in the dir, and using which- they are def there.


http://www.flickr.com/photos/robotgrrl/6517407711/in/set-72157628433612307/


Running gschem works fine:


http://www.flickr.com/photos/robotgrrl/6517408931/in/set-72157628433612307/

but running pcb sometimes gives a memory error:

PHP Formatted Code
pcb_dbus: DBus connection Error (Not enough memory)




Here are my questions, thanks for having the patience to read through all of this. Also I'm new at gEDA so it may be something simple that is causing the issues.
- Does anyone have gEDA running good on Mac 10.7?
- How can I make gschm2pcb work, without the memory errors and without the not found errors?
- Why does the launcher version of gschm2pcb say that it can't find the tools, when they are there in opt/local/bin?

Hopefully someone can help, thanks a bunch in advance!


Forum Apprentice
Apprentice


Status: offline

Registered: 09/17/11
Posts: 9

Profile Email    
   
By: Windell (offline) on Thursday, December 15 2011 @ 01:06 PM PST  
Windell

Hey RobotGrrl!

- Does anyone have gEDA running good on Mac 10.7?

I do!

- How can I make gschm2pcb work, without the memory errors and without the not found errors?

I don't know. I don't actually use xgsch2pcb (the GUI version of this tool), just the command line version. If you pull up a terminal, can you run gsch2pcb? Does that work?

Also, if you have a recent version of PCB, you can directly select "import schematic" from the menu, and skip the gsch2pcb process entirely.


- Why does the launcher version of gschm2pcb say that it can't find the tools, when they are there in opt/local/bin?

That, I do not know. It could, possibly, be a permissions error. I'll see if the author of those launchers might want to weigh in as well.


Windell H. Oskay
drwho(at)evilmadscientist.com
http://www.evilmadscientist.com/

Forum Evil Scientist
Evil Scientist

Status: offline

Registered: 06/15/06
Posts: 1932
Sunnyvale, CA

Profile Email Website  
   
By: Anonymous: msarnoff () on Thursday, December 15 2011 @ 01:36 PM PST  
Anonymous: msarnoff

Hey,

I wrote the Mac OS X launchers, and I actually haven't tested them on 10.7 yet. Some questions:

- Is the problem only with the gsch2pcb app? Do gschem and pcb launch correctly when you double click their apps?
- Do gschem and pcb start correctly from the command line?

It may be possible that xgsch2pcb is broken on Lion. I don't think a lot of people use it. Still, I'll see if I can reproduce the problem.

-matt





       
   
By: RobotGrrl (offline) on Thursday, December 15 2011 @ 09:45 PM PST  
RobotGrrl

Wow thanks for the quick response Windell & msamoff!

Windell- It is good to hear that you have it working on 10.7 too. Running the command line version does work from what I have seen (haven't tested it in depth yet). Thanks for the tip about importing the schematic, I'll definitely try that.

msarnoff- Thanks for making the launchers! gschem, pcb, and gerbv launch fine from the launchers and from the command line. The problem is just with gschm2pcb it seems. Are there any other details I could give to help you figure out the problem? Thanks for looking in to this ^_^


Forum Apprentice
Apprentice

Status: offline

Registered: 09/17/11
Posts: 9

Profile Email    
   



 All times are PDT. The time is now 09:46 AM.
Normal Topic Normal Topic
Locked Topic Locked Topic
Sticky Topic Sticky Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to Post 
Filtered HTML Allowed 
Censored Content 

Evil Mad Scientist Forum Archives — Read only!

Please visit our new forums for new discussions.


DIY Hardware for Electronic Art


The Original Egg-Bot Kit


Octolively
Interactive LED kits


Meggy Jr RGB
LED matrix game
development kit.


Business-card sized
AVR target boards


Peggy 2
LED Pegboard kits

My Account






Lost your password?