Revision history [back]
How does an instance of Askbot know where its core files are?
I made the mistake of assuming that I would be able to migrate up to the newest version of Askbot. I ran into issues. I cloned the Git repository into /Users/Bryan/work/delete_askbot and checked out the the Revision that was working and trying to use the fixtures I had created before I migrated so I can test the migration.
My askbot instance keeps trying to use the original path:
/Users/Bryan/work/askbot-discussion
The original instance was at:
/Users/Bryan/work/askbot-discussion/askbotBeast
The instance I'm trying to work revert back to the earlier with is:
/Users/Bryan/work/delete_askbot/askbotBeast
Here's the Python Path for the temporary instance of Askbot:
In [8]: sys.path
Out[8]:
['/Users/Bryan/work/delete_askbot/askbotBeast',
'/Users/Bryan/work/askbot-discussion',
'/Users/Bryan/work/delete_askbot/askbotBeast',
'/Users/Bryan/work/askbot-discussion/askbot/deps',]
Where is '/Users/Bryan/work/askbot-discussion' added to the Python path?
How does an instance of Askbot know where its core files are?
I made the mistake of assuming that I would be able to migrate up to the newest version of Askbot. I ran into issues. I cloned the Git repository into /Users/Bryan/work/delete_askbot and checked out the the Revision that was working and trying to use the fixtures I had created before I migrated so I can test the migration.
My askbot instance keeps trying to use the original path:
/Users/Bryan/work/askbot-discussion
The original instance was at:
/Users/Bryan/work/askbot-discussion/askbotBeast
The instance I'm trying to work revert back to the earlier with is:
/Users/Bryan/work/delete_askbot/askbotBeast
Here's the Python Path for the temporary instance of Askbot: Path:
In [8]: sys.path
Out[8]:
['/Users/Bryan/work/delete_askbot/askbotBeast',
'/Users/Bryan/work/askbot-discussion',
'/Users/Bryan/work/delete_askbot/askbotBeast',
'/Users/Bryan/work/askbot-discussion/askbot/deps',]
Where is '/Users/Bryan/work/askbot-discussion' added to the Python path?
How does an instance of Askbot know where its it's core files are?
I made the mistake of assuming that I would be able to migrate up to the newest version of Askbot. I ran into issues. I cloned the Git repository into /Users/Bryan/work/delete_askbot and checked out the the Revision that was working and trying to use the fixtures I had created before I migrated so I can test the migration.
My askbot instance keeps trying to use the original path:
/Users/Bryan/work/askbot-discussion
The original instance was at:
/Users/Bryan/work/askbot-discussion/askbotBeast
The instance I'm trying to work revert back to the earlier with is:
/Users/Bryan/work/delete_askbot/askbotBeast
Here's the Python Path:
In [8]: sys.path
Out[8]:
['/Users/Bryan/work/delete_askbot/askbotBeast',
'/Users/Bryan/work/askbot-discussion',
'/Users/Bryan/work/delete_askbot/askbotBeast',
'/Users/Bryan/work/askbot-discussion/askbot/deps',]
Where is '/Users/Bryan/work/askbot-discussion' added to the Python path?