Comments (3)
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.
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.
I'm running into the same issue, did you ever solve it?
from node-gphoto2.
Related Issues (20)
- No preview / no download
- Segmentation fault: 11 HOT 12
- Re-check the camera connection? HOT 4
- Capture Movie with additional parameters possible? HOT 1
- node-gphoto2 internal error
- Error on importing the module HOT 1
- Raspberry pi 3 b+
- GPhoto2 and Socket.IO incompatible HOT 2
- Pre-install should not install libgphoto2 on Mac OS HOT 2
- Capture movie with lib ? HOT 1
- windows support HOT 4
- Build error on node 12 HOT 3
- error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’ HOT 4
- Event listeners
- After using "takePicture" the camera is stuck. HOT 2
- change binding.gyp for mac for build the package HOT 1
- mach-o file have 'x86_64', need 'arm64e' HOT 1
- please make a release HOT 3
- Close AF sensor (stop live preview)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-gphoto2.