Issue creating config file #151
-
I just installed aprsd. When I run aprsd sample-config, I get the following error: WARNING:APRSD:['aprsd.conf'] No config file is created. |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 20 replies
-
What version of python are you using? I just fixed an issue with 3.12 yesterday in master branch. |
Beta Was this translation helpful? Give feedback.
-
I am able to reproduce your issue here. The fix I put in master should fix it. I'm working on putting out a new release 3.3.0, which should include the fix for it. If you want the bleeding edge, you can install from master on github, or just wait a bit for me to get the official release out. |
Beta Was this translation helpful? Give feedback.
-
I have released 3.3.0 to pypi. You should be able to upgrade with
|
Beta Was this translation helpful? Give feedback.
-
It looks like an error with generating the aprsd.conf and piping that out to stderr.
Remove the very first bogus line |
Beta Was this translation helpful? Give feedback.
-
The aprsd sample-config is not working for me either. I am running python 3.9 This is the error I get...... Last login: Mon Mar 25 22:30:40 2024 |
Beta Was this translation helpful? Give feedback.
-
***@***.***:~/.local/bin $ aprsd version
APRSD Version : 3.3.2
***@***.***:~/.local/bin $
***@***.***:~/.local/bin $
***@***.***:~/.local/bin $
***@***.***:~/.local/bin $
***@***.***:~/.local/bin $
***@***.***:~/.local/bin $ aprsd sample-config
Traceback (most recent call last):
File "/home/piguy/.local/bin/aprsd", line 8, in <module>
sys.exit(main())
File "/home/piguy/.local/lib/python3.9/site-packages/aprsd/main.py", line
81, in main
cli(auto_envvar_prefix="APRSD")
File "/home/piguy/.local/lib/python3.9/site-packages/click/core.py", line
1157, in __call__
return self.main(*args, **kwargs)
File "/home/piguy/.local/lib/python3.9/site-packages/click/core.py", line
1078, in main
rv = self.invoke(ctx)
File "/home/piguy/.local/lib/python3.9/site-packages/click/core.py", line
1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/piguy/.local/lib/python3.9/site-packages/click/core.py", line
1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/piguy/.local/lib/python3.9/site-packages/click/core.py", line
783, in invoke
return __callback(*args, **kwargs)
File
"/home/piguy/.local/lib/python3.9/site-packages/click/decorators.py", line
33, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/piguy/.local/lib/python3.9/site-packages/aprsd/main.py", line
136, in sample_config
args = get_namespaces()
File "/home/piguy/.local/lib/python3.9/site-packages/aprsd/main.py", line
128, in get_namespaces
selected = imp.entry_points(group="oslo.config.opts")
TypeError: entry_points() got an unexpected keyword argument 'group'
***@***.***:~/.local/bin $ python
Python 3.9.2 (default, Feb 28 2021, 17:03:44)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>
[2]+ Stopped python
***@***.***:~/.local/bin $
…On Tue, Mar 26, 2024 at 5:58 PM Walter A. Boring IV < ***@***.***> wrote:
Looks like you are still using an older aprsd.
—
Reply to this email directly, view it on GitHub
<#151 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFNT7NDPQSKMGK4Z7U6IV23Y2HVPRAVCNFSM6AAAAABESIPDKOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DSMRQHEZTE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I am using python 3.9. I can try it with python 3.12.
Thanks!
Guy
…On Tue, Mar 26, 2024 at 5:54 PM Walter A. Boring IV < ***@***.***> wrote:
ok I'll try and reproduce it here with python 3.12.2
—
Reply to this email directly, view it on GitHub
<#151 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFNT7NEIOVE5HUQRZUFRSMLY2HVC3AVCNFSM6AAAAABESIPDKOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DSMRQHEYTG>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Yeah sorry. I mistyped that. I am using Python 3.9 and aprsd 3.3.2. I am
building another instance now with python 3.12.
Guy
…On Tue, Mar 26, 2024 at 6:48 PM Walter A. Boring IV < ***@***.***> wrote:
ok I'm confused, your initial message said you were using 3.12
—
Reply to this email directly, view it on GitHub
<#151 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFNT7NDCZVYI66AZFLGKARTY2H3NLAVCNFSM6AAAAABESIPDKOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DSMRRGI3TC>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I have fixed the warning and put out a new release of aprsd v3.3.3 |
Beta Was this translation helpful? Give feedback.
I have released 3.3.0 to pypi. You should be able to upgrade with