GithubHelp home page GithubHelp logo

Comments (3)

tbranyen avatar tbranyen commented on August 17, 2024 1

I worked around it using a function to "recover" after a crash.

https://github.com/tbranyen/remote-camera-control/blob/master/index.js#L12-L28

Looks like no substantial commits have landed since I opened this issue years ago, so this might be your best bet for now if you want to use this module.

from node-gphoto2.

tbranyen avatar tbranyen commented on August 17, 2024

Some logs right before the crash:

19:07:09 0|index  | gp_port_info_list_get_info Getting info of entry 38 (45 available)...
19:07:09 0|index  | gp_port_set_timeout Setting port timeout to 5000 milliseconds.
19:07:09 0|index  | gp_port_set_settings Setting settings...
19:07:09 0|index  | gp_libusb1_update (old int=0, conf=-1, alt=-1) port usb:001,003, (new int=0, conf=-1, alt=-1) port usb:001,003
19:07:09 0|index  | gp_libusb1_update lowlevel libusb1 port not yet opened, no need for libusb changes
19:07:09 0|index  | gp_abilities_list_detect_usb Auto-detecting USB cameras...
19:07:09 0|index  | gp_libusb1_find_device_by_class_lib Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
19:07:09 0|index  | gp_libusb1_find_device_by_class_lib Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
19:07:09 0|index  | gp_port_info_list_get_info Getting info of entry 39 (45 available)...
19:07:09 0|index  | gp_port_set_timeout Setting port timeout to 5000 milliseconds.
19:07:09 0|index  | gp_port_set_settings Setting settings...
19:07:09 0|index  | gp_libusb1_update (old int=0, conf=-1, alt=-1) port usb:003,002, (new int=0, conf=-1, alt=-1) port usb:003,002
19:07:09 0|index  | gp_libusb1_update lowlevel libusb1 port not yet opened, no need for libusb changes
19:07:09 0|index  | gp_abilities_list_detect_usb Auto-detecting USB cameras...
19:07:09 0|index  | gp_libusb1_find_device_lib Looking for USB device (vendor 0x4a9, product 0x319b)... found.
19:07:09 0|index  | gp_libusb1_find_device_lib Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83, class 06, subclass 01
19:07:09 0|index  | gp_abilities_list_detect_usb Found 'Canon EOS 50D' (0x4a9,0x319b)
19:07:09 0|index  | gp_port_free Freeing port...
19:07:09 0|index  | gp_port_close Closing port...
19:07:10 0|index  | node /home/tim/git/remote-camera-control/server/index.js: ../node_modules/nan/nan_object_wrap.h:109: virtual void Nan::ObjectWrap::Unref(): Assertion `!persistent().IsWeak()' failed.

from node-gphoto2.

icheered avatar icheered commented on August 17, 2024

I'm running into the same issue, did you ever solve it?

from node-gphoto2.

Related Issues (20)

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.