Skip to content

Latest commit

 

History

History
183 lines (137 loc) · 7.51 KB

FAQ.md

File metadata and controls

183 lines (137 loc) · 7.51 KB

FAQ

  • Where can I get help?

    Mail us at [email protected], or go to our discussion forum and ask for help there.

  • Where can I report problems or suggest improvements?

    Please file an issue against [https://github.com/datacarpentry/workshop-template](this repository) or mail us.

  • Why does the workshop repository have to be created using import.github.com? Why not fork workshop-template on GitHub?

    Because any particular user can only have one fork of a repository, but instructors frequently need to work on several workshops at once.

  • *Why use the gh-pages branch instead of master?

    Because GitHub automatically publishes gh-pages as a website.

  • Why use Jekyll? Why not some other markup language and some other converter?

    Because it's the default on GitHub. If we're going to teach people to use that site, we should teach them to use it as it is, not as we wish it was.

  • Where should pages go if multiple workshops are running at a site simultaneously?

    Use subdirectories like 2015-07-01-esu/beginners, so that main directory names always follow our four-part convention.

  • What if I want to add more values to index.html, like address1 and address2 for different rooms on different days?

    Go ahead, but you must have the variables described in CUSTOMIZATION.md. Please make sure to run tools/check.py after adding or changing variables to make sure that our main website will understand your changes.

  • What is the "Windows installer"?

    Software Carpentry has built a small installation helper for Windows that installs nano and SQLite, adds R to the path, and so on. It is maintained in https://github.com/swcarpentry/windows-installer, which also has an up-to-date description of what it actually does. The latest version is always available at http://files.software-carpentry.org/SWCarpentryInstaller.exe; contributions are always welcome.

  • What do the labels mean?

    • bug: something is wrong in our tools or documentation
    • discussion: marks issues used for conversations about specific problems and questions
    • duplicate: marks an issue that was closed as redundant (include the number of the original issue in the closing comment)
    • enhancement: asks for, or adds, a new feature or new information
    • filed-by-newcomer: issue or pull request was filed by someone who is relatively new to GitHub and/or this project, and would appreciate guidance as well as feedback
    • help-wanted: a question or request for assistance
    • leave-as-is: marks an issue closed because the item in question will be left as is
    • suitable-for-newcomer: issue or pull request is a good starting point for someone who is relatively new to GitHub and/or this project
    • work-in-progress: a pull request that is not yet ready for review

Debugging

  • Eventbrite registration isn't showing up on the workshop's home page.

    First check that you have something like

    eventbrite: 1234567890AB
    

    at the YAML header of index.html. If the YAML header is set properly you probably are accessing file:///home/to/workshop/directory/_site/index.html directly. Instead, please run

    $ jekyll server -d _site
    

    and look at http://localhost:4000 in your browser (or push your changes to GitHub and view your page there).

  • What do I do if I see a invalid byte sequence in ... error when I run tools/check?

    Your computer is telling you that it doesn't understand some of the characters you're using. Declare your locale to be en_US.UTF-8 in your shell:

    $ export LC_ALL=en_US.UTF-8
    $ export LANG=en_US.UTF-8
    
  • What do I do if I see a Conversion error when I run tools/check?

    The error message may look something like this:

    Configuration file: d:/OpenCourses/dc/2013-10-17-round6.4/_config.yml
            Source: d:/OpenCourses/dc/2013-10-17-round6.4
       Destination: _site
      Generating... c:/Ruby193/lib/ruby/gems/1.9.1/gems/posix-spawn-0.3.6/lib/posix/spawn.rb:162: wa
    rning: cannot close fd before spawn
    Conversion error: There was an error converting 'lessons/misc-biopython/fastq.md'.
    done.
    

    This is a problem in Pygments.rb, which Jekyll uses for syntax highlighting. To fix the problem uninstall pygments.rb 0.5.1 or 0.5.2 and install version 0.5.0. For example, here's how you would uninstall pygments 0.5.2 and restore version 0.5.0:

    $ gem uninstall pygments.rb --version "=0.5.2"
    $ gem install pygments.rb --version "=0.5.0"
    
  • What do I do if I get a "can't convert nil into String" error?

    On some Linux distributions (e.g, Ubuntu 14.04), you may get this error:

    $ ./tools/preview
    /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
    /usr/lib/ruby/1.9.1/time.rb:265:in `_parse': can't convert nil into String (TypeError)
        from /usr/lib/ruby/1.9.1/time.rb:265:in `parse'
        from /usr/bin/jekyll:95:in `block (2 levels) in <main>'
        from /usr/lib/ruby/1.9.1/optparse.rb:1391:in `call'
        from /usr/lib/ruby/1.9.1/optparse.rb:1391:in `block in parse_in_order'
        from /usr/lib/ruby/1.9.1/optparse.rb:1347:in `catch'
        from /usr/lib/ruby/1.9.1/optparse.rb:1347:in `parse_in_order'
        from /usr/lib/ruby/1.9.1/optparse.rb:1341:in `order!'
        from /usr/lib/ruby/1.9.1/optparse.rb:1432:in `permute!'
        from /usr/lib/ruby/1.9.1/optparse.rb:1453:in `parse!'
        from /usr/bin/jekyll:137:in `<main>'
    

    This occurs because you are using an old version of Jekyll located in /usr/bin. Make sure that you have installed Jekyll using:

    $ gem install jekyll
    

    This installs Jekyll in /usr/local/bin, so make sure this directory comes before /usr/bin in your PATH environment variable. When your path is set correctly, you should see:

    $ which jekyll
    /usr/local/bin/jekyll
    

    You may also have to install the nodejs package to disable references to JavaScript, which you can do using:

    $ sudo apt-get install nodejs
    

    For more information, see [http://michaelchelen.net/81fa/install-jekyll-2-ubuntu-14-04/](this article).

  • Help, my website isn't rendering correctly once its pushed to GitHub!

    This can occur if you're trying to view the website over a HTTPS connection because the content from the Data Carpentry website is not currently served over HTTPS. Your browser sees this as unsecure content, so won't load it.

    To solve this, use http in the URL instead of https and make sure the link you distribute does so as well. If you're using a browser plugin like HTTPS Everywhere you will need to disable it for your workshop's site. We are presently (January 2015) working to get HTTPS working properly on our website.