I'm not following exactly what you're asking, but it's certainly possible
to run weewxd in the IDE.

The problem is that if you run the code in the repository, it will use
whatever is in bin/user in the repository, which is nothing.

To get around this problem, I usually install WeeWX in /home/weewx, then
run the IDE out of that. This way, it will find what's in
/home/weewx/bin/user.

Hope I'm clear on that.

On Fri, Feb 10, 2023 at 5:46 AM [email protected] <
[email protected]> wrote:

> A more specific add-on question (new topic?):
>
> For developing, testing and debugging python scripts in user/*, how can I
> start an archive interval run? Is it possible to launch a single interval
> run, getting data from Simulator, storing into the configured database, and
> doing all the stuff that registered extensions in user/* do?
>
> [email protected] schrieb am Sonntag, 5. Februar 2023 um 08:58:10 UTC+1:
>
>> Marking bin as sources worked.
>> Thank you.
>>
>> Tom Keffer schrieb am Samstag, 4. Februar 2023 um 21:37:31 UTC+1:
>>
>>> You have a path problem.
>>>
>>> Under PyCharm, go to Settings | Project weewx | Project Structure.
>>>
>>> It will show you a source tree. Click on the "bin" node, then mark it as
>>> "sources", using the button just above.
>>>
>>> More details in the JetBrains docs:
>>> https://www.jetbrains.com/help/pycharm/configuring-project-structure.html
>>>
>>> I don't know anything about vscode.
>>>
>>>
>>>
>>> On Sat, Feb 4, 2023 at 11:14 AM [email protected] <[email protected]>
>>> wrote:
>>>
>>>> As a total python noob I am struggling getting anything to run. (using
>>>> vscode or intellij)
>>>>
>>>> I am running into ModuleNotFoundError: No module named 'weewx'
>>>>
>>>> What am I missing? Are there instructions anywhere I didn't find so far?
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "weewx-development" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/weewx-development/68fa2f3e-7470-462f-906f-d46ee94df606n%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/weewx-development/68fa2f3e-7470-462f-906f-d46ee94df606n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
> You received this message because you are subscribed to the Google Groups
> "weewx-development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-development/cf7d1435-54d7-4f02-a549-0e90d111ad77n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-development/cf7d1435-54d7-4f02-a549-0e90d111ad77n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/CAPq0zEDdxa_0GfG7fcpOW7vpYfW42CfBEiR2gQfO22gbowTurg%40mail.gmail.com.

Reply via email to