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

Import of non-existent variable ''projenv'' #3315

Closed
ceuti opened this issue Nov 17, 2019 · 7 comments
Closed

Import of non-existent variable ''projenv'' #3315

ceuti opened this issue Nov 17, 2019 · 7 comments

Comments

@ceuti
Copy link

ceuti commented Nov 17, 2019

PIO Core Call Error: "The current working directory C:\Users\Pedro\Documents\PlatformIO\Projects\191117-053108-counter will be used for the project.\n\r\nThe next files/directories have been created in C:\Users\Pedro\Documents\PlatformIO\Projects\191117-053108-counter\ninclude - Put project header files here\nlib - Put here project specific (private) libraries\nsrc - Put project source files here\nplatformio.ini - Project Configuration File\n\n\nError: Processing icestick (platform: lattice_ice40; board: icestick)\n-------------------------------------------------------------------------------\nCorePackageManager: Installing tool-scons @ ~2.20501.7\ntool-scons @ 2.20501.190826 has been successfully installed!\nVerbose mode can be enabled via -v, --verbose option\n\n*** Import of non-existent variable ''projenv''\nFile "C:\Users\Pedro\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 191, in \n========================= [FAILED] Took 4.07 seconds ========================="

@ceuti
Copy link
Author

ceuti commented Nov 17, 2019

And when i try to upload a project to ICEZUM ALHAMBRA I, i get this message that it can foud .bilf file

@ivankravets
Copy link
Member

Do you use the latest PlatformIO Core 4.1? Please run "PlatformIO icon (Left Sidebar) > Misc > Upgrade PlatformIO Core". Restart Windows. Does it work now?

@ivankravets ivankravets changed the title Could not import project Import of non-existent variable ''projenv'' Nov 17, 2019
@ceuti
Copy link
Author

ceuti commented Nov 17, 2019

Yes i do. I get other message
PIO Core v4.1.0 is used (previous was 4.1.1b1)\r\nPlease remove multiple PIO Cores from a system:\r\nhttps://docs.platformio.org/page/faq.html#multiple-pio-cores-in-a-system\r\n
and i dont know that i have to do

@ivankravets
Copy link
Member

Could you provide a simple project to reproduce this issue?

@ivankravets
Copy link
Member

@guitarrista672f do you use the latest PlatformIO Core? I've just tried to create a new project and can't reproduce this issue.

@ceuti
Copy link
Author

ceuti commented Dec 12, 2019

Hi again. Sorry for delay answering.
When i try to open a simple project to ICE ZUM ALHAMBRA i get this message
PIO Core Call Error: "The current working directory C:\Users\Pedro\Documents\PlatformIO\Projects\project1 will be used for the project.\n\r\nThe next files/directories have been created in C:\Users\Pedro\Documents\PlatformIO\Projects\project1\ninclude - Put project header files here\nlib - Put here project specific (private) libraries\nsrc - Put project source files here\nplatformio.ini - Project Configuration File\nPlatformManager: Installing lattice_ice40\nlattice_ice40 @ 1.2.2 has been successfully installed!\nPackageManager: Installing toolchain-icestorm @ ~1.10.0\r\ntoolchain-icestorm @ 1.10.1 has been successfully installed!\nPackageManager: Installing toolchain-iverilog @ ~1.1.0\r\ntoolchain-iverilog @ 1.1.0 has been successfully installed!\nThe platform 'lattice_ice40' has been successfully installed!\r\nThe rest of packages will be installed automatically depending on your build environment.\r\n\n\nError: Processing icezum (platform: lattice_ice40; board: icezum)\n-------------------------------------------------------------------------------\nCorePackageManager: Installing tool-scons @ ~2.20501.7\ntool-scons @ 2.20501.190826 has been successfully installed!\nVerbose mode can be enabled via -v, --verbose option\n---> WARNING: no .pcf file found\n\n*** Import of non-existent variable ''projenv''\nFile "C:\Users\Pedro\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 191, in \n========================= [FAILED] Took 12.46 seconds ========================="

@ivankravets ivankravets transferred this issue from platformio/platformio-home Dec 21, 2019
@ivankravets ivankravets transferred this issue from platformio/platform-lattice_ice40 Dec 24, 2019
@ivankravets ivankravets added this to the 4.1.1 milestone Dec 24, 2019
@ivankravets
Copy link
Member

Thanks! Please re-test with pio upgrade --dev

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

No branches or pull requests

3 participants