Quantcast
Channel: fritzing forum - Latest posts
Viewing all articles
Browse latest Browse all 31484

Travis CI build could not compile

$
0
0

OK, I’ve started working through those tutorials, but there’s a lot more there than I really want to digest at the moment…

I have tried a couple of simple things, mainly just amending bits and pieces in the .fzp file, but I am unable to recreate a .fzpz file. I’ve read several posts supposedly describing what has to be done—correctly naming the relevant files, 'zip’ing them (taking care to exclude the .DS_Store files that OS X likes to insert everywhere) and renaming the archive. I believe that I am following tose instructions to the letter, but while fzpzclean.py appears to recognise the content (and split the relevant files out exactly as expected), it issues warnings relating the .svg files:

$ python fzpzclean.py -f tempd -d tempc -o core -r
<part>.fzpz
WARNING reference could not be found: <part>0000_2_breadboard.svg
WARNING reference could not be found: <part>0000_2_icon.svg
WARNING reference could not be found: <part>0000_2_pcb.svg
WARNING reference could not be found: <part>0000_2_schematic.svg
$

Further, and more critically, the newly created .fzpz file will not load into Fritzing.

I’ve attached two files. The first Heltec CubeCell.fzpz (54.0 KB) is the part that I created, which still has the problems we’ve been discussing in relation to verifying its structure but which loads and is usable just fine in Fritzing. The second file Heltec CubeCell (reconstituted).fzpz (53.9 KB) is simply the result of ‘cleaning’ the original file (through fzpzclean.py) then reconstituting the .fzpz file by changing the names of the various files (no other changes) as required, 'zip’ing them, then renaming the .zip file .fzpz.

I can’t see any difference between the two (except for the extra ‘differentiating’ characters in the filenames, as would probably be expected) using the tools I’m using, but there’s obviously something seriously wrong with the reconstituted file. I’m hoping that the problem will be obvious to you and is something I can fix relatively easily. If I can successfully rebuild the .fzpz file from the necessary components, I should be able to work through the changes that I need to make to get the various components in order.

I don’t have FritzingCheckPart running yet becasue I’m using OS X and need to upgrade Python first, which was more than I wanted to worry about unless there was an end in sight. If I can’t make an .fzpz file successfully, I might just have to live with what I’ve got for the time being. My parts work just fine as they are for what I’m doing. There was jsut a request for a part that I had and I thought I’d oblige by putting it up on GitHub, but I only have so much time available…

Thanks for your help.


Viewing all articles
Browse latest Browse all 31484

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>