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.

0 imported (something with paths)

See original GitHub issue

I have a problem with import:

Done importing, processed 0 items. Reload this page to refresh the groups.

I tried by artisan console and web. I had no problems with barryvdh library.

I tried figure out and i found problem with:

if (!$isUnderBaseDir) break;

Dump: dump($prefix, $this->normalized_base_path);

“C:/laragon/www/shop” “/laragon/www/shop/resources/lang”

For now i use ugly hack: $this->normalized_base_path = str_replace('C:', '', $this->normalized_base_path); and generally works.

Any suggestions?

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
vschcommented, Oct 15, 2018

@mgralikowski, I released fixes for table prefix and drive letter removal from normalized base path.

0reactions
vschcommented, Jan 25, 2019

@Fluxlicious, version 2.5.20 patched and released.

Read more comments on GitHub >

github_iconTop Results From Across the Web

PEP8 – import not at top of file with sys.path - Stack Overflow
Problem. PEP8 has a rule about putting imports at the top of a file: Imports are always put at the top of the...
Read more >
nrwl/node:lib won't resolve tsconfig path aliases · Issue #7123
Current Behavior I am using path aliases in tsconfig.json in my generated @nrwl/node:lib. ... import something from '@test' ...
Read more >
5. The import system — Python 3.11.1 documentation
Some meta path finders only support top level imports. These importers will always return None when anything other than None is passed as...
Read more >
Python path — Clawpack 5.5.0 documentation
The Python command import clawpack searches through all directories in this path looking for the first one that contains a subdirectory named clawpack ......
Read more >
Check and add the module search path with sys.path in Python
In Python, the list of directories searched when importing modules and packages with import , the module search path, is stored in sys.path...
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