Forum Discussion
irule editor - linux
regards
zafer
- Yepher_100160NimbostratusHoolio,
- Jie_43577Nimbostratus1. I'm not much of a Python coder: Can you please provide the command?
- L4L7_53191NimbostratusJie: Just got back into town, sorry for the delay. Can you try this please? Hoping to help you figure this out - I've never seen this error...
:py import sys; print sys.version :py import pycontrol.pycontrol as pc :py print pc.__version__
- Carl_BrothersEmployeeMatt,
I am willing to give it a go on the mac. I am a recent convert to Macs, but I am trying very hard to make it work in the native environment rather than standing up a VM to host a hand ful of utilities. I have tried to use WINE on my mac to get this working, but no joy. anything above dot net 2.0 does not install with the WineSkin for Macs, and I get quite a few errors with mono and dot net 2.0. I have attached some of the Wineskin errors that I am getting, but if there is a way to get something similar with VIM and Python, I am a willing volunteer.
CarlB
- Remington_77233NimbostratusReading through these posts, I thought there might be value in mentioning the "It's all text" plug-in for Mozilla Firefox. It's not quite as elegant as a direct connection with pycontrol, but if you're using the F5 Web UI and tired of dealing with the text area box to edit iRules, you can install "It's all text" as an FF plug-in and then click the little round edit button next to the iRule text area and have the iRule come up in any text editor of your choice, including gVim (which is what I use on the Mac). And because iRules are essentially TCL, you can also get syntax highlighting. Once you're done with your edits, do a traditional save (:wq in vim/gVim) and the contents are written back to the text area box, ready for updating. Just thought I'd point it out as a mid-way solution for using vim to edit iRules w/o installing Python, etc.
- Remington_77233NimbostratusIf you're looking at solutions for running Windows apps natively on a Mac, you might want to look at CrossOver from Code Weavers (http://www.codeweavers.com/).
It's essentially WINE in a commercial package (~$40) but MUCH easier to use, and it tends to actually work.
- Aaron_Forster_3Historic F5 AccountI wrote one in Java. Not quite as full featured as iRuler yet but it's getting decent. Syntax highlighting, code completion, in-editor documentation and more. https://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/50/aft/2164400/showtab/groupforums/Default.aspx
- janholtzAltostratus@Remington - Tried Crossover, no Joy.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com