132
Hello,
I installed the mysticbb forum mpy and I'm getting the following error:
PYTHON ERROR (mysticbb.mpy) File "mysticbb.mpy", line 71, in <module> ImportError: No module named mysticbb_cfg
Python environment variables may need to be set, see Wiki for details
On 07 Jan 2021, HSM said the following...
132
Hello,
I installed the mysticbb forum mpy and I'm getting the following erro
PYTHON ERROR (mysticbb.mpy) File "mysticbb.mpy", line 71, in <module ImportError: No module named mysticbb_cfg
Python environment variables may need to be set, see Wiki for details
Which version of Python are you running? What OS are you running
your Mystic installation from?
PYTHON ERROR (mysticbb.mpy) File "mysticbb.mpy", line 71, in <module> ImportError: No module named mysticbb_cfg
PYTHON ERROR (mysticbb.mpy) File "mysticbb.mpy", line 71, in <module ImportError: No module named mysticbb_cfg
It's looking for the configuration file... it should be inside the mysticbbdirectory. Check to see if there is one or it's missing... it shouldn't causeit's in the package.
If that's not the problem, check lines 8 and 9, it should be exactly
like this:datadir = getcfg()['script']+'mysticbb'+os.sep sys.path.append(datadir)
...and of course check if you have a mysticbb directory inside your scriptsdirectory, in case you only unzipped the root files of the
package.
Everything is where it's supposed to be.
I'm sure it's related, but on my Mystic setup (Ubuntu 20.04) I have to use full paths or stuff doesn't
For example, when I run the mysticbb.mpy I have to specify the full path mystic/themes/default/scripts/mysticbb or it doesn't work at
Can I hard code the location of the mysticbb_cfg file?
Hello,
I installed the mysticbb forum mpy and I'm getting the following error:
PYTHON ERROR (mysticbb.mpy) File "mysticbb.mpy", line 71, in <module> ImportError: No module named mysticbb_cfg
Python environment variables may need to be set, see Wiki for details
Suggestions?
I installed the mysticbb forum mpy and I'm getting the following error: HS>>
PYTHON ERROR (mysticbb.mpy) File "mysticbb.mpy", line 71, in <module> HS>> ImportError: No module named mysticbb_cfg
Python environment variables may need to be set, see Wiki for details
Suggestions?
Hi, me again.
Still trying to get this working. I have since migrated from Ubuntu to Win10(32) and I still get the "File mysticbb.mpy, line 71..." error.
Python evironment variables are set. Not sure what's wrong.
Am 23.03.21 schrieb HSM@21:2/162 in FSX_BBS:
Hallo Hsm,
I don't know it either, but the error message says that it's missing a module named "mysticbb_cfg".I installed the mysticbb forum mpy and I'm getting the following erro HS>>
PYTHON ERROR (mysticbb.mpy) File "mysticbb.mpy", line 71, in <module HS>> ImportError: No module named mysticbb_cfg
Do you have such a file, eg. "mysticbb_cfg.py" or "mysticbb_cfg.mpy" or something like that?
PYTHON ERROR (mysticbb.mpy) File "mysticbb.mpy", line 71, in <module ImportError: No module named mysticbb_cfg
Sysop: | Gary Ailes |
---|---|
Location: | Pittsburgh, PA |
Users: | 132 |
Nodes: | 5 (0 / 5) |
Uptime: | 109:45:05 |
Calls: | 733 |
Files: | 2,171 |
Messages: | 81,483 |