Python

This is where you can find the latest ADM official release. Feel free to discuss any questions regarding it here.
Post Reply
ho66es
Posts: 476
youtube meble na wymiar Warszawa
Joined: Wed Mar 13, 2013 5:38 am

Python

Post by ho66es »

Hi (no python app part of the forum)

trying to get a python package to work with a weather station wh1080 and pyusb keeps on segfaulting, not sure if this is an issue with pyusb or with python installation on asustor. Any ideas?
608t
User avatar
James.S@AST
Posts: 292
Joined: Wed May 23, 2012 8:18 pm

Re: Python

Post by James.S@AST »

Hi,

We may need more information from you since we don't have the weather station wh1080 on hand.
1. Which version of pyusb is used?
2. Have you build-in any library, such as "libusb"?
3. Please explain how did you do in detail.

Cheers,
JAMES
I dream of painting and then I paint my dream.

Storage: AS-604T
Network: Belkin N1 Wireless/F5D8231
Laptop: ASUS Windows 7 64-bit Ultimate
Media Player: HP NC6000& Wii & ASUSTOR NAS with Boxee App
Portable: HTC EVO 3D& The New iPad
ho66es
Posts: 476
Joined: Wed Mar 13, 2013 5:38 am

Re: Python

Post by ho66es »

James.S@AST wrote:Hi,

We may need more information from you since we don't have the weather station wh1080 on hand.
1. Which version of pyusb is used?
2. Have you build-in any library, such as "libusb"?
3. Please explain how did you do in detail.

Cheers,
JAMES
luckily? the segfault occurs without the weather station installed :)

1/ pyusb-1.0.0a2 unpacked and ran 'python setup.py install'
2/ I did not add in any library only those that came with the system to my knowledge
3/ installed pywws
4/ running TestWeatherStation.py creates segfault (a lot of the other scripts do to. This happenes whether or not the station is connected. Listing usb devices shows it is there when connected. I also tried the pyusb at https://github.com/walac/pyusb and it comes with some test scripts that also cause segfaults.

let me know what else you need :)
608t
User avatar
James.S@AST
Posts: 292
Joined: Wed May 23, 2012 8:18 pm

Re: Python

Post by James.S@AST »

We may need take times to look through this issue.
Hope to keep you posted soon~
I dream of painting and then I paint my dream.

Storage: AS-604T
Network: Belkin N1 Wireless/F5D8231
Laptop: ASUS Windows 7 64-bit Ultimate
Media Player: HP NC6000& Wii & ASUSTOR NAS with Boxee App
Portable: HTC EVO 3D& The New iPad
ho66es
Posts: 476
Joined: Wed Mar 13, 2013 5:38 am

Re: Python

Post by ho66es »

James.S@AST wrote:We may need take times to look through this issue.
Hope to keep you posted soon~
thanks in advance :)
608t
Post Reply

Return to “[Official] For AS-60X Series”