Package Details: python-airnef 1.1-5

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

Latest Comments

1 2 Next › Last »

SpotlightKid commented on 2021-04-30 21:00 (UTC)

@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 (UTC) (edited on 2021-04-30 20:42 (UTC) by warp4ever)

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) TestCams.com, Time: 04/30/21 22:28:18, Py: 3.9.4, OS: Linux

Connection established to 192.168.1.1:15740 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 (UTC)

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

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 (UTC)

Not working: Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python3.9/tkinter/init.py", 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 (UTC)

@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 (UTC)

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 http://www.testcams.com/airnef/Version_1.1/airnef_v1.1_Source.zip Aborting... Error downloading sources: python-airnef [andrei@peanut airnef]$

SpotlightKid commented on 2019-03-25 16:26 (UTC)

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

TomHu commented on 2019-03-25 08:55 (UTC)

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/airnef.py /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/airnef.py /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/airnefcmd.py /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/airnefcmd.py

makepkg however does not suffer this problem.

SpotlightKid commented on 2019-01-28 23:46 (UTC) (edited on 2019-01-28 23:54 (UTC) by SpotlightKid)

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.