Coder Social home page Coder Social logo

instance-id / searcher Goto Github PK

View Code? Open in Web Editor NEW
10.0 3.0 0.0 13.76 MB

Houdini Searcher: Command palette-esq addon

Home Page: https://github.com/instance-id/Searcher

Python 99.74% HTML 0.14% PowerShell 0.10% Shell 0.02%
houdini houdini-plugin sidefx-houdini sidefx

searcher's Issues

Files missing in release + sqlite3.OperationalError: no such table: settings

Really looking forward to trying this out!

I'm on latest Houdini 20.0.653 on Windows 11.
Downloaded from releases.
Edited Searcher.json and placed the Searcher_0.1.4 folder in a persistent folder.

Upon Houdini launch the Console errors out:

Error running pythonrc.py:
Traceback (most recent call last):
  File "C:/Users/redacted/software/Searcher_0.1.4/Searcher/python3.10libs/pythonrc.py", line 7, in <module>
    from searcher import searchersetup
ImportError: cannot import name 'searchersetup' from 'searcher' (unknown location)

Looking under python3.10libs/searcher it seems that the release is in fact missing the assets as compared to what is in the repo?

Downloading the repo as a .zip and moving the files from /python3.10libs/searcher and over to the persistent folder. Houdini starts but complains about "lts" which I figure is the long text search, so I replaced the sqlite3.dll in houdini_xxx/bin. Now this error:

Traceback (most recent call last):
  File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.653/houdini/python3.10libs\hdefereval.py", line 155, in _processDeferred
    result = code(*args, **kwargs)
  File "C:\Users/redacted/software/Searcher_0.1.4/Searcher/python3.10libs\searcher\searchersetup.py", line 285, in dbupdate
    chindex = getchangeindex(cur)
  File "C:\Users/redacted/software/Searcher_0.1.4/Searcher/python3.10libs\searcher\searchersetup.py", line 212, in getchangeindex
    cur.execute("SELECT indexvalue FROM settings")
sqlite3.OperationalError: no such table: settings

I see there is a line commented out regarding settings, but don't know enough py to start editing the code.

Also, the actual hotkey trigger:
Ctrl+"`" as I'm on a Norwegian keyboard layout, this key will most definitely not work as it is mapped to a dead-key.
Can you point me to how I can change this hotkey to something else?
Or do you want to me to write a separate issue for it?

Very eager to getting a command palette in Houdini.
Thank you for you work.

Errors in houdini console

c:\Users/user/Documents/houdini_addons/Searcher/python3.9libs\searcher\searcher.py:840: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if (key[0] is not '+'):
c:\Users/user/Documents/houdini_addons/Searcher/python3.9libs\searcher\searcher.py:924: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if len(hkcheck) is 0:
c:\Users/user/Documents/houdini_addons/Searcher/python3.9libs\searcher\database.py:202: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if len(hkcheck) is 0:
c:\Users/user/Documents/houdini_addons/Searcher/python3.9libs\searcher\database.py:212: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if len(hkcheck) is 0:
c:\Users/user/Documents/houdini_addons/Searcher/python3.9libs\searcher\database.py:220: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if len(hkcheck) is 0:
c:\Users/user/Documents/houdini_addons/Searcher/python3.9libs\searcher\searchersetup.py:233: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if len(hkcheck) is 0:
c:\Users/user/Documents/houdini_addons/Searcher/python3.9libs\searcher\searchersetup.py:242: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if len(hkcheck) is 0:
c:\Users/user/Documents/houdini_addons/Searcher/python3.9libs\searcher\searchersetup.py:251: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if len(hkcheck) is 0:

Houdini 19.5

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.