-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
installing simplescreenrecorder breaks "appman list" #914
Comments
thanks for this report, update and retry |
if you face other issues, I have rewrote the patch a67a9da |
Thanks. Looks fine now. BTW, recent updates to "appman list" format (i.e., adding ascii escape sequences around the app names) broke "vappman". I fixed that by stripping all escape sequences out of the output of "appman list" before parsing. Think about reducing its assumptions, I guess vappman could run "appman list", ignore the output, then suck up ~/.local/share/AM/x86_64-apps which appears relatively clean ... but am I trading one set of bad assumptions for another (like architecture?). Any suggestions? |
sorry, I've not understand this last part, what kind of suggestion you need? |
The question is what is the "best" way for an "outside" (python) program to get the list of installed and uninstalled apps per appman? I need the app name, short description, and whether installed for each app. Currently, I'm using "appman list" and "appman files --byname" which has been broken once so far by changes in the formatting of "appman list" to include colors. So, is there a better way that likely would have fewer breakages? |
I'm not good at all with python, but functions for the lists are really simple, maybe you can convert them to made them work with the hosted lists directly instead of using the inbuilt -l option of AppMan. Anyway, colors in lists are managed by function "_colors"
and it is referenced two times, in the above functions "_pretty_list" and "_pretty_list_compat", in the database.am module, the first three functions under this line Line 247 in a67a9da
maybe you should find a way to disable the _colors function |
There is very likely a way to tell python to ignore ansi escape codes. WIth fzf it was simply passing the |
...fixing the database.am module, re-fixes #914
If I
appman install simplescreenrecorder
, thenappman files --byname
shows (just the relevant line):Then
appman list
is broken showing no uninstalled apps and just (in my case):Apparently, the "%2B" in the simplescreenrecorder version field breaks
appman list
.The text was updated successfully, but these errors were encountered: