The Following User Says Thank You to xur17 For This Useful Post: | ||
|
2011-03-03
, 03:20
|
Posts: 1,048 |
Thanked: 979 times |
Joined on Mar 2008
@ SF Bay Area
|
#12
|
Do you have any clue how to fix the Maemo c_types python library (or who to talk to)?
I am really interested in writing a mosquitto client for TOR, but this is preventing me from doing that.
The Following User Says Thank You to uvatbc For This Useful Post: | ||
|
2011-03-03
, 03:23
|
Posts: 1,048 |
Thanked: 979 times |
Joined on Mar 2008
@ SF Bay Area
|
#13
|
I got it to work!
I posted on stackoverflow a few days ago here, and just remembered it today.
See the first and only answer. Add:
right after the line:Code:c_bool = c_int
I made this change to my mosquitto.py file, and everything is working fine now. Any chance you could change this in the version in the repositories?Code:from ctypes import *
Also: I don't think the mosquitto.py file is in the correct location to be detected as a library. I had to manually copy the file to the directory I was working in.
The Following User Says Thank You to uvatbc For This Useful Post: | ||
|
2011-03-03
, 03:42
|
|
Posts: 275 |
Thanked: 389 times |
Joined on Feb 2010
@ Sydney
|
#14
|
/usr/lib/python2.5/site-packages/
The Following User Says Thank You to GreatGonzo For This Useful Post: | ||
|
2011-03-03
, 07:24
|
Posts: 1,048 |
Thanked: 979 times |
Joined on Mar 2008
@ SF Bay Area
|
#15
|
|
2011-03-23
, 06:18
|
Posts: 1,048 |
Thanked: 979 times |
Joined on Mar 2008
@ SF Bay Area
|
#16
|
|
2011-03-26
, 08:37
|
Posts: 1,048 |
Thanked: 979 times |
Joined on Mar 2008
@ SF Bay Area
|
#17
|
The Following User Says Thank You to uvatbc For This Useful Post: | ||
|
2011-07-01
, 15:12
|
Posts: 1,048 |
Thanked: 979 times |
Joined on Mar 2008
@ SF Bay Area
|
#18
|
The Following User Says Thank You to uvatbc For This Useful Post: | ||
|
2011-08-05
, 16:21
|
Posts: 1,048 |
Thanked: 979 times |
Joined on Mar 2008
@ SF Bay Area
|
#19
|
I posted on stackoverflow a few days ago here, and just remembered it today.
See the first and only answer. Add:
Also: I don't think the mosquitto.py file is in the correct location to be detected as a library. I had to manually copy the file to the directory I was working in.