question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Poxy doesn't update submodule(s)

See original GitHub issue

We should consider adding git submodule update --recursive --init to setup.py otherwise users might get an unexpected surprise

Traceback (most recent call last):
  File "C:\Users\wroy\AppData\Local\Programs\Python\Python38\lib\site-packages\poxy-0.7.1-py3.8.egg\poxy\main.py", line 160, in main
    run(
  File "C:\Users\wroy\AppData\Local\Programs\Python\Python38\lib\site-packages\poxy-0.7.1-py3.8.egg\poxy\run.py", line 1146, in run
    with project.Context(
  File "C:\Users\wroy\AppData\Local\Programs\Python\Python38\lib\site-packages\poxy-0.7.1-py3.8.egg\poxy\project.py", line 1264, in __init__
    mcss_dir = find_mcss_dir()
  File "C:\Users\wroy\AppData\Local\Programs\Python\Python38\lib\site-packages\poxy-0.7.1-py3.8.egg\poxy\utils.py", line 149, in find_mcss_dir
    assert_existing_directory(_mcss_dir)
  File "C:\Users\wroy\AppData\Local\Programs\Python\Python38\lib\site-packages\misk\functions.py", line 150, in assert_existing_directory
    raise Exception(f'{path} did not exist or was not a directory')
Exception: C:\Users\wroy\AppData\Local\Programs\Python\Python38\Lib\site-packages\poxy-0.7.1-py3.8.egg\poxy\data\m.css did not exist or was not a directory

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
marzercommented, Sep 26, 2022

So the solution I went with was to add another ‘hidden’ developer command --update_mcss <path>, the idea being that instead of the copying and file fitering happening during setup.py every release, it’s done as necessary when iterating on anything m.css related. I’ll write up some better notes at some point soon (the elusive CONTRIBUTING.md)

1reaction
marzercommented, Sep 26, 2022

Nah it’s alright, I’m currently working on a much more kill-a-fly-with-a-sledgehammer solution 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

git config proxy for a project with submodules - Stack Overflow
I currently get around this by manually setting the proxy. Can I configure git to remember the proxy on a folder level?
Read more >
Proxy settings required to be appended into git submodule
After MISP installation proxy settings required to be appended into each git submodule under ".git/config" file manually for MISP update to ...
Read more >
How to update Git submodules - TheServerSide.com
Issue a git submodule update –remote command. Add any new files pulled from the repository to the Git index.
Read more >
http.proxy seems to not be propagated on `submodule update`
Hello, I'm trying to recursively update submodules in a repo on a server that requires a proxy to access the internet.
Read more >
Using Git submodules with GitLab CI/CD
This error can happen in a job when working with submodules and the GIT_STRATEGY is set to fetch . Setting the GIT_STRATEGY to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found