Open shreyasubale opened 10 years ago
Hi shreyasubale,
Difficult to know without knowing a bit more about your setup!
What browser platform are you trying to build for?
What operating system are you running?
Have you followed the setup instructions at https://github.com/trigger-corp/browser-extensions/blob/master/README.md ?
Can you also enable verbose mode for the build command and send the logs, e.g.
forge-extension build
Thanks! Antoine
I am trying to build it on Ubuntu 13.10 , I have made sure that i follow all the steps.
Here is my output , its coming while i build the extension
forge-extension create -v test Traceback (most recent call last): File "/home/shreyas/.virtualenvs/ext/bin/forge-extension", line 9, in
I have the same problem with
forge-extension create -v
under Windows 8
Traceback (most recent call last):
File "c:\python27\scripts\forge-extension-script.py", line 9, in <module>
load_entry_point('generate==1.0', 'console_scripts', 'forge-extension')()
File "build\bdist.win32\egg\pkg_resources.py", line 351, in load_entry_point
File "build\bdist.win32\egg\pkg_resources.py", line 2363, in load_entry_point
File "build\bdist.win32\egg\pkg_resources.py", line 2088, in load
File "c:\users\jochen\documents\github\browser-extensions.git\generate\build_tools\main.py", line 21, in <module>
from forge import build_config, defaults, ForgeError
File "c:\users\jochen\documents\github\browser-extensions.git\generate\build_tools\forge\build_config.py", line 7, in
<module>
import forge
ImportError: No module named forge
Did anyone solve this issue..i am also stuck over here only.
I had the exact same problem on an Ubuntu VM running in VirtualBox. I had limited space left in the partition, so when going through the installation steps i kept getting warnings about no disk space left, which seems to corrupt the installation. I built a new VM with 16Gigs of space and the installation steps ran successfully and i was able to start building extensions in no time!. Hopefully this ill help you out.
Python imports aren't my specialty, but here goes. .\browser-extension\generate\build_tools\main.py is trying to import 'forge' and it expects the subdirectory (with the init .py) to satisfy that. The subdirectory is there (on my machine at least) and the init .py is exactly where I would expect it, but forge-extension ain't seeing it.
Adding the full path to the build_tools directory to the environment variable PYTHONPATH seems to have solved this.
PYTHONPATH = C:\Users
I am trying to build browser extension , but the forge module is not found. Perhaps i am doing something wrong here. Can you please help ?