tachang / eyefiserver Goto Github PK
View Code? Open in Web Editor NEWAn open source Eye-Fi Server written in Python
Home Page: http://returnbooleantrue.blogspot.com/
An open source Eye-Fi Server written in Python
Home Page: http://returnbooleantrue.blogspot.com/
EyeFiServer on a slow machine (NetBSD/i386,Atom(TM) CPU 330 @ 1.60GHz) makes EyeFi Card timeout, and a file transfers many times repeatedly.
The following patch solves the problem for me.
thanks,
A patch for faster TCPChecksum calculation:
https://gist.github.com/1686830
I occasionally get a KeyError on INTEGRITYDIGEST in the iine 397 of EyeFiServer.py:
395: verifiedDigest = eyeFiCrypto.calculateIntegrityDigest(untrustedFile.getvalue(),
396: self.server.eyeFiConfiguration['Card']['UploadKey'])
397: unverifiedDigest = form['INTEGRITYDIGEST'][0]
I've coded a try/except block to catch the KeyError, but am wondering why this happens.
eg. http://x2migration.eyefi.com/hc/en-us/articles/216741158-Frequently-Asked-Questions
Will I be able to use my Eye-Fi 1.0 card after September 16, 2016?
Certain X2 functions, such as Direct Mode, may not be directly impacted by our end of life process. If you wish to try Direct Mode you will need to set it up prior to the end of life date. You can find instructions on how to set up direct mode here: for Android, for iOS. Please note that while Direct Mode may not be directly affected, Eye-Fi applications will no longer be updated for operating system updates, and their functionality is not guaranteed - additionally, no support will be provided either for the setup or functionality of Direct Mode. Note: THERE IS NO GUARANTEE THAT DIRECT MODE CONFIGURATIONS WILL CONTINUE FUNCTIONING AFTER THE SEPTEMBER 16TH 2016 SHUT DOWN.
Sorry to bother you if you're no longer active on this project, but I'm having trouble getting photos to actually upload from the card. It connects and seems to begin a session with the server, but no files are transferred. I turned off photo relay as mentioned on your blog. My log output is below. I can't figure out where the last line is coming from.
Looking forward to getting a working version running so I can start my own hacking :)
Specs:
Ubuntu w/ python 2.6.4
EyeFi "share video" 4gb. Not sure of firmware.
Pulled uploadkey from my Windows7 dual boot
the location of my settings file in windows7 is:
C:\Users\USERNAME\AppData\Roaming\Eye-Fi\Settings.xml
[12/17/09 09:09PM][get_request] - Incoming connection from client 192.168.1.105
[12/17/09 09:09PM][finish_request] - Creating instance of main.EyeFiRequestHandler to service request from ('192.168.1.105', 38079)
[12/17/09 09:09PM][do_POST] - POST /api/soap/eyefilm/v1 HTTP/1.1
[12/17/09 09:09PM][do_POST] - Headers received in POST request:
[12/17/09 09:09PM][do_POST] - content-length: 409
[12/17/09 09:09PM][do_POST] - soapaction: "urn:StartSession"
[12/17/09 09:09PM][do_POST] - connection: Keep-Alive
[12/17/09 09:09PM][do_POST] - accept: text/xml, application/soap
[12/17/09 09:09PM][do_POST] - user-agent: Eye-Fi Card/3.0144
[12/17/09 09:09PM][do_POST] - host: api.eye.fi
[12/17/09 09:09PM][do_POST] - Attempting to read 409 bytes of data
[12/17/09 09:09PM][do_POST] - Finished reading 409 bytes of data
[12/17/09 09:09PM][do_POST] - postData: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="EyeFi/SOAP/EyeFilm">SOAP-ENV:Bodyns1:StartSession001856210ba8faa12e7e6562ac3db082ff198be7d771341261112674/ns1:StartSession/SOAP-ENV:Body/SOAP-ENV:Envelope
[12/17/09 09:09PM][do_POST] - Got StartSession request
[12/17/09 09:09PM][startSession] - Delegating the XML parsing of startSession postData to EyeFiContentHandler()
[12/17/09 09:09PM][startSession] - Extracted elements: {'transfermode': u'34', 'macaddress': u'001856210ba8', 'cnonce': u'faa12e7e6562ac3db082ff198be7d771', 'transfermodetimestamp': u'1261112674'}
[12/17/09 09:09PM][startSession] - Setting Eye-Fi upload key to c686e547e3728c63a8f78729c1592757
[12/17/09 09:09PM][startSession] - Concatenated credential string (pre MD5): 001856210ba8faa12e7e6562ac3db082ff198be7d771c686e547e3728c63a8f78729c1592757
[12/17/09 09:09PM][do_POST] - StartSession response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">SOAP-ENV:Body261f38f4d17d7c331d54080ba40dc3fe604e2cd144a31ada43c81ab7055f0c2f21230268824false/SOAP-ENV:Body/SOAP-ENV:Envelope
[12/17/09 09:09PM][get_request] - Incoming connection from client 192.168.1.105
[12/17/09 09:09PM][finish_request] - Creating instance of main.EyeFiRequestHandler to service request from ('192.168.1.105', 8642)
[12/17/09 09:09PM][get_request] - Incoming connection from client 192.168.1.105
[12/17/09 09:09PM][finish_request] - Creating instance of main.EyeFiRequestHandler to service request from ('192.168.1.105', 9032)
192.168.1.105 - - [17/Dec/2009 21:09:55] "POST /api/soap/eyefilm/v1 HTTP/1.1" 200
Where can one find documentation for setup?
Hello
Can you please specify under which license this code is released? Right now, it says "All right reserved" ...But I guess the fact you put it on github is for people to use it...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.