Skip to content
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

cycle found but no chain printed #6

Open
DanLipsitt opened this issue Aug 11, 2017 · 24 comments
Open

cycle found but no chain printed #6

DanLipsitt opened this issue Aug 11, 2017 · 24 comments

Comments

@DanLipsitt
Copy link

To reproduce:

$ mktmpenv
$ pip install openhtf==1.1.0
$ pycycle --source $VIRTUAL_ENV/lib/python2.7/site-packages/openhtf/plugs/usb/
Target source provided: ~/.virtualenvs/tmp-887cd3b8666bd584/lib/python2.7/site-packages/openhtf/plugs/usb
Project successfully transformed to AST, checking imports for cycles..
Cycle Found :(

Finished.
@rajkumarcs545
Copy link

I have faced the above issue, when i ran it on codebase it reported cycle found, but did not show the cyclic path, so please resolve this issue asap.

@TarAldarion
Copy link

Just installed this and ran it, same problem, says cycle found not not what it is.

@raoulfriedrich
Copy link

Same issue

@jiujitsu
Copy link

jiujitsu commented Dec 3, 2017

Same here

@conejoo
Copy link

conejoo commented Dec 13, 2017

Same

4 similar comments
@gma2th
Copy link

gma2th commented Jan 9, 2018

Same

@michaelgrahamevans
Copy link

Same

@stefanJi
Copy link

stefanJi commented Feb 5, 2018

Same

@ashwinrrao
Copy link

Same

@fzhcary
Copy link

fzhcary commented Apr 23, 2018

I created a new pull request that will fix this.

@ClimenteA
Copy link

ClimenteA commented Jun 29, 2018

Same for me to.. I don't understand why.. I put all the functions in one file and still get weird errors

UPDATE
Manage to solve the circular imports after a long research on SO..
I made a package and for each object I placed the absolute imports that object needed to run within the object that's running.
Something like:

`
def func():
from package.folder.module import object
result = object(param)
return result

`

@ckot
Copy link

ckot commented Sep 7, 2018

@fzhcary I noticed that your pull request failed for python2.6, python3.3 (both which are past end-of-life), and python3.7-dev (probably should be python3.7 now). I'd submit a PR of the .travis.yml, but I have no if travis.org properly handles things when it's the .travis.yml itself which is part of the PR

@aysark
Copy link

aysark commented Sep 25, 2018

Same issue... and this project seems abandoned

@bnorquist
Copy link

Same issue :(

@hassaanuah
Copy link

Same issue

@lucaboulard
Copy link

same issue

@jkatofsky
Copy link

Same issue

@SergioRMeli
Copy link

same issue

@panoskaragia
Copy link

same here

@davzaman
Copy link

davzaman commented Mar 4, 2021

Similar problem!

@lifetheater57
Copy link

Similar problem here

@neprune
Copy link

neprune commented Aug 18, 2021

Exact same issue, looks like this is dead - anyone know of alternative projects?

@michaellee1
Copy link

Looks dead 😦 . Also looking for an alternative.

@thiagocrepaldi
Copy link

Project successfully transformed to AST, checking imports for cycles..
Cycle Found :(

Finished.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests