Package Details: python-airnef 1.1-5

Git Clone URL: (read-only, click to copy)
Package Base: python-airnef
Description: Wireless download from your Nikon/Sony/Canon camera
Upstream URL:
Licenses: GPL3
Submitter: ser
Maintainer: SpotlightKid
Last Packager: SpotlightKid
Votes: 4
Popularity: 0.000712
First Submitted: 2015-10-16 07:27
Last Updated: 2021-04-17 16:46

Latest Comments

SpotlightKid commented on 2021-04-30 21:00

@warp4ever: sorry, I can't help you with finding or fixing bugs in the upstream software. Please contact the author of airnef or use the forum liked on the home page.

warp4ever commented on 2021-04-30 20:41

With new patch I can connect, but no downloads because Wifi on camera switches off when I click on the download button

airnef v1.1 - Wireless transfer of images/movies for Nikon cameras [GPL v3] Copyright (c), Time: 04/30/21 22:28:18, Py: 3.9.4, OS: Linux

Connection established to Camera Model "D500", S/N "XXXXXXX" MTP_OP_GetTransferList: Socket error, partial data received - 0x0 of 0x0 bytes for specific payload, 0x0 of 0x0 of total data bytes expected. Error: timed out >> Connection Failed <<Could not open socket: [Errno 113] No route to host>> Connection Failed <<Could not open socket: [Errno 101] Network is unreachable>> Connection Failed <<

SpotlightKid commented on 2021-04-17 16:48

@warp4ever: this is an upstream bug. The import of the "re" module is missing in

Since upstream doesn't seem to be developed anymore, I updated the patch, which gets applied when building this package to add the missing import, which should fix the issue. If not, let me know.

warp4ever commented on 2021-04-17 15:24

Not working: Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python3.9/tkinter/", line 1892, in call return self.func(args) File "/usr/bin/airnef", line 810, in <lambda> self.createStartDownloadFrameAndButton_PackOnRightInParent(self.contentFrame, lambda : self.wizard_1_0_ButtonClick('start_download_selected_in_camera'), File "/usr/bin/airnef", line 860, in wizard_1_0_ButtonClick launchAirnefcmd(argStr) File "/usr/bin/airnef", line 249, in launchAirnefcmd argList = createArgListFromArgStr(argStr) File "/usr/bin/airnef", line 231, in createArgListFromArgStr return [x.strip('"') for x in re.split('( |".?")', argStr) if x.strip()] NameError: name 're' is not defined

SpotlightKid commented on 2020-06-28 17:15

@atescula: upstream switched their web server to HTTPS only (with redirect from HTTP to HTTPS) but apparently there's a problem with the certificate (only shows with curl/openssl. not with FF/Chromium). I added --insecure to the curl options. The SHA512 hash should still protect AUR users from tampering.

atescula commented on 2020-06-28 14:11

curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above. ==> ERROR: Failure while downloading Aborting... Error downloading sources: python-airnef [andrei@peanut airnef]$

SpotlightKid commented on 2019-03-25 16:26

@TomHu: Just pushed a fix. Let me know, if there's still a problem.

TomHu commented on 2019-03-25 08:55

burgaur also installs python2-airnef with python-airnef, then mangles the symlinks in /usr/bin

/usr/bin/airnef: broken symbolic link to /var/tmp/burgaur-python-airnef-jvafyxb9/python-airnef/pkg/python-airnef/usr/lib/python3.7/site-packages/airnef/ /usr/bin/airnef2: broken symbolic link to /var/tmp/burgaur-python-airnef-jvafyxb9/python-airnef/pkg/python2-airnef/usr/lib/python2.7/site-packages/airnef/ /usr/bin/airnefcmd: broken symbolic link to /var/tmp/burgaur-python-airnef-jvafyxb9/python-airnef/pkg/python-airnef/usr/lib/python3.7/site-packages/airnef/ /usr/bin/airnefcmd2: broken symbolic link to /var/tmp/burgaur-python-airnef-jvafyxb9/python-airnef/pkg/python2-airnef/usr/lib/python2.7/site-packages/airnef/

makepkg however does not suffer this problem.

SpotlightKid commented on 2019-01-28 23:46

I've adopted the package and included the DLAGENTS fix mentioned by @koenig87 below and also a fixed version of the patch from the forum thread linked in the previous PKGBUILD file.

This works for me with the current airnef version 1.1 source distribution.

Note that (among other things) I renamed the script links in /usr/bin for Python 2 to airnef2 and airnefcmd2 to allow both version of the package to be installed at the same time.

koenig87 commented on 2017-01-27 12:32

I had two problems with this packages:

1. The mirror of the sources rejected curl. I added
DLAGENTS=('http::/usr/bin/curl -A "Mozilla/4.0" -fLC - --retry 3 --retry-delay 3 -o %o %u')

2. The dialog to switch between python 2.x and 3.x doesn't work. So I removed the unwanted package from PKGBUILD.