Sublime text 3, Zurb Foundation and Compass (SASS) - zurb-foundation

I'm a SASS/SCSS newbie and right after starting my first Zurb Foundation project I found in Sublime Text 3 error in the console
which: no compass in (/usr/lib/hardening-wrapper/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-sdk/platform-tools:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
[ERROR] compass not found. Make sure it exists in your PATH.
[Finished in 0.0s]
I'm unable to continue. I had read a lot about how to use compass, but any usable information for "dumbers" step by step ST3+Compass+Foundation.
Compass tutorial on zurb's site ends with the error above.
Thank You

Related

Insert equation plugin of Zim does not find Latex

I have installed Zim on my MacBook. I already have Latex installed. When I try to add the "Insert Equation" plugin, the following errors are shown:
Dependencies
latex - Failed
dvipng - Failed
It is worth mentioning that when I type "latex" or "dvipng" in the terminal, I see that the corresponsing program is called. So, the installation of Latex seems fine.
How to solve this issue?

Xcode 8 PRODUCT_BUNDLE_IDENTIFIER

I get following error when trying to build/test a app on my phone
Showing Recent Issues Bundle identifier is missing. QRCodeReader doesn't have a bundle identifier for the Debug build configuration. Add a value for PRODUCT_BUNDLE_IDENTIFIER in the build settings editor.
How can I change this to let the app work.
I got the app from a tutorial on appcoda here, I'm trying to build a super easy barcode scanner. My xcode/swift at beginnerslevel.
I used the build file to convert it to swift 3 and when simulating it, it worked. But when simulating it on my phone it didn't.
Can I add my own bundle_identifier and where do I sign this up?
I'm working on osx Sierra , Xcode 8
Just go to Target -> Build Settings -> Product Bundle Identifier -> Expand it -> Debug -> put here same bundle id from Release.

Issue in ionic2 tutorial template project

I am getting below error when I tried to run the ionic tutorial project created by using ionic start MyIonic2ProjectSideMenu tutorial --v2
Could someone help me how to fix this issue.
>
node_modules/ionic-angular/components.core.scss
Error: Import directives may not be used within control directives or mixins.
on line 34 of node_modules/ionic-angular/components.core.scss
#import "fonts/ionicons";
--^
This has been recently fixed, try updating to the latest beta6 and generating a new project.

pdfkit not importing correctly in editors

I'm trying to make PDFs out of HTML files and URLs. I've found wkhtmltopdf to be just what I'm looking for, and the Python wrapper, pdfkit, seems great too.
However, when I try to run the basic script:
import pdfkit
pdfkit.from_url('http://google.com', 'out.pdf')
In either Wing IDE or Sublime Text 2, I get this error:
AttributeError: 'module' object has no attribute 'from_url'
The strange part is, it works fine when I do it at the command line or in the Wing IDE shell.
I assume this has something to do with how pdfkit is installed in sitepackages, but I don't know enough about the intricacies of those to figure out how to fix the issue. Can anyone help?
I'm using Python 2.7, Wing IDE 4.1.11-1, Sublime Text 2.0.2 on Windows 7.
Thanks a lot,
Alex
As Wingware pointed out, I had a file called pdfkit.py in the same folder as the script. Instead of importing the module it was importing that file, which of course was almost empty.
Thanks Wingware.

datacharts in reportlab

I am getting this error which running reportlab with django:
Error was: No module named datacharts
When I checked the
C:\Python26\Lib\site-packages\rlextra\graphics\guiedit folder I dont find datacharts.py but I only find datacharts.pyc and datacharts.pyo
For all other files, even py is there. I tried downloading rlextra again but py for datacharts is still not there.
Is this the right format or I am missing on anything which django is not able to find.
Have you read through the Reportlab installation instructions?
In particular, step 3 tells you how to test your rlextra installation, and step 4 mentions that you will need to install Python Windows extensions in order to use data-aware charts with a database.