pycycle icon indicating copy to clipboard operation
pycycle copied to clipboard

cycle found but no chain printed

Open DanLipsitt opened this issue 6 years ago • 24 comments

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.

DanLipsitt avatar Aug 11 '17 19:08 DanLipsitt

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.

rajkumarcs545 avatar Aug 15 '17 17:08 rajkumarcs545

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

TarAldarion avatar Sep 21 '17 10:09 TarAldarion

Same issue

raoulfriedrich avatar Nov 22 '17 10:11 raoulfriedrich

Same here

jiujitsu avatar Dec 03 '17 22:12 jiujitsu

Same

conejoo avatar Dec 13 '17 22:12 conejoo

Same

gma2th avatar Jan 09 '18 06:01 gma2th

Same

michaelgrahamevans avatar Jan 25 '18 15:01 michaelgrahamevans

Same

stefanJi avatar Feb 05 '18 02:02 stefanJi

Same

ashwinrrao avatar Feb 26 '18 07:02 ashwinrrao

I created a new pull request that will fix this.

fzhcary avatar Apr 23 '18 14:04 fzhcary

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

`

ClimenteA avatar Jun 29 '18 09:06 ClimenteA

@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

ckot avatar Sep 07 '18 15:09 ckot

Same issue... and this project seems abandoned

aysark avatar Sep 25 '18 02:09 aysark

Same issue :(

bnorquist avatar Nov 28 '18 19:11 bnorquist

Same issue

hassaanuah avatar May 17 '19 14:05 hassaanuah

same issue

lucaboulard avatar May 20 '20 08:05 lucaboulard

Same issue

jkatofsky avatar Jul 24 '20 19:07 jkatofsky

same issue

SergioRMeli avatar Sep 15 '20 20:09 SergioRMeli

same here

panoskaragia avatar Feb 28 '21 10:02 panoskaragia

Similar problem!

davzaman avatar Mar 04 '21 08:03 davzaman

Similar problem here

lifetheater57 avatar Apr 08 '21 17:04 lifetheater57

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

neprune avatar Aug 18 '21 15:08 neprune

Looks dead 😦 . Also looking for an alternative.

michaellee1 avatar Aug 30 '21 18:08 michaellee1

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

Finished.

thiagocrepaldi avatar Apr 12 '23 17:04 thiagocrepaldi