Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dragonfly scripts without aenea #32

Open
truthbeliever opened this issue Oct 12, 2015 · 6 comments
Open

Dragonfly scripts without aenea #32

truthbeliever opened this issue Oct 12, 2015 · 6 comments

Comments

@truthbeliever
Copy link

Hello,

I copied all the scripts in the corresponding natlink folder and they all require Aenea to run. I copied some Aena Client and now its requesting jsonlibrpc .....
But I want to work only locally on my windows 8 machine without any Virtualmachine doing coding in Visual Studio.

Is there a switch to set like "do not use aenea", so that all the scripts run locally without aenea?

Thank you

@nirvdrum
Copy link
Member

It looks like I accidentally introduced the hard dependency when upgrading to the latest aenea. In the meanwhile, try checking out the pre_aenea_reorganization tag.

@truthbeliever
Copy link
Author

I took the files from the pre_aenea_reorganization repository and copied them to the NatLink NATLink MacroSystem folder.
I created config.json

{
    "aenea.enabled": false,
    "aenea.path": null, 
    "dynamics.bash.enabled": false,
    "dynamics.css.enabled": false,
    "dynamics.git.enabled": false,
    "dynamics.html.enabled": false,
    "dynamics.javascript.enabled": false,
    "dynamics.python.enabled": false,
    "system.base_path": "C:\\Natlink\\Natlink\\MacroSystem"
}

resulting in this error:

\_generic_edit.py
Traceback (most recent call last):
  File "C:\NatLink\NatLink\MacroSystem\core\natlinkmain.py", line 340, in loadFile
    imp.load_module(modName,fndFile,fndName,fndDesc)
  File "C:\NatLink\NatLink\MacroSystem\_generic_edit.py", line 30, in <module>
    from lib.dynamic_aenea import (
  File "C:\NatLink\NatLink\MacroSystem\lib\dynamic_aenea.py", line 1, in <module>
    import aenea, dragonfly, proxy_actions, lib.config
ImportError: No module named aenea

But then if I "install" Aenea client, then its requesting jsonlib

I appreciate any hint as to use the scripts without aenea.

Thank you

@nirvdrum
Copy link
Member

I guess this has been tied to aenea for longer than I've realized. You can keep digging back through history, but until I'm able to spend some time to split the two apart, you may be better off just installing aenea as well.

@truthbeliever
Copy link
Author

I copied Aenea client and somehow adjusted aenea.json.

Error loading vocabulary from C:\NatLink\NatLink\MacroSystem_vocabulary.py
Traceback (most recent call last):
File "C:\NatLink\NatLink\MacroSystem\core\natlinkmain.py", line 340, in loadFile
imp.load_module(modName,fndFile,fndName,fndDesc)
File "C:\NatLink\NatLink\MacroSystem_vocabulary.py", line 23, in
import aenea.vocabulary
File "C:\NatLink\NatLink\MacroSystem\aenea__init
_.py", line 18, in
import aenea.communications
File "C:\NatLink\NatLink\MacroSystem\aenea\communications.py", line 19, in
import jsonrpclib
ImportError: No module named jsonrpclib

So I copy jsonrpclib to the macrofolder

Then
Error loading vocabulary from C:\NatLink\NatLink\MacroSystem_vocabulary.py
Traceback (most recent call last):
File "C:\NatLink\NatLink\MacroSystem\core\natlinkmain.py", line 340, in loadFile
imp.load_module(modName,fndFile,fndName,fndDesc)
File "C:\NatLink\NatLink\MacroSystem_vocabulary.py", line 23, in
import aenea.vocabulary
File "C:\NatLink\NatLink\MacroSystem\aenea__init
_.py", line 22, in
import aenea.lax
File "C:\NatLink\NatLink\MacroSystem\aenea\lax.py", line 25, in
import aenea.proxy_actions
File "C:\NatLink\NatLink\MacroSystem\aenea\proxy_actions.py", line 85, in
class ProxyKey(ProxyBase, dragonfly.DynStrActionBase):
File "C:\NatLink\NatLink\MacroSystem\aenea\proxy_actions.py", line 90, in ProxyKey
_parser = _make_key_parser()
File "C:\NatLink\NatLink\MacroSystem\aenea\proxy_actions.py", line 43, in _make_key_parser
from pyparsing import (Optional, Literal, Word, Group, Keyword,
ImportError: No module named pyparsing

I do not need proxies etc.
Any idea what do I wrong with the aenea client installation on win8?

@truthbeliever
Copy link
Author

I stripped all scripts I require from aenea by hand, so I can start working with the scripts.

Could you inform me as soon as you might have deconnected aenea from the scripts?

Thank you

@BawdyInkSlinger
Copy link

is anyone working on this? These scripts seem really useful but I can't use them because of this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants