Skip to content

Make pythonIoc pip installable - #5

Merged
thomascobb merged 19 commits into
masterfrom
on-its-head
Jun 23, 2021
Merged

Make pythonIoc pip installable#5
thomascobb merged 19 commits into
masterfrom
on-its-head

Conversation

@thomascobb

Copy link
Copy Markdown
Contributor

At the moment it is an EPICS module that embeds Python. This PR will make it a Python module that embeds an EPICS IOC.

@thomascobb

Copy link
Copy Markdown
ContributorAuthor

@Araneidae this is working apart from a couple of things with devIocStats

  1. We don't use the epics build system to make ioc.db, and dbLoadDatabase doesn't like ioc.template because it contains the msi "substitute" command. I can get round this in Python
  2. Loading devIocStats gives: Error (511,35) PV: TS-DI-TEST-01:SYSRESET Proc subroutine (SNAM). This is a mystery to me as the relevant routine appears when you do strings on the extension that I built. Any ideas?

@thomascobb

Copy link
Copy Markdown
ContributorAuthor

I'll add the CI and more tests when these things are working...

@thomascobb

Copy link
Copy Markdown
ContributorAuthor

@mdavidsaver notes that 2. is because registerAllRecordDeviceDrivers() isn't handling function(). He'll look at modifying this in EPICS base...

Comment threadsoftioc/extension.c Outdated
Comment threadsoftioc/extension.c Outdated
Comment threadsoftioc/extension.c Outdated
Comment threadsoftioc/extension.c Outdated
Comment threadpyproject.toml Outdated
Comment threadpython/softioc/pvlog.py
Comment threadsoftioc/extension.c Outdated
Comment threadsoftioc/extension.c Outdated
Comment threadsoftioc/extension.c
Comment threadsoftioc/extension.c Outdated
Comment threadsoftioc/pvlog.py
@thomascobb
thomascobbforce-pushed the on-its-head branch 9 times, most recently from 536f51e to ae8178fCompareMay 6, 2021 13:08
@thomascobb

Copy link
Copy Markdown
ContributorAuthor

Yes, hundreds of modifications to the build step, but each needs to be pushed to trigger CI. I'm getting there though, just the windows build left to do...

@thomascobb
thomascobbforce-pushed the on-its-head branch 3 times, most recently from 581e225 to e033892CompareMay 11, 2021 14:47
@Araneidae

Copy link
Copy Markdown
Collaborator

I've unsubscribed for now; give me a shout when you're all done!

@thomascobb
thomascobbforce-pushed the on-its-head branch 7 times, most recently from e13797d to bba37a0CompareMay 14, 2021 14:06
@thomascobb

Copy link
Copy Markdown
ContributorAuthor

Ok, this should be ready to review again, just docs left to do

Comment threadsoftioc/imports.py Outdated
Comment threadsoftioc/device.py Outdated
Comment threadsoftioc/device.py Outdated
@thomascobb

Copy link
Copy Markdown
ContributorAuthor

Once we have a 1.4.1 release of epicsdbbuilder, then I can regenerate Pipfile.lock with DLS deps, then I think I'm done here

@AraneidaeAraneidae left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ignore!

Comment threadsoftioc/extension.c
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@thomascobb@Araneidae@mdavidsaver@coretl