Giter VIP home page Giter VIP logo

wq / wq.create Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 1.0 816 KB

wq.create: Project scaffolding tools for creating a new crowdsourcing or citizen science application with the wq framework.

Home Page: https://wq.io/wq.create/

License: MIT License

Python 29.40% Shell 8.14% JavaScript 62.46%
django django-project-template wq-framework offline cra-template create-react-app rollup-plugin rollup

wq.create's Issues

Some app errors

I create a simple project and build the apk with Phonegap.
I installed the app in my android device and found this issues:
Failed to load resource: net::ERR_FILE_NOT_FOUND pginit.js:1
Failed to load resource: net::ERR_FILE_NOT_FOUND require.js

Serving the app into a browser, it looks to work fine but I tried to stop server and Submit. After that, I started server again, but the item dosen't Sync automatically. Also the Sync Now and Discard buttons fails with this error :
Uncaught ReferenceError: require is not defined
at HTMLButtonElement.onclick ((index):1)

wq maketemplates causes OSError: [WinError 193] %1 is not a valid Win32 application

I'm trying to follow the instructions for creating a project on Windows 10, Python 3.8.5 AMD64. Because of admin restrictions I'm unable to use WSL, so I am "manually" walking through the steps of the bash scripts referenced in the docs and translating to cmd-equivalent commands (this could potentially be a separate issue/pr for adding .bat equivalent scripts for the deploy.sh, runserver.sh, update_json.sh etc. scripts).

The first command in deploy.sh is wq maketemplates which I am calling identically to how it is used in deploy.sh but is raising the following error:

c:\users\phassett\documents\venv\lib\site-packages\scss\selector.py:26: FutureWarning: Possible nested set at position 329
  SELECTOR_TOKENIZER = re.compile(r'''
Traceback (most recent call last):
  File "C:\Users\PHassett\Anaconda3\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\PHassett\Anaconda3\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\PHassett\Documents\venv\Scripts\wq.exe\__main__.py", line 7, in <module>
  File "c:\users\phassett\documents\venv\lib\site-packages\click\core.py", line 700, in __call__
    return self.main(*args, **kwargs)
  File "c:\users\phassett\documents\venv\lib\site-packages\click\core.py", line 680, in main
    rv = self.invoke(ctx)
  File "c:\users\phassett\documents\venv\lib\site-packages\wq\core\decorators.py", line 19, in invoke
    return super(ConfigGroup, self).invoke(ctx)
  File "c:\users\phassett\documents\venv\lib\site-packages\click\core.py", line 1027, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "c:\users\phassett\documents\venv\lib\site-packages\click\core.py", line 873, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "c:\users\phassett\documents\venv\lib\site-packages\click\core.py", line 508, in invoke
    return callback(*args, **kwargs)
  File "c:\users\phassett\documents\venv\lib\site-packages\wq\start\forms.py", line 217, in maketemplates
    result = subprocess.check_output(
  File "C:\Users\PHassett\Anaconda3\lib\subprocess.py", line 411, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "C:\Users\PHassett\Anaconda3\lib\subprocess.py", line 489, in run
    with Popen(*popenargs, **kwargs) as process:
  File "C:\Users\PHassett\Anaconda3\lib\subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\PHassett\Anaconda3\lib\subprocess.py", line 1307, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
OSError: [WinError 193] %1 is not a valid Win32 application

I see that maketemplates may be deprecated? In which case the docs should be updated to reflect this.

Just getting started with this platform I am very impressed with its flexibility and capabilities. I hope I can get a basic implementation up and running. Any support is greatly appreciated. Thanks!

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.