Giter VIP home page Giter VIP logo

python-sbigudrv's Introduction

Hi, I'm pH! Glad you are here ๐Ÿ‘‹

  • ๐Ÿ“ซ How to reach me: me at phsilva.dev
  • ๐Ÿ˜„ Pronouns: he/him

Short bio

TBW

python-sbigudrv's People

Contributors

phsilva avatar

Watchers

 avatar  avatar

Forkers

wschoenell

python-sbigudrv's Issues

Problem when installing on MacOSX with easy_install

When I tried to install the package with easy_install on my mac I get the following error:

ld: library not found for -lusb
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: Setup script exited with error: command 'cc' failed with exit status 1

This can be fixed by replacing the the following code on line 120 of setup.py

libraries=["usb"],

by

libraries=["usb-1.0"],

Can't connect to a ST7 on Ubuntu 14.04.2

When trying to connect to the camera, get SBIGException 37. The script used to test is this one: https://github.com/astroufsc/chimera/blob/master/src/chimera/instruments/sbig/tests/connect.py

The error that I get is:

obs@chimera:~/chimera_dev/chimera/src/chimera/instruments/sbig/tests$ python connect.py 
Traceback (most recent call last):
  File "connect.py", line 9, in <module>
    if not s.openDriver():
  File "/usr/local/lib/python2.7/dist-packages/chimera/instruments/sbig/sbigdrv.py", line 166, in openDriver
    return self._cmd(udrv.CC_OPEN_DRIVER, None, None)
  File "/usr/local/lib/python2.7/dist-packages/chimera/instruments/sbig/sbigdrv.py", line 459, in _cmd
    raise SBIGException(err, gesr.errorString)
chimera.instruments.sbig.sbigdrv.SBIGException:  (37)

I have tried on two different machines by doing a sudo pip install . on the source dir from the repo. The versions of the packages are below.

obs@chimera:~/chimera_dev/chimera/src/chimera/instruments/sbig/tests$ dpkg -s libsbigudrv0 libusb-dev
Package: libsbigudrv0
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 72
Maintainer: Kubuntu Developers <[email protected]>
Architecture: amd64
Source: indi
Version: 5:0.5-0ubuntu8
Depends: libc6 (>= 2.2.5), libcfitsio3 (>= 3.060), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1), libusb-0.1-4 (>= 2:0.1.12), zlib1g (>= 1:1.1.4)
Description: SBIG universal driver
 Library to control SBIG Astronomical Instruments.  Supports all of
 SBIGโ€™s Parallel, Ethernet and USB based cameras and accessories.
Homepage: http://indi.sourceforge.net/
Original-Maintainer: Jonathan Riddell <[email protected]>

Package: libusb-dev
Status: install ok installed
Priority: optional
Section: libdevel
Installed-Size: 245
Maintainer: Ubuntu Developers <[email protected]>
Architecture: amd64
Source: libusb
Version: 2:0.1.12-23.3ubuntu1
Replaces: libusb0 (<< 1:0.1.5-1)
Depends: libusb-0.1-4 (= 2:0.1.12-23.3ubuntu1), libc6-dev | libc-dev
Description: userspace USB programming library development files
 Library for programming USB applications without the knowledge
 of Linux kernel internals.
Original-Maintainer: Aurelien Jarno <[email protected]>
Homepage: http://www.linux-usb.org/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.