Bug 995489 - `ino init' doesn't create lib/
Summary: `ino init' doesn't create lib/
Alias: None
Product: Fedora
Classification: Fedora
Component: ino
Version: 18
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Alberto Ruiz
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2013-08-09 14:12 UTC by Suvayu
Modified: 2013-09-20 16:29 UTC (History)
2 users (show)

Fixed In Version: ino-0.3.5-5.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-09-02 23:33:21 UTC
Type: Bug

Attachments (Terms of Use)

Description Suvayu 2013-08-09 14:12:58 UTC
Description of problem:
Calling `ino init', does not create lib/ in the project directory.  This causes `ino build' to fail later.

Version-Release number of selected component (if applicable):
ino-0.3.5-1.fc18.noarch (and probably newer versions too)

How reproducible:

Steps to Reproduce:
1. mkdir /tmp/test && cd /tmp/test
2. ino init && tree
   └── src
       └── sketch.ino
3. ino build
   Detecting Arduino software version ...  1.0 (1.0.5)
   Traceback (most recent call last):
     File "/usr/bin/ino", line 6, in <module>
     File "/usr/lib/python2.7/site-packages/ino/runner.py", line 63, in main
     File "/usr/lib/python2.7/site-packages/ino/commands/build.py", line 209, in run
     File "/usr/lib/python2.7/site-packages/ino/commands/build.py", line 171, in scan_dependencies
       lib_dirs = [self.e.arduino_core_dir] + list_subdirs(self.e.lib_dir) + list_subdirs(self.e.arduino_libraries_dir)
     File "/usr/lib/python2.7/site-packages/ino/utils.py", line 41, in list_subdirs
       entries = [e for e in os.listdir(dirname) if e not in exclude and not e.startswith('.')]
   OSError: [Errno 2] No such file or directory: 'lib'

Actual results:
Shown next to the appropriate steps above.

Expected results:
after step (3)
Linking libarduino.a
Linking firmware.elf
Converting to firmware.hex

Additional info:
For now I do a `mkdir lib' after `ino init'.

Comment 1 Fedora Update System 2013-08-30 11:36:55 UTC
ino-0.3.5-5.fc19 has been submitted as an update for Fedora 19.

Comment 2 Fedora Update System 2013-08-30 11:40:52 UTC
ino-0.3.5-5.fc18 has been submitted as an update for Fedora 18.

Comment 3 Fedora Update System 2013-08-30 22:55:25 UTC
Package ino-0.3.5-5.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ino-0.3.5-5.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-09-02 23:33:21 UTC
ino-0.3.5-5.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2013-09-20 16:29:18 UTC
ino-0.3.5-5.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.