Comments (11)
Tried with another .brd file, same:
/eagle2fritzing/brd2svg$ ./brd2svg -w ./work/ -e /opt/eagle/
looking for all.packages.txt in "/home/ubuntu/Documents/BT_SB/pcb/eagle2fritzing/brd2svg/all.packages.txt"
"unable to start LSM6DS3_Breakout_Panel_v10.brd"
"unable to parse board xml 'LSM6DS3_Breakout_Panel_v10.xml': unexpected end of file line:1 col:1"
generating bin
done
from eagle2fritzing.
Try to use this fork: https://github.com/adafruit/eagle2fritzing/
from eagle2fritzing.
Thanx...
Sort of an issue as well....
$ ./run.sh
Traceback (most recent call last):
File "preprocess.py", line 37, in <module>
dom = parse(sys.argv[1]) # infile
File "/usr/lib/python2.7/xml/dom/minidom.py", line 1918, in parse
return expatbuilder.parse(file)
File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 922, in parse
fp = open(file, 'rb')
IOError: [Errno 2] No such file or directory: '/home/jadeye/Desktop/FritzingTest/brds/*.brd'
./run.sh: line 32: /home/jadeye/Desktop/FritzingTest/brds/*.brd: No such file or directory
./run.sh: line 33: /home/jadeye/Desktop/FritzingTest/brds/*.brd.tmp: No such file or directory
cp: cannot stat ‘/home/jadeye/Desktop/FritzingTest/brds/*.brd’: No such file or directory
mv: cannot stat ‘/home/jadeye/Desktop/FritzingTest/brds/*.brd.tmp’: No such file or directory
eagle executable '/Applications/EAGLE-7.3.0/EAGLE.app/Contents/MacOS/EAGLE' not found
usage: brd2svg -w <path to working folder (containing brds folder)> -e <path to eagle executable> -c <core or contrib> -g (set only for generic smd ic generation) -s <path to subparts folder> -p <path to second subparts folder> -a <path to 'and' folder>
cp: cannot stat ‘/home/jadeye/Desktop/FritzingTest/parts’: No such file or directory
jadeye@jadeye-desktop:/opt/eagle2fritzing/brd2svg$ ./brd2svg -w /opt/eagle2fritzing/brd2svg/work -e /opt/eagle
looking for all.packages.txt in "/opt/eagle2fritzing/brd2svg/all.packages.txt"
"unable to start LSM6DS3_Breakout_Panel_v10.brd"
"unable to start SparkFun-LSM9DS1-Breakout.brd"
unable to parse board xml 'LSM6DS3_Breakout_Panel_v10.xml': unexpected end of file line:1 col:1 unable to parse board xml 'SparkFun-LSM9DS1-Breakout.xml': unexpected end of file line:1 col:1
generating bin
done
Any ideas??
from eagle2fritzing.
Looks like it failed on stage 'run .ulp file in Eagle'. To fix that, modify original run.sh
file:
- on line 4 of
run.sh
file set anEXEC
variable value to the full path to Eagle executable file; for example for my computer this line will look like this:EXEC=/home/srgk/.local_apps/eagle/bin/eagle
; - on line 14 of
run.sh
you may want to change a value ofTESTPATH
variable; but keep in mind that the specified directory must exist beforerun.sh
script will be ran.
After doing that, I managed to get the following results: https://www.dropbox.com/s/d8vmpqrp9ty3coi/FritzingTest_e2f_issue21.tar.gz?dl=0
from eagle2fritzing.
Thank you!
Edited the run.sh
as you mentioned...worx like a charm!
$ ./run.sh
looking for all.packages.txt in "/opt/eagle2fritzing/brd2svg/and/all.packages.txt"
"wrote LSM6DS3_Breakout_Panel_v10.brd xml"
"wrote SparkFun-LSM9DS1-Breakout.brd xml"
parsing "LSM6DS3_Breakout_Panel_v10.xml"
generating params
parsing "SparkFun-LSM9DS1-Breakout.xml"
generating params
generating bin
done
looking for all.packages.txt in "/opt/eagle2fritzing/brd2svg/and/all.packages.txt"
parsing "LSM6DS3_Breakout_Panel_v10.xml"
parsing "SparkFun-LSM9DS1-Breakout.xml"
generating bin
done
Resolved....
Thanx a million...
from eagle2fritzing.
You are welcome :)
Please, mark this issue as resolved. I'm not a member of this project and I can't change statuses of another's issues. Just a guy who sent several lines of code long time ago
from eagle2fritzing.
thanks for your support and code!
can you make a pull-request as well. would be nice having the fix in this original repo as well.
thank you in advance
from eagle2fritzing.
Well, original (this) repository doesn't have a corresponding run.sh script, to which my pull request was originally related. So, to implement similar behavior in the original repository, it's required to make changes in brd2svg source code itself. It can be tricky
from eagle2fritzing.
@el-j, pull request is ready (for a while): #22
from eagle2fritzing.
sorry for the delay. thank you. merged now
from eagle2fritzing.
Glad to see it, thank you :)
from eagle2fritzing.
Related Issues (19)
- dies from missing fonts HOT 8
- Readme translations HOT 8
- OS X version HOT 3
- Crashes at LbrApplication::getBounds the QTransform says it is not an instance of QguiApplication HOT 3
- Missing brd2xml.scr?
- Ability to turn qDebug on from the command line would be useful.
- Fix readme HOT 1
- Run.py file does not exist HOT 1
- ERROR on MacOS
- lbr2svg README Google Spreadsheet link broken
- -> Pre-built (Release) binaries HERE <-
- brd2xml crashes inconsistently
- lbr2svg doesn't accept any arguments HOT 3
- Unable to import generated files HOT 4
- brd2svg fails when element name has illegal characters HOT 3
- Offer the option to generate fzpz/fzbz
- Upgrade to Qt5 HOT 1
- Interpret brd files directly, instead of using a ULP
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eagle2fritzing.