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
Labels
Milestone

Comments

@ceuti
Copy link

@ceuti 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

This comment has been minimized.

Copy link
Author

@ceuti 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

This comment has been minimized.

Copy link
Member

@ivankravets ivankravets commented Nov 17, 2019

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

This comment has been minimized.

Copy link
Author

@ceuti 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

This comment has been minimized.

Copy link
Member

@ivankravets ivankravets commented Nov 25, 2019

Could you provide a simple project to reproduce this issue?

@ivankravets

This comment has been minimized.

Copy link
Member

@ivankravets ivankravets commented Dec 2, 2019

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

@ceuti

This comment has been minimized.

Copy link
Author

@ceuti 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

This comment has been minimized.

Copy link
Member

@ivankravets ivankravets commented Dec 24, 2019

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
3 participants
You can’t perform that action at this time.